|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.bridge.implementation.BasicField
| Field Summary |
| Fields inherited from interface org.mmbase.bridge.Field |
STATE_PERSISTENT, STATE_SYSTEM, STATE_UNKNOWN, STATE_VIRTUAL, TYPE_BYTE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INTEGER, TYPE_LONG, TYPE_NODE, TYPE_STRING, TYPE_UNKNOWN, TYPE_XML |
| Method Summary | |
int |
compareTo(java.lang.Object o)
Compares this field to the passed object. |
boolean |
equals(java.lang.Object o)
Compares this field to the passed object, and returns true if they are equal. |
java.lang.String |
getDescription()
Returns the description for this field. |
java.lang.String |
getDescription(java.util.Locale locale)
Returns the description for this field in a specified preferred language. |
java.lang.String |
getGUIName()
Returns the GUI name for this field. |
java.lang.String |
getGUIName(java.util.Locale locale)
Returns the GUI name for this field in a specified preferred language. |
java.lang.String |
getGUIType()
Returns the GUI name for the data type this field contains. |
int |
getMaxLength()
Returns the maximum length of data this field can contain. |
java.lang.String |
getName()
Returns the name of this field. |
NodeManager |
getNodeManager()
Returns the node manager this field belongs to. |
int |
getState()
Returns this field's state identifier. |
int |
getType()
Returns the identifier for the data type this field contains. |
boolean |
hasIndex()
Returns whether this field is a key field, meaning that the storage layer should define an index for it, allowing optimization with search and sort actions. |
boolean |
isRequired()
Returns whether this field is required (should have content). |
boolean |
isUnique()
Returns whether this field is part of a unique key (a set of fields whose combined content should occur only once). |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public NodeManager getNodeManager()
Field
getNodeManager in interface Fieldpublic java.lang.String getName()
Field
getName in interface Fieldpublic java.lang.String getGUIType()
Field
getGUIType in interface Fieldpublic java.lang.String getGUIName()
Field
getGUIName in interface Fieldpublic java.lang.String getGUIName(java.util.Locale locale)
Field
getGUIName in interface Fieldlocale - the locale that determines the language for the GUI name
public java.lang.String getDescription()
Field
getDescription in interface Fieldpublic java.lang.String getDescription(java.util.Locale locale)
Field
getDescription in interface Fieldlocale - the locale that determines the language for the description
public int getType()
Field
getType in interface Fieldint which identifies the type of data this field
containspublic int getState()
Field
getState in interface Fieldint which identifies the state of this fieldpublic int getMaxLength()
Field
getMaxLength in interface Fieldpublic boolean isRequired()
Field
isRequired in interface Fieldtrue if the field is requiredpublic boolean isUnique()
Field
isUnique in interface Fieldtrue if the field is part of a unique keypublic boolean hasIndex()
Field
hasIndex in interface Fieldtrue if the field has a key definedpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - the object to compare it withpublic boolean equals(java.lang.Object o)
o - the object to compare it with
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||