public final class Role extends Object
Constructor and Description |
---|
Role(String name)
Create a new role with the specified name.
|
Role(String lower,
String mixed,
String upper,
String description)
Create a new role from the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Return the description for this role.
|
String |
getLower()
Return the lowercase name for this role.
|
String |
getMixed()
Return the mixed-case name for this role.
|
String |
getUpper()
Return the uppercase name for this role.
|
public Role(String name)
name
- role namepublic String getLower()
public String getMixed()
public String getUpper()
public String getDescription()
Copyright (c) 2004-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).