Package com.sun.identity.xacml.policy
Interface Obligations
-
- All Superinterfaces:
XmlSerializable
- All Known Implementing Classes:
ObligationsImpl
@SupportedAll public interface Obligations extends XmlSerializable
TheObligations
element is a container of one or moreObligation
s issuded by authorization authority.
-
-
Field Summary
Fields Modifier and Type Field Description static String
OBLIGATIONS_ELEMENT
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
addObligation(Obligation obligation)
List
getObligations()
Returns theObligation
objects set in thisObligations
boolean
isMutable()
Checks if this object is mutablevoid
makeImmutable()
Makes this object immutablevoid
setObligations(List obligations)
Sets theObligation
objects of thisObligations
default String
toXMLString()
Returns a string representation of this objectdefault String
toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a string representation of this object-
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment
-
-
-
-
Field Detail
-
OBLIGATIONS_ELEMENT
static final String OBLIGATIONS_ELEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getObligations
List getObligations()
Returns theObligation
objects set in thisObligations
- Returns:
- the
Obligation
objects set in thisObligations
-
setObligations
void setObligations(List obligations) throws XACMLException
Sets theObligation
objects of thisObligations
- Parameters:
obligations
- theObligation
objects to set in thisObligations
- Throws:
XACMLException
-
addObligation
void addObligation(Obligation obligation) throws XACMLException
- Throws:
XACMLException
-
toXMLString
default String toXMLString(boolean includeNSPrefix, boolean declareNS) throws XACMLException
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
default String toXMLString() throws XACMLException
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
-
-