| org.mmbase.bridge.Descriptor
All known Subclasses: org.mmbase.core.AbstractDescriptor, org.mmbase.util.functions.DescribedFunctionProvider, org.mmbase.datatypes.BasicDataType,
Descriptor | public interface Descriptor (Code) | | XXX A descriptor does not describe. It has descriptions. Perhaps 'UserPresentable'?
since: MMBase-1.8 |
getDescription | public String getDescription(Locale locale)(Code) | | Returns the description of this object.
Parameters: locale - The locale for which this must be returned, or null for a default locale.If no fitting description for the given locale is available, getName() can be returned. the description as a String |
getDescription | public String getDescription()(Code) | | Returns the description of this object for the default locale.
the description as a String |
getGUIName | public String getGUIName()(Code) | | Returns the GUI name for this object.
the GUI name for this object |
getGUIName | public String getGUIName(Locale locale)(Code) | | Returns the GUI name for this object in a specified preferred language.
Parameters: locale - the locale that determines the language for the GUI name the GUI name for this object since: MMBase-1.7 |
getLocalizedDescription | public LocalizedString getLocalizedDescription()(Code) | | Returns the set of (localized) descriptions of this object.
the description as a LocalizedString |
getLocalizedGUIName | public LocalizedString getLocalizedGUIName()(Code) | | Returns the set of (localized) gui names of this object.
the description as a LocalizedString |
getName | public String getName()(Code) | | Returns the name or 'key' of this object, or null if not applicable.
the name as a String |
setDescription | public void setDescription(String description, Locale locale)(Code) | | Sets the description of this object.
Parameters: description - the description as a String Parameters: locale - The locale for which this is valid, or null for a default locale. |
setDescription | public void setDescription(String description)(Code) | | Sets the description of this object for the default locale.
Parameters: description - the description as a String |
setGUIName | public void setGUIName(String g, Locale locale)(Code) | | Sets the GUI name of this object.
Parameters: locale - The locale for which this is valid, or null for the default locale. Parameters: g - the description as a String |
setGUIName | public void setGUIName(String g)(Code) | | Sets the GUI name of this object for the default locale.
Parameters: g - the description as a String |
|
|