public class ResourceType extends Object
Java class for ResourceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResourceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}ResourceContent" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Attribute" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<AttributeType> |
attribute |
protected ResourceContentType |
resourceContent |
| Constructor and Description |
|---|
ResourceType() |
| Modifier and Type | Method and Description |
|---|---|
List<AttributeType> |
getAttribute()
Gets the value of the attribute property.
|
ResourceContentType |
getResourceContent()
Gets the value of the resourceContent property.
|
void |
setResourceContent(ResourceContentType value)
Sets the value of the resourceContent property.
|
protected ResourceContentType resourceContent
protected List<AttributeType> attribute
public ResourceContentType getResourceContent()
ResourceContentTypepublic void setResourceContent(ResourceContentType value)
value - allowed object is
ResourceContentTypepublic List<AttributeType> getAttribute()
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 attribute property.
For example, to add a new item, do as follows:
getAttribute().add(newItem);
Objects of the following type(s) are allowed in the list
AttributeType
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.