Class MetaAttrs

java.lang.Object
com.axelor.db.Model
com.axelor.meta.db.MetaAttrs

@Entity public class MetaAttrs extends Model
  • Constructor Details

    • MetaAttrs

      public MetaAttrs()
    • MetaAttrs

      public MetaAttrs(String name)
  • Method Details

    • getId

      public Long getId()
      Specified by:
      getId in class Model
    • setId

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

      public String getModel()
    • setModel

      public void setModel(String model)
    • getView

      public String getView()
    • setView

      public void setView(String view)
    • getField

      public String getField()
    • setField

      public void setField(String field)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • getCondition

      public String getCondition()
    • setCondition

      public void setCondition(String condition)
    • getOrder

      public Integer getOrder()
    • setOrder

      public void setOrder(Integer order)
    • 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.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object