Class MetaModuleSection
- java.lang.Object
-
- net.anotheria.asg.generator.view.meta.MetaSection
-
- net.anotheria.asg.generator.view.meta.MetaModuleSection
-
- All Implemented Interfaces:
IGenerateable
public class MetaModuleSection extends MetaSection
A MetaSection which is tied to a module and a document.- Version:
- $Id: $Id
- Author:
- another
-
-
Constructor Summary
Constructors Constructor Description MetaModuleSection(java.lang.String title)Creates a new MetaModuleSection with the given title.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDialog(MetaDialog d)Adds dialog.voidaddElement(MetaViewElement element)Adds element to view.voidaddMetaFilter(MetaFilter aFilter)Adds filter in the view part of this section.booleancontainsComparable()containsComparable.booleanequals(java.lang.Object o)MetaViewElementgetDefaultSortable()Getter for the fielddefaultSortable.java.util.List<MetaDialog>getDialogs()Getter for the fielddialogs.MetaDocumentgetDocument()Getter for the fielddocument.java.util.List<MetaViewElement>getElements()Getter for the fieldelements.java.util.List<MetaFilter>getFilters()Getter for the fieldfilters.MetaModulegetModule()Getter for the fieldmodule.booleanisValidatedOnSave()isValidatedOnSave.voidsetDefaultSortable(MetaViewElement element)Sets default sortable element.voidsetDialogs(java.util.List<MetaDialog> list)Sets dialogs.voidsetDocument(MetaDocument document)Setter for the fielddocument.voidsetElements(java.util.List<MetaViewElement> list)Sets elements to view.voidsetFilters(java.util.List<MetaFilter> filters)Sets filters in the view part of this section.voidsetModule(MetaModule module)Sets target module.java.lang.StringtoString()-
Methods inherited from class net.anotheria.asg.generator.view.meta.MetaSection
getTitle, hashCode
-
-
-
-
Method Detail
-
addDialog
public void addDialog(MetaDialog d)
Adds dialog.- Parameters:
d- dialog to add
-
getModule
public MetaModule getModule()
Getter for the field
module.- Returns:
- target module
-
setModule
public void setModule(MetaModule module)
Sets target module.- Parameters:
module- module to set
-
toString
public java.lang.String toString()
- Overrides:
toStringin classMetaSection
-
getDocument
public MetaDocument getDocument()
Getter for the field
document.- Returns:
- Returns the document.
-
setDocument
public void setDocument(MetaDocument document)
Setter for the field
document.- Parameters:
document- The document to set.
-
getElements
public java.util.List<MetaViewElement> getElements()
Getter for the field
elements.- Returns:
- elements of the view
-
setElements
public void setElements(java.util.List<MetaViewElement> list)
Sets elements to view.- Parameters:
list- elements
-
addElement
public void addElement(MetaViewElement element)
Adds element to view.- Parameters:
element- element to add
-
getDialogs
public java.util.List<MetaDialog> getDialogs()
Getter for the field
dialogs.- Returns:
- dialogs list
-
setDialogs
public void setDialogs(java.util.List<MetaDialog> list)
Sets dialogs.- Parameters:
list- dialogs to set
-
getDefaultSortable
public MetaViewElement getDefaultSortable()
Getter for the field
defaultSortable.- Returns:
- default sortable element
-
setDefaultSortable
public void setDefaultSortable(MetaViewElement element)
Sets default sortable element.- Parameters:
element- element to set
-
containsComparable
public boolean containsComparable()
containsComparable.
- Returns:
- a boolean.
-
addMetaFilter
public void addMetaFilter(MetaFilter aFilter)
Adds filter in the view part of this section.- Parameters:
aFilter- filter to add
-
getFilters
public java.util.List<MetaFilter> getFilters()
Getter for the field
filters.- Returns:
- filters in the view part of this section.
-
setFilters
public void setFilters(java.util.List<MetaFilter> filters)
Sets filters in the view part of this section.- Parameters:
filters- filter to set
-
isValidatedOnSave
public boolean isValidatedOnSave()
isValidatedOnSave.
- Returns:
- a boolean.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classMetaSection
-
-