org.mmbase.bridge.mock
Class MockNodeManager.SystemField
java.lang.Object
org.mmbase.core.AbstractDescriptor
org.mmbase.core.AbstractField
org.mmbase.bridge.util.DataTypeField
org.mmbase.bridge.mock.MockNodeManager.SystemField
- All Implemented Interfaces:
- Cloneable, Comparable<Field>, Descriptor, Field, PublicCloneable<AbstractDescriptor>
- Enclosing class:
- MockNodeManager
protected class MockNodeManager.SystemField
- extends DataTypeField
| 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 |
|
Method Summary |
int |
getEditPosition()
Retrieve the position of the field when editing. |
boolean |
isReadOnly()
Returns whether a field is a read only. |
| Methods inherited from class org.mmbase.core.AbstractField |
clone, clone, compareTo, equals, getDataType, getListItemType, getState, getType, hashCode, hasIndex, isRequired, isTemporary, isUnique, isVirtual, setDataType, setState, toString |
| Methods inherited from class org.mmbase.core.AbstractDescriptor |
clone, getDefaultLocale, getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName, setLocalizedDescription, setLocalizedGUIName |
| Methods inherited from interface org.mmbase.bridge.Descriptor |
getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName |
MockNodeManager.SystemField
public MockNodeManager.SystemField(String name,
NodeManager nm,
DataType dt)
isReadOnly
public boolean isReadOnly()
- Description copied from class:
AbstractField
- Returns whether a field is a read only.
- Specified by:
isReadOnly in interface Field- Overrides:
isReadOnly in class DataTypeField
- Returns:
true when read only- See Also:
Field.isVirtual()
getEditPosition
public int getEditPosition()
- Description copied from interface:
Field
- Retrieve the position of the field when editing.
A value of -1 indicates the field cannot be edited.
- Specified by:
getEditPosition in interface Field- Overrides:
getEditPosition in class DataTypeField
- Returns:
- position of the field when editing
MMBase 2.0-SNAPSHOT - null