Package org.apache.openejb.jee.wls
Class SecurityRoleAssignment
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected EmptyexternallyDefinedprotected Stringidprotected List<jakarta.xml.bind.JAXBElement<String>>principalNameprotected StringroleName
-
Constructor Summary
Constructors Constructor Description SecurityRoleAssignment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmptygetExternallyDefined()Gets the value of the externallyDefined property.StringgetId()Gets the value of the id property.List<jakarta.xml.bind.JAXBElement<String>>getPrincipalName()Gets the value of the principalName property.StringgetRoleName()Gets the value of the roleName property.voidsetExternallyDefined(Empty value)Sets the value of the externallyDefined property.voidsetId(String value)Sets the value of the id property.voidsetRoleName(String value)Sets the value of the roleName property.
-
-
-
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<jakarta.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 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 listJAXBElement<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 isEmpty
-
-