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()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a 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
PrincipalName
Copyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.