Class Attribute
- java.lang.Object
-
- com.sun.identity.entitlement.xacml3.core.Attribute
-
- All Implemented Interfaces:
XACMLRootElement
public class Attribute extends Object implements XACMLRootElement
Java class for AttributeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AttributeType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}AttributeValue" maxOccurs="unbounded"/> </sequence> <attribute name="AttributeId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="Issuer" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="IncludeInResult" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
attributeId
protected List<AttributeValue>
attributeValue
protected boolean
includeInResult
protected String
issuer
-
Fields inherited from interface com.sun.identity.entitlement.xacml3.core.XACMLRootElement
XACML3_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description Attribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAttributeId()
Gets the value of the attributeId property.List<AttributeValue>
getAttributeValue()
Gets the value of the attributeValue property.String
getIssuer()
Gets the value of the issuer property.boolean
isIncludeInResult()
Gets the value of the includeInResult property.void
setAttributeId(String value)
Sets the value of the attributeId property.void
setIncludeInResult(boolean value)
Sets the value of the includeInResult property.void
setIssuer(String value)
Sets the value of the issuer property.String
toXML()
Default toXML Method to Marshal Object into XML.
-
-
-
Field Detail
-
attributeValue
protected List<AttributeValue> attributeValue
-
attributeId
protected String attributeId
-
issuer
protected String issuer
-
includeInResult
protected boolean includeInResult
-
-
Method Detail
-
getAttributeValue
public List<AttributeValue> getAttributeValue()
Gets the value of the attributeValue 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 attributeValue property.For example, to add a new item, do as follows:
getAttributeValue().add(newItem);
Objects of the following type(s) are allowed in the list
AttributeValue
-
getAttributeId
public String getAttributeId()
Gets the value of the attributeId property.- Returns:
- possible object is
String
-
setAttributeId
public void setAttributeId(String value)
Sets the value of the attributeId property.- Parameters:
value
- allowed object isString
-
getIssuer
public String getIssuer()
Gets the value of the issuer property.- Returns:
- possible object is
String
-
setIssuer
public void setIssuer(String value)
Sets the value of the issuer property.- Parameters:
value
- allowed object isString
-
isIncludeInResult
public boolean isIncludeInResult()
Gets the value of the includeInResult property.
-
setIncludeInResult
public void setIncludeInResult(boolean value)
Sets the value of the includeInResult property.
-
toXML
public String toXML()
Default toXML Method to Marshal Object into XML.- Specified by:
toXML
in interfaceXACMLRootElement
- Returns:
- String - Marshaled Results into XML String.
-
-