public class Obligation extends Object implements XACMLRootElement
Java class for ObligationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ObligationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}AttributeAssignment" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="ObligationId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<AttributeAssignment> |
attributeAssignment |
protected String |
obligationId |
XACML3_NAMESPACE
Constructor and Description |
---|
Obligation() |
Modifier and Type | Method and Description |
---|---|
List<AttributeAssignment> |
getAttributeAssignment()
Gets the value of the attributeAssignment property.
|
String |
getObligationId()
Gets the value of the obligationId property.
|
void |
setObligationId(String value)
Sets the value of the obligationId property.
|
String |
toXML()
Default toXML Method to Marshal Object into XML.
|
protected List<AttributeAssignment> attributeAssignment
protected String obligationId
public List<AttributeAssignment> getAttributeAssignment()
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 attributeAssignment property.
For example, to add a new item, do as follows:
getAttributeAssignment().add(newItem);
Objects of the following type(s) are allowed in the list
AttributeAssignment
public String getObligationId()
String
public void setObligationId(String value)
value
- allowed object is
String
public String toXML()
toXML
in interface XACMLRootElement
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.