Class ObligationExpression
- java.lang.Object
-
- com.sun.identity.entitlement.xacml3.core.ObligationExpression
-
- All Implemented Interfaces:
XACMLRootElement
public class ObligationExpression extends Object implements XACMLRootElement
Java class for ObligationExpressionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ObligationExpressionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}AttributeAssignmentExpression" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="ObligationId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="FulfillOn" use="required" type="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}EffectType" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AttributeAssignmentExpression>attributeAssignmentExpressionprotected EffectTypefulfillOnprotected StringobligationId-
Fields inherited from interface com.sun.identity.entitlement.xacml3.core.XACMLRootElement
XACML3_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description ObligationExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AttributeAssignmentExpression>getAttributeAssignmentExpression()Gets the value of the attributeAssignmentExpression property.EffectTypegetFulfillOn()Gets the value of the fulfillOn property.StringgetObligationId()Gets the value of the obligationId property.voidsetFulfillOn(EffectType value)Sets the value of the fulfillOn property.voidsetObligationId(String value)Sets the value of the obligationId property.StringtoXML()Default toXML Method to Marshal Object into XML.
-
-
-
Field Detail
-
attributeAssignmentExpression
protected List<AttributeAssignmentExpression> attributeAssignmentExpression
-
obligationId
protected String obligationId
-
fulfillOn
protected EffectType fulfillOn
-
-
Method Detail
-
getAttributeAssignmentExpression
public List<AttributeAssignmentExpression> getAttributeAssignmentExpression()
Gets the value of the attributeAssignmentExpression 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 attributeAssignmentExpression property.For example, to add a new item, do as follows:
getAttributeAssignmentExpression().add(newItem);Objects of the following type(s) are allowed in the list
AttributeAssignmentExpression
-
getObligationId
public String getObligationId()
Gets the value of the obligationId property.- Returns:
- possible object is
String
-
setObligationId
public void setObligationId(String value)
Sets the value of the obligationId property.- Parameters:
value- allowed object isString
-
getFulfillOn
public EffectType getFulfillOn()
Gets the value of the fulfillOn property.- Returns:
- possible object is
EffectType
-
setFulfillOn
public void setFulfillOn(EffectType value)
Sets the value of the fulfillOn property.- Parameters:
value- allowed object isEffectType
-
toXML
public String toXML()
Default toXML Method to Marshal Object into XML.- Specified by:
toXMLin interfaceXACMLRootElement- Returns:
- String - Marshaled Results into XML String.
-
-