@Embeddable public final class Role extends Object implements Serializable, Comparable<Role>
| Modifier | Constructor and Description |
|---|---|
protected |
Role()
Deprecated.
|
|
Role(String name)
Creates a new Role
|
@Deprecated protected Role()
public Role(String name)
name - the name of the RoleNullPointerException - if name is nullpublic final String getName()
public final int compareTo(Role other)
compareTo in interface Comparable<Role>Copyright © 2014 Pivotal Software, Inc.. All rights reserved.