Class Role

java.lang.Object
ch.autumo.beetroot.Model
ch.autumo.beetroot.handler.roles.Role
All Implemented Interfaces:
Entity, Serializable

public class Role extends Model
Role.
See Also:
  • Constructor Details

    • Role

      public Role()
      Default constructor.
  • Method Details

    • getPermissions

      public String getPermissions()
      Returns the permissions value.
      Returns:
      the permissions value
    • setPermissions

      public void setPermissions(String permissions)
      Sets the permissions value.
      Parameters:
      permissions - the new permissions value
    • getCreated

      public Timestamp getCreated()
      Returns the created value.
      Returns:
      the created value
    • setCreated

      public void setCreated(Timestamp created)
      Sets the created value.
      Parameters:
      created - the new created value
    • getName

      public String getName()
      Returns the name value.
      Returns:
      the name value
    • setName

      public void setName(String name)
      Sets the name value.
      Parameters:
      name - the new name value
    • getDescription

      public String getDescription()
      Returns the description value.
      Returns:
      the description value
    • setDescription

      public void setDescription(String description)
      Sets the description value.
      Parameters:
      description - the new description value
    • getModified

      public Timestamp getModified()
      Returns the modified value.
      Returns:
      the modified value
    • setModified

      public void setModified(Timestamp modified)
      Sets the modified value.
      Parameters:
      modified - the new modified value
    • getDisplayField

      public String getDisplayField()
      Description copied from class: Model
      Default display field.
      Overrides:
      getDisplayField in class Model
      Returns:
      display field
    • modelClass

      public Class<?> modelClass()
      Description copied from class: Model
      Get model base class, usually overwritten by the Plant generator.
      Specified by:
      modelClass in class Model
      Returns:
      model base class