org.mmbase.bridge.mock
Class MockNodeManager.SystemField

java.lang.Object
  extended by org.mmbase.core.AbstractDescriptor
      extended by org.mmbase.core.AbstractField
          extended by org.mmbase.bridge.util.DataTypeField
              extended by 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


Field Summary
 
Fields inherited from class org.mmbase.bridge.util.DataTypeField
field, nodeManager
 
Fields inherited from class org.mmbase.core.AbstractField
dataType, listItemType, readOnly, state, type
 
Fields inherited from class org.mmbase.core.AbstractDescriptor
description, guiName, key
 
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
 
Constructor Summary
MockNodeManager.SystemField(String name, NodeManager nm, DataType dt)
           
 
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.bridge.util.DataTypeField
getGUIType, getListPosition, getMaxLength, getNodeManager, getSearchPosition, getStoragePosition, validate
 
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 class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mmbase.bridge.Descriptor
getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName
 

Constructor Detail

MockNodeManager.SystemField

public MockNodeManager.SystemField(String name,
                                   NodeManager nm,
                                   DataType dt)
Method Detail

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