Package com.sun.identity.xacml.policy
Interface Obligation
-
- All Known Implementing Classes:
ObligationImpl
public interface ObligationTheObligationelement is a container of one or moreAttributeAssignments issuded by authorization authority.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListgetAttributeAssignments()Returns XML elements corresponding toAttributeAssignmentelements for this obligation.StringgetFulfillOn()Returns the FullFillOn effect type of this obligationURIgetObligationId()Returns the ObligationId of thisObligationbooleanisMutable()Checks if this object is mutablevoidmakeImmutable()Makes this object immutablevoidsetAttributeAssignments(List attributeAssignments)Sets XML elements corresponding toAttributeAssignmentelements for this obligation.voidsetFulfillOn(String fulfillOn)Sets the FullFillOn effect type of this obligationvoidsetObligationId(URI obligationId)Sets the ObligationId of theObligationStringtoXMLString()Returns a string representation of this objectStringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a string representation of this object
-
-
-
Method Detail
-
getObligationId
URI getObligationId()
Returns the ObligationId of thisObligation- Returns:
- the
URIrepresenting ObligationId of thisObligation
-
setObligationId
void setObligationId(URI obligationId) throws XACMLException
Sets the ObligationId of theObligation- Parameters:
obligationId-URIrepresenting the ObligationId.- Throws:
XACMLException- if the object is immutable
-
getFulfillOn
String getFulfillOn()
Returns the FullFillOn effect type of this obligation- Returns:
- the FullFillOn effect type of this obligation
-
setFulfillOn
void setFulfillOn(String fulfillOn) throws XACMLException
Sets the FullFillOn effect type of this obligation- Parameters:
fulfillOn- FullFillOn effect type of this obligation- Throws:
XACMLException
-
getAttributeAssignments
List getAttributeAssignments()
Returns XML elements corresponding toAttributeAssignmentelements for this obligation.- Returns:
- the XML elements corresponding to
AttributeAssignmentelements for this obligation.
-
setAttributeAssignments
void setAttributeAssignments(List attributeAssignments) throws XACMLException
Sets XML elements corresponding toAttributeAssignmentelements for this obligation.- Parameters:
attributeAssignments- XML elements corresponding toAttributeAssignmentelements for this obligation.- Throws:
XACMLException
-
toXMLString
String toXMLString(boolean includeNSPrefix, boolean declareNS) throws XACMLException
Returns a string representation of this object- Parameters:
includeNSPrefix- Determines whether or not the namespace qualifier is prepended to the Element when converteddeclareNS- Determines whether or not the namespace is declared within the Element.- Returns:
- a string representation
- Throws:
XACMLException- if conversion fails for any reason
-
toXMLString
String toXMLString() throws XACMLException
Returns a string representation of this object- Returns:
- a string representation
- Throws:
XACMLException- if conversion fails for any reason
-
makeImmutable
void makeImmutable()
Makes this object immutable
-
isMutable
boolean isMutable()
Checks if this object is mutable- Returns:
trueif the object is mutable,falseotherwise
-
-