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

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

public class RequestType
extends Object

Java class for RequestType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="RequestType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Subject" maxOccurs="unbounded"/>
         <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Resource" maxOccurs="unbounded"/>
         <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Action"/>
         <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Environment"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  ActionType action
           
protected  EnvironmentType environment
           
protected  List<ResourceType> resource
           
protected  List<SubjectType> subject
           
 
Constructor Summary
RequestType()
           
 
Method Summary
 ActionType getAction()
          Gets the value of the action property.
 EnvironmentType getEnvironment()
          Gets the value of the environment property.
 List<ResourceType> getResource()
          Gets the value of the resource property.
 List<SubjectType> getSubject()
          Gets the value of the subject property.
 void setAction(ActionType value)
          Sets the value of the action property.
 void setEnvironment(EnvironmentType value)
          Sets the value of the environment property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subject

protected List<SubjectType> subject

resource

protected List<ResourceType> resource

action

protected ActionType action

environment

protected EnvironmentType environment
Constructor Detail

RequestType

public RequestType()
Method Detail

getSubject

public List<SubjectType> getSubject()
Gets the value of the subject 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 subject property.

For example, to add a new item, do as follows:

    getSubject().add(newItem);
 

Objects of the following type(s) are allowed in the list SubjectType


getResource

public List<ResourceType> getResource()
Gets the value of the resource 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 resource property.

For example, to add a new item, do as follows:

    getResource().add(newItem);
 

Objects of the following type(s) are allowed in the list ResourceType


getAction

public ActionType getAction()
Gets the value of the action property.

Returns:
possible object is ActionType

setAction

public void setAction(ActionType value)
Sets the value of the action property.

Parameters:
value - allowed object is ActionType

getEnvironment

public EnvironmentType getEnvironment()
Gets the value of the environment property.

Returns:
possible object is EnvironmentType

setEnvironment

public void setEnvironment(EnvironmentType value)
Sets the value of the environment property.

Parameters:
value - allowed object is EnvironmentType


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.