|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface represents a node's field type information object.
| Field Summary | |
static int |
STATE_PERSISTENT
|
static int |
STATE_SYSTEM
|
static int |
STATE_UNKNOWN
|
static int |
STATE_VIRTUAL
|
static int |
TYPE_BYTE
|
static int |
TYPE_DOUBLE
|
static int |
TYPE_FLOAT
|
static int |
TYPE_INTEGER
|
static int |
TYPE_LONG
|
static int |
TYPE_NODE
|
static int |
TYPE_STRING
|
static int |
TYPE_UNKNOWN
|
static int |
TYPE_XML
|
| Method Summary | |
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). |
| Field Detail |
public static final int STATE_VIRTUAL
public static final int STATE_PERSISTENT
public static final int STATE_SYSTEM
public static final int STATE_UNKNOWN
public static final int TYPE_STRING
public static final int TYPE_INTEGER
public static final int TYPE_BYTE
public static final int TYPE_FLOAT
public static final int TYPE_DOUBLE
public static final int TYPE_LONG
public static final int TYPE_XML
public static final int TYPE_NODE
public static final int TYPE_UNKNOWN
| Method Detail |
public NodeManager getNodeManager()
public java.lang.String getName()
public java.lang.String getGUIType()
public java.lang.String getGUIName()
public java.lang.String getGUIName(java.util.Locale locale)
locale - the locale that determines the language for the GUI name
public java.lang.String getDescription()
public java.lang.String getDescription(java.util.Locale locale)
locale - the locale that determines the language for the description
public int getType()
int which identifies the type of data this field
containspublic int getState()
int which identifies the state of this fieldpublic boolean isRequired()
true if the field is requiredpublic boolean isUnique()
true if the field is part of a unique keypublic boolean hasIndex()
true if the field has a key definedpublic int getMaxLength()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||