Class 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 Detail

      • MetaModuleSection

        public MetaModuleSection​(java.lang.String title)
        Creates a new MetaModuleSection with the given title.
        Parameters:
        title - a String object.
    • 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
      • 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:
        equals in class MetaSection