| java.lang.Object org.mmbase.core.AbstractDescriptor
All known Subclasses: org.mmbase.util.functions.Parameter, org.mmbase.datatypes.BasicDataType, org.mmbase.core.AbstractField,
AbstractDescriptor | abstract public class AbstractDescriptor implements Descriptor,Cloneable(Code) | | author: Pierre van Rooden since: MMBase-1.8 version: $Id: AbstractDescriptor.java,v 1.12 2007/02/24 21:57:50 nklasens Exp $ |
AbstractDescriptor | protected AbstractDescriptor()(Code) | | |
AbstractDescriptor | protected AbstractDescriptor(String name)(Code) | | Create a data type object
Parameters: name - the name of the data type |
AbstractDescriptor | protected AbstractDescriptor(String name, Descriptor descriptor, boolean cloneDataForRewrite)(Code) | | Create a data type object
Parameters: name - the name of the data type Parameters: descriptor - |
getDefaultLocale | protected Locale getDefaultLocale()(Code) | | The locale which must be used if no locale is specified.
The default implementation returns null .
This method can be overriden if another more logical default is
available. E.g. in BasicField the locale of the current cloud is returned.
since: MMBase-1.8.1 |
getGUIName | public String getGUIName(Locale locale)(Code) | | Retrieve the GUI name of the field depending on specified langauge.
If the language is not available, the "en" value is returned instead.
If that one is unavailable the internal fieldname is returned.
the GUI Name |
getGUIName | public String getGUIName()(Code) | | Retrieve the GUI name of the field.
If possible, the "en" value is returned.
If that one is unavailable the internal fieldname is returned.
the GUI Name |
getName | public String getName()(Code) | | Returns the name or 'key' of this descriptor.
the name as a String |
|
|