Package com.sun.identity.xacml.policy
Interface Obligation
- All Superinterfaces:
XmlSerializable
- All Known Implementing Classes:
ObligationImpl
The
Obligation
element is a container of
one or more AttributeAssignment
s issuded by
authorization authority.-
Method Summary
Modifier and TypeMethodDescriptionReturns XML elements corresponding toAttributeAssignment
elements for this obligation.Returns the FullFillOn effect type of this obligationReturns the ObligationId of thisObligation
boolean
Checks if this object is mutablevoid
Makes this object immutablevoid
setAttributeAssignments
(List attributeAssignments) Sets XML elements corresponding toAttributeAssignment
elements for this obligation.void
setFulfillOn
(String fulfillOn) Sets the FullFillOn effect type of this obligationvoid
setObligationId
(URI obligationId) Sets the ObligationId of theObligation
default String
Returns a string representation of this objectdefault String
toXMLString
(boolean includeNSPrefix, boolean declareNS) Returns a string representation of this objectMethods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment
-
Method Details
-
getObligationId
URI getObligationId()Returns the ObligationId of thisObligation
- Returns:
- the
URI
representing ObligationId of thisObligation
-
setObligationId
Sets the ObligationId of theObligation
- Parameters:
obligationId
-URI
representing 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
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 toAttributeAssignment
elements for this obligation.- Returns:
- the XML elements corresponding to
AttributeAssignment
elements for this obligation.
-
setAttributeAssignments
Sets XML elements corresponding toAttributeAssignment
elements for this obligation.- Parameters:
attributeAssignments
- XML elements corresponding toAttributeAssignment
elements for this obligation.- Throws:
XACMLException
-
toXMLString
Returns a string representation of this object- Specified by:
toXMLString
in interfaceXmlSerializable
- 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
Returns a string representation of this object- Specified by:
toXMLString
in interfaceXmlSerializable
- 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:
true
if the object is mutable,false
otherwise
-