Class Role

java.lang.Object
com.dtsx.astra.sdk.org.domain.Role
All Implemented Interfaces:
Serializable

public class Role extends Object implements Serializable
Represent a role.
Author:
Cedrick LUNVEN (@clunven)
See Also:
  • Constructor Details

    • Role

      public Role()
  • Method Details

    • getId

      public String getId()
      Getter accessor for attribute 'id'.
      Returns:
      current value of 'id'
    • setId

      public void setId(String id)
      Setter accessor for attribute 'id'.
      Parameters:
      id - new value for 'id '
    • getName

      public String getName()
      Getter accessor for attribute 'name'.
      Returns:
      current value of 'name'
    • setName

      public void setName(String name)
      Setter accessor for attribute 'name'.
      Parameters:
      name - new value for 'name '
    • getPolicy

      public RolePolicy getPolicy()
      Getter accessor for attribute 'policy'.
      Returns:
      current value of 'policy'
    • setPolicy

      public void setPolicy(RolePolicy policy)
      Setter accessor for attribute 'policy'.
      Parameters:
      policy - new value for 'policy '