org.apache.openejb.jee.wls
Class SecurityRoleAssignment

java.lang.Object
  extended by org.apache.openejb.jee.wls.SecurityRoleAssignment

public class SecurityRoleAssignment
extends Object

Java class for security-role-assignment complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="security-role-assignment">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="role-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <choice>
           <element name="principal-name" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" maxOccurs="unbounded"/>
           <element name="externally-defined" type="{http://www.bea.com/ns/weblogic/90}empty"/>
         </choice>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Empty externallyDefined
           
protected  String id
           
protected  List<javax.xml.bind.JAXBElement<String>> principalName
           
protected  String roleName
           
 
Constructor Summary
SecurityRoleAssignment()
           
 
Method Summary
 Empty getExternallyDefined()
          Gets the value of the externallyDefined property.
 String getId()
          Gets the value of the id property.
 List<javax.xml.bind.JAXBElement<String>> getPrincipalName()
          Gets the value of the principalName property.
 String getRoleName()
          Gets the value of the roleName property.
 void setExternallyDefined(Empty value)
          Sets the value of the externallyDefined property.
 void setId(String value)
          Sets the value of the id property.
 void setRoleName(String value)
          Sets the value of the roleName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

roleName

protected String roleName

principalName

protected List<javax.xml.bind.JAXBElement<String>> principalName

externallyDefined

protected Empty externallyDefined

id

protected String id
Constructor Detail

SecurityRoleAssignment

public SecurityRoleAssignment()
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 is String

getPrincipalName

public List<javax.xml.bind.JAXBElement<String>> 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 JAXBElement<String>


getExternallyDefined

public Empty getExternallyDefined()
Gets the value of the externallyDefined property.

Returns:
possible object is Empty

setExternallyDefined

public void setExternallyDefined(Empty value)
Sets the value of the externallyDefined property.

Parameters:
value - allowed object is Empty

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.