RoleMemento
Immutable serializable value held by UserMemento .
API
RoleMemento.java
class RoleMemento {
RoleMemento(String name) (1)
RoleMemento(String name, String description) (2)
}
1 | RoleMemento(String)
Creates a new role with the specified name. Description is left blank. |
2 | RoleMemento(String, String)
Creates a new role with the specified name and description. |