Package com.dtsx.astra.sdk.org.domain
Class Role
java.lang.Object
com.dtsx.astra.sdk.org.domain.Role
- All Implemented Interfaces:
Serializable
Represent a role.
- Author:
- Cedrick LUNVEN (@clunven)
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Getter accessor for attribute 'id'.getName()
Getter accessor for attribute 'name'.Getter accessor for attribute 'policy'.void
Setter accessor for attribute 'id'.void
Setter accessor for attribute 'name'.void
setPolicy
(RolePolicy policy) Setter accessor for attribute 'policy'.
-
Constructor Details
-
Role
public Role()
-
-
Method Details
-
getId
Getter accessor for attribute 'id'.- Returns:
- current value of 'id'
-
setId
Setter accessor for attribute 'id'.- Parameters:
id
- new value for 'id '
-
getName
Getter accessor for attribute 'name'.- Returns:
- current value of 'name'
-
setName
Setter accessor for attribute 'name'.- Parameters:
name
- new value for 'name '
-
getPolicy
Getter accessor for attribute 'policy'.- Returns:
- current value of 'policy'
-
setPolicy
Setter accessor for attribute 'policy'.- Parameters:
policy
- new value for 'policy '
-