Concrete implementation of org. for a
UserDatabase.
| Modifier and Type | Field and Description |
|---|---|
| protected final UserDatabase | database
The |
| Access | Constructor and Description |
|---|---|
| pack-priv | GenericRole(UD
The database, String UserDatabase that owns this roleRole name of this role rolename, String Description of this role description)Package-private constructor used by the factory method in
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
Principal to compare with.Overrides java. Implements java. Compares this |
| public UserDatabase | getUserDatabase()
Implements abstract org. Implements org. Return the |
| public int | hashCode()
Overrides java. Implements java. Returns a hashcode for this |
| public void | setDescription(String
The new description description)Overrides org. Implements org. Set the description of this role. |
| public void | setRolename(String
The new role name rolename)Overrides org. Implements org. Set the role name of this role, which must be unique
within the scope of a |
| database | back to summary |
|---|---|
| protected final UserDatabase database The | |
| GenericRole | back to summary |
|---|---|
| pack-priv GenericRole(UD database, String rolename, String description) Package-private constructor used by the factory method in
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Implements java. Doc from java. Compares this | |
| getUserDatabase | back to summary |
|---|---|
| public UserDatabase getUserDatabase() Implements abstract org. Implements org. Return the
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns a hashcode for this
| |
| setDescription | back to summary |
|---|---|
| public void setDescription(String description) Overrides org. Implements org. Doc from org. Set the description of this role. | |
| setRolename | back to summary |
|---|---|
| public void setRolename(String rolename) Overrides org. Implements org. Doc from org. Set the role name of this role, which must be unique
within the scope of a | |