public class RemoteField_Proxy extends MappedObject_Proxy<RemoteField> implements Field
STATE_PERSISTENT, STATE_SYSTEM, STATE_SYSTEM_VIRTUAL, STATE_UNKNOWN, STATE_VIRTUAL, TYPE_BINARY, TYPE_BOOLEAN, TYPE_BYTE, TYPE_DATETIME, TYPE_DECIMAL, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INTEGER, TYPE_LIST, TYPE_LONG, TYPE_NODE, TYPE_STRING, TYPE_UNKNOWN, TYPE_XML| Constructor and Description |
|---|
RemoteField_Proxy(RemoteField remoteObject) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Field arg0) |
DataType |
getDataType()
Returns the data type this field contains.
|
String |
getDescription()
Returns the description of this object for the default locale.
|
String |
getDescription(Locale arg0)
Returns the description of this object.
|
int |
getEditPosition()
Retrieve the position of the field when editing.
|
String |
getGUIName()
Returns the GUI name for this object.
|
String |
getGUIName(Locale arg0)
Returns the GUI name for this object in a specified preferred language.
|
String |
getGUIType()
Returns the GUI name for the data type this field contains.
|
int |
getListItemType()
If the type of this field is TYPE_LIST, this method returns the MMBase base type for the list elements.
|
int |
getListPosition()
Retrieve the position of the field when listing.
|
LocalizedString |
getLocalizedDescription()
Returns the set of (localized) descriptions of this object.
|
LocalizedString |
getLocalizedGUIName()
Returns the set of (localized) gui names of this object.
|
int |
getMaxLength()
Returns the maximum length of data this field can contain.
|
String |
getName()
Returns the name or 'key' of this object, or
null if not applicable. |
NodeManager |
getNodeManager()
Returns the node manager this field belongs to.
|
int |
getSearchPosition()
Retrieve the position of the field when searching.
|
int |
getState()
Returns this field's state identifier (virtual, persistent, system, systemvirtual).
|
int |
getStoragePosition()
Retrieve the position of the field in the database table.
|
int |
getType()
Returns the identifier for the MMBase base type for this field.
|
RemoteField |
getWrappedObject() |
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 |
isReadOnly()
Returns whether a field is 'read only' - that is, a user cannot edit it.
|
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).
|
boolean |
isVirtual()
A field's state is 'virtual' if it is not persistent in storage.
|
void |
setDescription(String arg0)
Sets the description of this object for the default locale.
|
void |
setDescription(String arg0,
Locale arg1)
Sets the description of this object.
|
void |
setGUIName(String arg0)
Sets the GUI name of this object for the default locale.
|
void |
setGUIName(String arg0,
Locale arg1)
Sets the GUI name of this object.
|
Collection<String> |
validate(Object arg0)
Checks whether a given value is valid for this field.
|
equals, getMapperCode, hashCode, toStringpublic RemoteField_Proxy(RemoteField remoteObject)
public NodeManager getNodeManager()
FieldgetNodeManager in interface Fieldpublic int getListItemType()
FieldgetListItemType in interface Fieldint which identifies the base typepublic int getSearchPosition()
FieldgetSearchPosition in interface Fieldpublic int getListPosition()
FieldgetListPosition in interface Fieldpublic int getEditPosition()
FieldgetEditPosition in interface Fieldpublic int getStoragePosition()
FieldgetStoragePosition in interface Fieldpublic String getGUIType()
FieldgetGUIType in interface FieldField.getDataType()public int getMaxLength()
FieldgetMaxLength in interface Fieldpublic DataType getDataType()
FieldgetDataType in interface FieldDataType object describing the constraints on this field.public boolean isRequired()
FieldisRequired in interface Fieldtrue if the field is requiredpublic boolean hasIndex()
Fieldpublic boolean isUnique()
Fieldpublic boolean isVirtual()
Fieldpublic Collection<String> validate(Object arg0)
Fieldpublic int getState()
Fieldpublic int getType()
FieldgetDataType.getBaseType() instead.public boolean isReadOnly()
FieldisReadOnly in interface Fieldtrue when a field is read onlypublic LocalizedString getLocalizedDescription()
DescriptorgetLocalizedDescription in interface Descriptorpublic LocalizedString getLocalizedGUIName()
DescriptorgetLocalizedGUIName in interface Descriptorpublic void setGUIName(String arg0, Locale arg1)
DescriptorsetGUIName in interface Descriptorarg0 - the description as a Stringarg1 - The locale for which this is valid, or null for the default locale.public void setGUIName(String arg0)
DescriptorsetGUIName in interface Descriptorarg0 - the description as a Stringpublic String getGUIName(Locale arg0)
DescriptorgetGUIName in interface Descriptorarg0 - the locale that determines the language for the GUI namepublic String getGUIName()
DescriptorgetGUIName in interface Descriptorpublic String getDescription()
DescriptorgetDescription in interface Descriptorpublic String getDescription(Locale arg0)
DescriptorgetDescription in interface Descriptorarg0 - The locale for which this must be returned, or null for a default locale.
If no fitting description for the given locale is available, getName() can be returned.public void setDescription(String arg0, Locale arg1)
DescriptorsetDescription in interface Descriptorarg0 - the description as a Stringarg1 - The locale for which this is valid, or null for a default locale.public void setDescription(String arg0)
DescriptorsetDescription in interface Descriptorarg0 - the description as a Stringpublic String getName()
Descriptornull if not applicable.getName in interface Descriptorpublic int compareTo(Field arg0)
compareTo in interface Comparable<Field>public RemoteField getWrappedObject()
getWrappedObject in interface MappedObjectgetWrappedObject in class MappedObject_Proxy<RemoteField>MMBase 1.9-SNAPSHOT - ${javadoctimestamp}