public class MockField extends DataTypeField
field, nodeManagerdataType, listItemType, readOnly, state, typedescription, guiName, keySTATE_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 |
|---|
MockField(Field f,
DataType dt) |
MockField(NodeManager nm,
Field f) |
MockField(String n,
NodeManager nm,
DataType dt) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEditPosition()
Retrieve the position of the field when editing.
|
int |
getListPosition()
Retrieve the position of the field when listing.
|
int |
getSearchPosition()
Retrieve the position of the field when searching.
|
int |
getStoragePosition()
Retrieve the position of the field in the database table.
|
boolean |
isReadOnly()
Returns whether a field is a read only.
|
getGUIType, getMaxLength, getNodeManager, validateclone, clone, compareTo, equals, getDataType, getListItemType, getState, getType, hashCode, hasIndex, isRequired, isTemporary, isUnique, isVirtual, setDataType, setState, toStringclone, getDefaultLocale, getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName, setLocalizedDescription, setLocalizedGUINamefinalize, getClass, notify, notifyAll, wait, wait, waitgetDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUINamepublic MockField(NodeManager nm, Field f)
public MockField(String n, NodeManager nm, DataType dt)
public int getSearchPosition()
FieldgetSearchPosition in interface FieldgetSearchPosition in class DataTypeFieldpublic int getListPosition()
FieldgetListPosition in interface FieldgetListPosition in class DataTypeFieldpublic int getEditPosition()
FieldgetEditPosition in interface FieldgetEditPosition in class DataTypeFieldpublic int getStoragePosition()
FieldgetStoragePosition in interface FieldgetStoragePosition in class DataTypeFieldpublic boolean isReadOnly()
AbstractFieldisReadOnly in interface FieldisReadOnly in class DataTypeFieldtrue when read onlyField.isVirtual()MMBase 1.9-SNAPSHOT - ${javadoctimestamp}