Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » jba » [javadoc | source]
org.apache.openejb.jee.jba
public class: SecurityRole [javadoc | source]
java.lang.Object
   org.apache.openejb.jee.jba.SecurityRole
Field Summary
protected  String roleName     
protected  List<PrincipalName> principalName     
Method from org.apache.openejb.jee.jba.SecurityRole Summary:
getPrincipalName,   getRoleName,   setRoleName
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openejb.jee.jba.SecurityRole Detail:
 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 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

 public String getRoleName() 
    Gets the value of the roleName property.
 public  void setRoleName(String value) 
    Sets the value of the roleName property.