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>
| Modifier and Type | Field and Description |
|---|---|
protected Empty |
externallyDefined |
protected String |
id |
protected List<JAXBElement<String>> |
principalName |
protected String |
roleName |
| Constructor and Description |
|---|
SecurityRoleAssignment() |
| Modifier and Type | Method and Description |
|---|---|
Empty |
getExternallyDefined()
Gets the value of the externallyDefined property.
|
String |
getId()
Gets the value of the id property.
|
List<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.
|
protected String roleName
protected List<JAXBElement<String>> principalName
protected Empty externallyDefined
protected String id
public String getRoleName()
Stringpublic void setRoleName(String value)
value - allowed object is
Stringpublic List<JAXBElement<String>> 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
EmptyCopyright © 1999–2020 The Apache Software Foundation. All rights reserved.