public class SecurityRole extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<PrincipalName> |
principalName |
protected String |
roleName |
| Constructor and Description |
|---|
SecurityRole() |
| Modifier and Type | Method and Description |
|---|---|
List<PrincipalName> |
getPrincipalName()
Gets the value of the principalName property.
|
String |
getRoleName()
Gets the value of the roleName property.
|
void |
setRoleName(String value)
Sets the value of the roleName property.
|
protected String roleName
protected List<PrincipalName> principalName
public String getRoleName()
Stringpublic void setRoleName(String value)
value - allowed object is
Stringpublic List<PrincipalName> getPrincipalName()
set method for the principalName property.
For example, to add a new item, do as follows:
getPrincipalName().add(newItem);
Objects of the following type(s) are allowed in the list
PrincipalNameCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.