Class Obligations
- java.lang.Object
-
- com.sun.identity.entitlement.xacml3.core.Obligations
-
- All Implemented Interfaces:
XACMLRootElement
public class Obligations extends Object implements XACMLRootElement
Java class for ObligationsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ObligationsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Obligation" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Obligation>obligation-
Fields inherited from interface com.sun.identity.entitlement.xacml3.core.XACMLRootElement
XACML3_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description Obligations()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Obligation>getObligation()Gets the value of the obligation property.StringtoXML()Default toXML Method to Marshal Object into XML.
-
-
-
Field Detail
-
obligation
protected List<Obligation> obligation
-
-
Method Detail
-
getObligation
public List<Obligation> getObligation()
Gets the value of the obligation 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
setmethod for the obligation property.For example, to add a new item, do as follows:
getObligation().add(newItem);Objects of the following type(s) are allowed in the list
Obligation
-
toXML
public String toXML()
Default toXML Method to Marshal Object into XML.- Specified by:
toXMLin interfaceXACMLRootElement- Returns:
- String - Marshaled Results into XML String.
-
-