Package org.openxava.application.meta
Class MetaModule
- java.lang.Object
-
- org.openxava.util.meta.MetaElement
-
- org.openxava.application.meta.MetaModule
-
- All Implemented Interfaces:
java.io.Serializable
public class MetaModule extends MetaElement implements java.io.Serializable
- Author:
- Javier Paniza
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetaModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addControllerName(java.lang.String controller)
void
addEnvironmentVariable(java.lang.String name, java.lang.String value)
boolean
equals(java.lang.Object obj)
java.util.Collection<java.lang.String>
getControllersNames()
java.lang.String
getDescription(java.util.Locale locale, java.lang.String id)
java.lang.String
getDocLanguages()
java.lang.String
getDocURL()
Environment
getEnvironment()
java.lang.String
getFolder()
java.lang.String
getId()
Unique id of element, normally used to search the label in the resources files.protected java.lang.String
getLabel(java.util.Locale locale, java.lang.String id)
Implementation of label obtaining.MetaApplication
getMetaApplication()
MetaReport
getMetaReport()
java.lang.String
getModeControllerName()
java.lang.String
getModelName()
java.lang.String
getSwingViewClass()
java.lang.String
getTabName()
java.lang.String
getViewName()
java.lang.String
getWebViewURL()
int
hashCode()
boolean
isDoc()
void
setDocLanguages(java.lang.String docLanguages)
void
setDocURL(java.lang.String docURL)
void
setFolder(java.lang.String folder)
void
setMetaApplication(MetaApplication application)
void
setMetaReport(MetaReport metaReport)
void
setModeControllerName(java.lang.String string)
void
setModelName(java.lang.String modelName)
void
setSwingViewClass(java.lang.String swingViewClass)
void
setTabName(java.lang.String string)
void
setViewName(java.lang.String viewName)
void
setWebViewURL(java.lang.String string)
java.lang.String
toString()
-
Methods inherited from class org.openxava.util.meta.MetaElement
getDescription, getDescription, getDescription, getLabel, getLabel, getLabel, getLocale, getName, getPlaceholder, getPlaceholder, getPlaceholder, has18nLabel, hasName, setDescription, setLabel, setName, setPlaceholder
-
-
-
-
Method Detail
-
getModelName
public java.lang.String getModelName()
-
setModelName
public void setModelName(java.lang.String modelName)
-
getMetaApplication
public MetaApplication getMetaApplication()
-
setMetaApplication
public void setMetaApplication(MetaApplication application)
-
getControllersNames
public java.util.Collection<java.lang.String> getControllersNames()
-
addControllerName
public void addControllerName(java.lang.String controller)
-
getSwingViewClass
public java.lang.String getSwingViewClass()
-
setSwingViewClass
public void setSwingViewClass(java.lang.String swingViewClass)
-
getMetaReport
public MetaReport getMetaReport()
-
setMetaReport
public void setMetaReport(MetaReport metaReport)
-
getViewName
public java.lang.String getViewName()
-
setViewName
public void setViewName(java.lang.String viewName)
-
getTabName
public java.lang.String getTabName()
-
setTabName
public void setTabName(java.lang.String string)
-
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 classMetaElement
-
getLabel
protected java.lang.String getLabel(java.util.Locale locale, java.lang.String id)
Description copied from class:MetaElement
Implementation of label obtaining.- Overrides:
getLabel
in classMetaElement
-
getDescription
public java.lang.String getDescription(java.util.Locale locale, java.lang.String id)
- Overrides:
getDescription
in classMetaElement
-
getModeControllerName
public java.lang.String getModeControllerName()
-
setModeControllerName
public void setModeControllerName(java.lang.String string)
-
getWebViewURL
public java.lang.String getWebViewURL()
-
setWebViewURL
public void setWebViewURL(java.lang.String string)
-
getEnvironment
public Environment getEnvironment()
-
addEnvironmentVariable
public void addEnvironmentVariable(java.lang.String name, java.lang.String value)
-
isDoc
public boolean isDoc()
-
getDocURL
public java.lang.String getDocURL()
-
setDocURL
public void setDocURL(java.lang.String docURL)
-
getDocLanguages
public java.lang.String getDocLanguages()
-
setDocLanguages
public void setDocLanguages(java.lang.String docLanguages)
-
getFolder
public java.lang.String getFolder()
-
setFolder
public void setFolder(java.lang.String folder)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-