Package org.apache.openejb.jee.jba
Class SecurityRole
- java.lang.Object
-
- org.apache.openejb.jee.jba.SecurityRole
-
public class SecurityRole extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PrincipalName>principalNameprotected StringroleName
-
Constructor Summary
Constructors Constructor Description SecurityRole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PrincipalName>getPrincipalName()Gets the value of the principalName property.StringgetRoleName()Gets the value of the roleName property.voidsetRoleName(String value)Sets the value of the roleName property.
-
-
-
Field Detail
-
roleName
protected String roleName
-
principalName
protected List<PrincipalName> principalName
-
-
Method Detail
-
getRoleName
public String getRoleName()
Gets the value of the roleName property.- Returns:
- possible object is
String
-
setRoleName
public void setRoleName(String value)
Sets the value of the roleName property.- Parameters:
value- allowed object isString
-
getPrincipalName
public List<PrincipalName> getPrincipalName()
Gets the value of the principalName property. 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 asetmethod 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 listPrincipalName
-
-