org.jboss.security.xacml.core.model.context
Class ResourceType

java.lang.Object
  extended by org.jboss.security.xacml.core.model.context.ResourceType

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>
 


Field Summary
protected  List<AttributeType> attribute
           
protected  ResourceContentType resourceContent
           
 
Constructor Summary
ResourceType()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceContent

protected ResourceContentType resourceContent

attribute

protected List<AttributeType> attribute
Constructor Detail

ResourceType

public ResourceType()
Method Detail

getResourceContent

public ResourceContentType getResourceContent()
Gets the value of the resourceContent property.

Returns:
possible object is ResourceContentType

setResourceContent

public void setResourceContent(ResourceContentType value)
Sets the value of the resourceContent property.

Parameters:
value - allowed object is ResourceContentType

getAttribute

public List<AttributeType> getAttribute()
Gets the value of the attribute 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 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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.