|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.core.AbstractDescriptor
org.mmbase.core.AbstractField
org.mmbase.bridge.implementation.BasicField
| Field Summary | |
protected CoreField |
coreField
|
| 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_DOUBLE, TYPE_FLOAT, TYPE_INTEGER, TYPE_LIST, TYPE_LONG, TYPE_NODE, TYPE_STRING, TYPE_UNKNOWN, TYPE_XML |
| Constructor Summary | |
BasicField(Field field,
NodeManager nodeManager)
|
|
| Method Summary | |
protected Locale |
getDefaultLocale()
The locale wihch must be used if no locale is specified . |
int |
getEditPosition()
Retrieve the position of the field when editing. |
String |
getGUIType()
Returns the GUI name for the data type this field contains. |
int |
getListPosition()
Retrieve the position of the field when listing. |
int |
getMaxLength()
Returns the maximum length of data this field can contain. |
NodeManager |
getNodeManager()
Returns the node manager this field belongs to. |
int |
getSearchPosition()
Retrieve the position of the field when searching. |
int |
getStoragePosition()
Retrieve the position of the field in the database table. |
Collection |
validate(Object value)
Checks whether a given value is valid for this field. |
| Methods inherited from class org.mmbase.core.AbstractField |
clone, clone, compareTo, equals, getDataType, getListItemType, getState, getType, hashCode, hasIndex, isReadOnly, isRequired, isTemporary, isUnique, isVirtual, setDataType, setState, toString |
| Methods inherited from class org.mmbase.core.AbstractDescriptor |
clone, 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.Field |
getDataType, getListItemType, getState, getType, hasIndex, isReadOnly, isRequired, isUnique, isVirtual |
| Methods inherited from interface org.mmbase.bridge.Descriptor |
getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName |
| Field Detail |
protected final CoreField coreField
| Constructor Detail |
public BasicField(Field field,
NodeManager nodeManager)
| Method Detail |
public NodeManager getNodeManager()
Field
getNodeManager in interface FieldgetNodeManager in class AbstractFieldpublic int getSearchPosition()
Field
getSearchPosition in interface FieldgetSearchPosition in class AbstractFieldpublic int getListPosition()
Field
getListPosition in interface FieldgetListPosition in class AbstractFieldpublic int getEditPosition()
Field
getEditPosition in interface FieldgetEditPosition in class AbstractFieldpublic int getStoragePosition()
Field
getStoragePosition in interface FieldgetStoragePosition in class AbstractFieldpublic Collection validate(Object value)
Field
validate in interface Fieldpublic int getMaxLength()
Field
getMaxLength in interface FieldgetMaxLength in class AbstractFieldprotected Locale getDefaultLocale()
AbstractDescriptornull for the
defaul of this. This method can be overriden if another more logical default is
available. E.g. in BasicField, where the locale of the current cloud is returned here.
getDefaultLocale in class AbstractDescriptorpublic String getGUIType()
Field
getGUIType in interface FieldgetGUIType in class AbstractField
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||