org.mmbase.bridge.util
Class VirtualNodeManagerField
java.lang.Object
org.mmbase.bridge.util.FieldWrapper
org.mmbase.bridge.util.VirtualNodeManagerField
- All Implemented Interfaces:
- Comparable<Field>, Descriptor, Field
public class VirtualNodeManagerField
- extends FieldWrapper
- Since:
- MMBase-2.0
| Fields inherited from interface org.mmbase.bridge.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 |
| Methods inherited from class org.mmbase.bridge.util.FieldWrapper |
getDataType, getDescription, getDescription, getEditPosition, getField, getGUIName, getGUIName, getGUIType, getListItemType, getListPosition, getLocalizedDescription, getLocalizedGUIName, getMaxLength, getSearchPosition, getStoragePosition, getType, hasIndex, isReadOnly, isRequired, isUnique, isVirtual, setDescription, setDescription, setGUIName, setGUIName, toString, validate |
VirtualNodeManagerField
public VirtualNodeManagerField(NodeManager nm,
Field field,
String name)
getNodeManager
public NodeManager getNodeManager()
- Description copied from interface:
Field
- Returns the node manager this field belongs to.
- Specified by:
getNodeManager in interface Field- Overrides:
getNodeManager in class FieldWrapper
- Returns:
- the node manager this field belongs to
getName
public String getName()
- Description copied from interface:
Descriptor
- Returns the name or 'key' of this object, or
null if not applicable.
- Specified by:
getName in interface Descriptor- Overrides:
getName in class FieldWrapper
- Returns:
- the name as a String
getState
public int getState()
- Description copied from interface:
Field
- Returns this field's state identifier (
Field.STATE_VIRTUAL, Field.STATE_PERSISTENT, Field.STATE_SYSTEM or
Field.STATE_SYSTEM_VIRTUAL, in errorneous sitations it may return Field.STATE_UNKNOWN)
- Specified by:
getState in interface Field- Overrides:
getState in class FieldWrapper
- Returns:
- an
int which identifies the state of this field - See Also:
Field.isReadOnly();
compareTo
public int compareTo(Field o)
- Specified by:
compareTo in interface Comparable<Field>- Overrides:
compareTo in class FieldWrapper
MMBase 2.0-SNAPSHOT - null