Class MetaJsonModel

    • Constructor Detail

      • MetaJsonModel

        public MetaJsonModel()
      • MetaJsonModel

        public MetaJsonModel​(String name)
    • Method Detail

      • setId

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

        public String getName()
      • setName

        public void setName​(String name)
      • getTitle

        public String getTitle()
      • setTitle

        public void setTitle​(String title)
      • getOnNew

        public String getOnNew()
      • setOnNew

        public void setOnNew​(String onNew)
      • getOnSave

        public String getOnSave()
      • setOnSave

        public void setOnSave​(String onSave)
      • getNameField

        public String getNameField()
      • setNameField

        public void setNameField​(String nameField)
      • getFormWidth

        public String getFormWidth()
      • setFormWidth

        public void setFormWidth​(String formWidth)
      • getOrderBy

        public String getOrderBy()
      • setOrderBy

        public void setOrderBy​(String orderBy)
      • getGroupBy

        public String getGroupBy()
      • setGroupBy

        public void setGroupBy​(String groupBy)
      • setMenu

        public void setMenu​(MetaMenu menu)
      • getMenuParent

        public MetaMenu getMenuParent()
      • setMenuParent

        public void setMenuParent​(MetaMenu menuParent)
      • getMenuIcon

        public String getMenuIcon()
      • setMenuIcon

        public void setMenuIcon​(String menuIcon)
      • getMenuBackground

        public String getMenuBackground()
      • setMenuBackground

        public void setMenuBackground​(String menuBackground)
      • getMenuOrder

        public Integer getMenuOrder()
      • setMenuOrder

        public void setMenuOrder​(Integer menuOrder)
      • getMenuTitle

        public String getMenuTitle()
      • setMenuTitle

        public void setMenuTitle​(String menuTitle)
      • setAction

        public void setAction​(MetaAction action)
      • getGridView

        public MetaView getGridView()
      • setGridView

        public void setGridView​(MetaView gridView)
      • getFormView

        public MetaView getFormView()
      • setFormView

        public void setFormView​(MetaView formView)
      • addField

        public void addField​(MetaJsonField item)
        Add the given MetaJsonField item to the fields collection.

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

        Parameters:
        item - the item to add
      • removeField

        public void removeField​(MetaJsonField item)
        Remove the given MetaJsonField item from the fields collection.
        Parameters:
        item - the item to remove
      • clearFields

        public void clearFields()
        Clear the fields collection.
      • getRoles

        public Set<Role> getRoles()
      • setRoles

        public void setRoles​(Set<Role> roles)
      • addRole

        public void addRole​(Role item)
        Add the given Role item to the roles collection.
        Parameters:
        item - the item to add
      • removeRole

        public void removeRole​(Role item)
        Remove the given Role item from the roles collection.
        Parameters:
        item - the item to remove
      • clearRoles

        public void clearRoles()
        Clear the roles collection.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object