Package org.openxava.application.meta
Class MetaApplication
java.lang.Object
org.openxava.util.meta.MetaElement
org.openxava.application.meta.MetaApplication
- All Implemented Interfaces:
Serializable
- Author:
- Javier Paniza
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddControllerForDefaultModule(String controllerName) voidaddMetaModule(MetaModule newModule) getFolderLabel(String folder) getFolderLabel(Locale locale, String folder) getId()Unique id of element, normally used to search the label in the resources files.getMetaModule(String name) In the same order that they are found in application.xml/aplicacion.xml.getModulesNamesByFolder(String folder) The modules in the indicated folder in the same order that they are found in application.xml/aplicacion.xml.toString()Methods inherited from class org.openxava.util.meta.MetaElement
getDescription, getDescription, getDescription, getDescription, getLabel, getLabel, getLabel, getLabel, getLocale, getName, getPlaceholder, getPlaceholder, getPlaceholder, has18nLabel, hasName, setDescription, setLabel, setName, setPlaceholder
-
Constructor Details
-
MetaApplication
public MetaApplication()
-
-
Method Details
-
addMetaModule
- Parameters:
newModule- Not null
-
getFolderLabel
-
getFolderLabel
-
getFolders
- Throws:
XavaException
-
getMetaModules
- Returns:
- of MetaModule. Not null.
- Throws:
XavaException- Any problem
-
getModulesNames
In the same order that they are found in application.xml/aplicacion.xml.- Returns:
- of String. Not null.
-
getModulesNamesByFolder
The modules in the indicated folder in the same order that they are found in application.xml/aplicacion.xml.- Returns:
- of String. Not null.
- Throws:
XavaException
-
getMetaModule
-
addControllerForDefaultModule
-
toString
-
getId
Description copied from class:MetaElementUnique id of element, normally used to search the label in the resources files.- Specified by:
getIdin classMetaElement
-