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

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

public class SubjectType
extends Object

Java class for SubjectType complex type.

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

 <complexType name="SubjectType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:oasis:names:tc:xacml:2.0:context:schema:os}Attribute" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="SubjectCategory" type="{http://www.w3.org/2001/XMLSchema}anyURI" default="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<AttributeType> attribute
           
protected  String subjectCategory
           
 
Constructor Summary
SubjectType()
           
 
Method Summary
 List<AttributeType> getAttribute()
          Gets the value of the attribute property.
 String getSubjectCategory()
          Gets the value of the subjectCategory property.
 void setSubjectCategory(String value)
          Sets the value of the subjectCategory property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attribute

protected List<AttributeType> attribute

subjectCategory

protected String subjectCategory
Constructor Detail

SubjectType

public SubjectType()
Method Detail

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


getSubjectCategory

public String getSubjectCategory()
Gets the value of the subjectCategory property.

Returns:
possible object is String

setSubjectCategory

public void setSubjectCategory(String value)
Sets the value of the subjectCategory property.

Parameters:
value - allowed object is String


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