Class MetaSelect


  • @Entity
    public class MetaSelect
    extends AuditableModel
    This object stores the selects.
    • Constructor Detail

      • MetaSelect

        public MetaSelect()
      • MetaSelect

        public MetaSelect​(String name)
    • Method Detail

      • setId

        public void setId​(Long id)
        Specified by:
        setId in class Model
      • getXmlId

        public String getXmlId()
      • setXmlId

        public void setXmlId​(String xmlId)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getPriority

        public Integer getPriority()
      • setPriority

        public void setPriority​(Integer priority)
      • getModule

        public String getModule()
      • setModule

        public void setModule​(String module)
      • addItem

        public void addItem​(MetaSelectItem item)
        Add the given MetaSelectItem item to the items collection.

        It sets item.select = this to ensure the proper relationship.

        Parameters:
        item - the item to add
      • removeItem

        public void removeItem​(MetaSelectItem item)
        Remove the given MetaSelectItem item from the items collection.
        Parameters:
        item - the item to remove
      • clearItems

        public void clearItems()
        Clear the items collection.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object