public class SecurityRoleAssignment
extends java.lang.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>
| Modifier and Type | Field and Description |
|---|---|
protected Empty |
externallyDefined |
protected java.lang.String |
id |
protected java.util.List<<any>> |
principalName |
protected java.lang.String |
roleName |
| Constructor and Description |
|---|
SecurityRoleAssignment() |
| Modifier and Type | Method and Description |
|---|---|
Empty |
getExternallyDefined()
Gets the value of the externallyDefined property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.util.List<<any>> |
getPrincipalName()
Gets the value of the principalName property.
|
java.lang.String |
getRoleName()
Gets the value of the roleName property.
|
void |
setExternallyDefined(Empty value)
Sets the value of the externallyDefined property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setRoleName(java.lang.String value)
Sets the value of the roleName property.
|
protected java.lang.String roleName
protected java.util.List<<any>> principalName
protected Empty externallyDefined
protected java.lang.String id
public java.lang.String getRoleName()
Stringpublic void setRoleName(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<<any>> getPrincipalName()
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>public Empty getExternallyDefined()
Emptypublic void setExternallyDefined(Empty value)
value - allowed object is
Emptypublic java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
String