Package com.sun.identity.xacml.policy
Interface Obligations
-
- All Known Implementing Classes:
ObligationsImpl
public interface ObligationsTheObligationselement is a container of one or moreObligations issuded by authorization authority.
-
-
Field Summary
Fields Modifier and Type Field Description static StringOBLIGATIONS_ELEMENT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddObligation(Obligation obligation)ListgetObligations()Returns theObligationobjects set in thisObligationsbooleanisMutable()Checks if this object is mutablevoidmakeImmutable()Makes this object immutablevoidsetObligations(List obligations)Sets theObligationobjects of thisObligationsStringtoXMLString()Returns a string representation of this objectStringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a string representation of this object
-
-
-
Field Detail
-
OBLIGATIONS_ELEMENT
static final String OBLIGATIONS_ELEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getObligations
List getObligations()
Returns theObligationobjects set in thisObligations- Returns:
- the
Obligationobjects set in thisObligations
-
setObligations
void setObligations(List obligations) throws XACMLException
Sets theObligationobjects of thisObligations- Parameters:
obligations- theObligationobjects to set in thisObligations- Throws:
XACMLException
-
addObligation
void addObligation(Obligation obligation) throws XACMLException
- 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
-
-