Package org.openxava.util.meta
Class MetaElement
java.lang.Object
org.openxava.util.meta.MetaElement
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MetaApplication,MetaController,MetaControllerElement,MetaMember,MetaModel,MetaModule,MetaView
- Author:
- Javier Paniza
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDescription(Locale locale) protected StringgetDescription(Locale locale, String id) getDescription(javax.servlet.ServletRequest request) abstract StringgetId()Unique id of element, normally used to search the label in the resources files.getLabel()For refine the label calculationprotected StringImplementation of label obtaining.getLabel(javax.servlet.ServletRequest request) protected LocalegetLocale(javax.servlet.ServletRequest request) getName()getPlaceholder(Locale locale) protected StringgetPlaceholder(Locale locale, String id) protected booleanprotected booleanhasName()voidsetDescription(String newDescription) voidvoidvoidsetPlaceholder(String placeholder)
-
Constructor Details
-
MetaElement
public MetaElement()
-
-
Method Details
-
has18nLabel
protected boolean has18nLabel() -
hasName
protected boolean hasName() -
getLabel
-
getLabel
-
getLocale
-
getLabel
For refine the label calculation -
getLabel
Implementation of label obtaining. -
getId
Unique id of element, normally used to search the label in the resources files. -
getName
- Returns:
- java.lang.String Not null
-
setLabel
-
setName
-
getDescription
-
getDescription
-
getDescription
-
getDescription
-
setDescription
-
getPlaceholder
-
getPlaceholder
-
getPlaceholder
-
setPlaceholder
-