|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--arlut.csd.ganymede.FieldTemplate
This class is a serializable object used to return all the static information
the client's containerPanel
needs to render a specific kind of field. A FieldTemplate is basically a summary
of the information that can be retrieved through the BaseField
remote interface.
The FieldInfo object is used to return
the value information associated with an actual instance of a field.
| Field Summary | |
(package private) short |
allowedTarget
|
(package private) java.lang.String |
badChars
|
(package private) short |
baseID
|
(package private) boolean |
builtIn
|
(package private) java.lang.String |
comment
|
(package private) boolean |
crypted
|
(package private) boolean |
editInPlace
|
(package private) java.lang.String |
falseLabel
|
(package private) short |
fieldID
|
(package private) boolean |
labeled
|
(package private) short |
limit
|
(package private) short |
maxLength
|
(package private) boolean |
md5crypted
|
(package private) short |
minLength
|
(package private) boolean |
multiLine
|
(package private) java.lang.String |
name
|
(package private) java.lang.String |
okChars
|
(package private) java.lang.String |
regexpPat
|
(package private) static long |
serialVersionUID
|
(package private) java.lang.String |
trueLabel
|
(package private) short |
type
|
(package private) boolean |
vector
|
| Fields inherited from interface arlut.csd.ganymede.FieldType |
BOOLEAN, DATE, FIRSTFIELD, FLOAT, INVID, IP, LASTFIELD, NUMERIC, PASSWORD, PERMISSIONMATRIX, STRING |
| Constructor Summary | |
FieldTemplate(arlut.csd.ganymede.DBObjectBaseField fieldDef)
|
|
| Method Summary | |
java.lang.String |
getBadChars()
If this field is a STRING and a limited set of characters are not acceptable in this field, returns those characters. |
short |
getBaseID()
Returns the object type number for the object containing this field. |
java.lang.String |
getComment()
Returns a description of this field suitable for a tooltip. |
java.lang.String |
getFalseLabel()
If this field is a BOOLEAN and isLabeled() is true, returns the text to be associated with the false choice. |
short |
getID()
Returns the field number for this field. |
short |
getMaxLength()
If this field is a STRING, returns the maximum acceptable length for this field. |
short |
getMinLength()
If this field is a STRING, returns the minimum acceptable length for this field. |
java.lang.String |
getName()
Returns the name of this field. |
java.lang.String |
getOKChars()
If this field is a STRING and a limited set of characters are acceptable in this field, returns those characters. |
java.lang.String |
getRegexpPat()
If this field is a STRING and a regular expression has been set to limit acceptable strings in this field, returns the regexp patter string. |
short |
getTargetBase()
If this field is an INVID and is configured to point to an object of a certain type, returns the object type this field points to. This method will return a negative value if this field can point to objects of differing types. |
java.lang.String |
getTrueLabel()
If this field is a BOOLEAN and isLabeled() is true, returns the text to be associated with the true choice. |
short |
getType()
Returns a type identifier for this field. |
boolean |
isArray()
Returns true if this field is a vector. |
boolean |
isBoolean()
Returns true if this field is of boolean type |
boolean |
isBuiltIn()
Returns true if this field is one of the standard fields that are part of all objects held in the Ganymede server. |
boolean |
isCrypted()
If this field is a PASSWORD, returns true if passwords are stored in this field in UNIX Crypt() form. |
boolean |
isDate()
Returns true if this field is of date type |
boolean |
isEditInPlace()
If this field is an INVID, returns true if this field refers to an 'embedded' object. |
boolean |
isFloat()
Returns true if this field is of float type |
boolean |
isInvid()
Returns true if this field is of invid type |
boolean |
isIP()
Returns true if this field is of IP type |
boolean |
isLabeled()
If this field is a BOOLEAN, returns true if this field should be presented as a pair of radio boxes labeled by getTrueLabel() and getFalseLabel(). |
boolean |
isMD5Crypted()
If this field is a PASSWORD, returns true if passwords are stored in this field in BSD-style MD5Crypt() form. |
boolean |
isMultiLine()
If this field is a STRING and this field has been configured to be a multiline string field, this method will return true. |
boolean |
isNumeric()
Returns true if this field is of numeric type |
boolean |
isPassword()
Returns true if this field is of password type |
boolean |
isPermMatrix()
Returns true if this field is of permission matrix type |
boolean |
isString()
Returns true if this field is of string type |
java.lang.String |
toString()
debug instrumentation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
static final long serialVersionUID
java.lang.String name
java.lang.String comment
short type
short fieldID
boolean vector
short baseID
boolean builtIn
short limit
boolean labeled
java.lang.String trueLabel
java.lang.String falseLabel
short minLength
short maxLength
java.lang.String okChars
java.lang.String badChars
boolean multiLine
java.lang.String regexpPat
boolean editInPlace
short allowedTarget
boolean crypted
boolean md5crypted
| Constructor Detail |
public FieldTemplate(arlut.csd.ganymede.DBObjectBaseField fieldDef)
| Method Detail |
public short getType()
FieldTypepublic short getID()
public short getBaseID()
public java.lang.String getName()
public java.lang.String getComment()
public boolean isArray()
public boolean isBoolean()
BaseFieldpublic boolean isNumeric()
BaseFieldpublic boolean isDate()
BaseFieldpublic boolean isString()
BaseFieldpublic boolean isInvid()
BaseFieldpublic boolean isPermMatrix()
BaseFieldpublic boolean isPassword()
BaseFieldpublic boolean isIP()
BaseFieldpublic boolean isFloat()
BaseFieldpublic boolean isBuiltIn()
public boolean isLabeled()
public java.lang.String getTrueLabel()
public java.lang.String getFalseLabel()
public short getMinLength()
public short getMaxLength()
public java.lang.String getOKChars()
public java.lang.String getBadChars()
public java.lang.String getRegexpPat()
public boolean isMultiLine()
public boolean isEditInPlace()
public short getTargetBase()
public boolean isCrypted()
public boolean isMD5Crypted()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||