org.openxava.application.meta
Class MetaApplication
java.lang.Object
org.openxava.util.meta.MetaElement
org.openxava.application.meta.MetaApplication
- All Implemented Interfaces:
- java.io.Serializable
public class MetaApplication
- extends MetaElement
- implements java.io.Serializable
- Author:
- Javier Paniza
- See Also:
- Serialized Form
| Methods inherited from class org.openxava.util.meta.MetaElement |
firstLower, firstUpper, getDescription, getDescription, getDescription, getDescription, getLabel, getLabel, getLabel, getLocale, getName, has18nLabel, hasName, setDescription, setLabel, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MetaApplication
public MetaApplication()
addMetaModule
public void addMetaModule(MetaModule newModule)
- Parameters:
newModule - Not null
getFolderLabel
public java.lang.String getFolderLabel(java.util.Locale locale,
java.lang.String folder)
getFolderLabel
public java.lang.String getFolderLabel(java.lang.String folder)
getFolders
public java.util.Collection getFolders()
throws XavaException
- Throws:
XavaException
getMetaModules
public java.util.Collection getMetaModules()
throws XavaException
- Returns:
- of MetaModule. Not null.
- Throws:
XavaException - Any problem
getModulesNames
public java.util.Collection getModulesNames()
- In the same order that they are found in application.xml/aplicacion.xml.
- Returns:
- of String. Not null.
getModulesNamesByFolder
public java.util.Collection getModulesNamesByFolder(java.lang.String folder)
throws XavaException
- 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
public MetaModule getMetaModule(java.lang.String name)
throws ElementNotFoundException,
XavaException
- Throws:
ElementNotFoundException
XavaException
addControllerForDefaultModule
public void addControllerForDefaultModule(java.lang.String controllerName)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getId
public java.lang.String getId()
- Description copied from class:
MetaElement
- Unique id of element, normally used to search the label in the resources files.
- Specified by:
getId in class MetaElement