Class MetaApplication

  • All Implemented Interfaces:
    java.io.Serializable

    public class MetaApplication
    extends MetaElement
    implements java.io.Serializable
    Author:
    Javier Paniza
    See Also:
    Serialized Form
    • Constructor Detail

      • MetaApplication

        public MetaApplication()
    • Method Detail

      • 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)
      • 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
      • 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