org.openliberty.openaz.pep
Class Obligation
java.lang.Object
org.openliberty.openaz.pep.AzWrapperObject<T>
org.openliberty.openaz.pep.AzWrapperResponseObject<AzCategoryIdObligation>
org.openliberty.openaz.pep.Obligation
public class Obligation
- extends AzWrapperResponseObject<AzCategoryIdObligation>
The Obligation object contains a set of zero or more
Attributes. The Obligation has an id: ObligationId, and
each attribute has an id, as well, which is the first String of
each String pair in the set of attributes.
- Author:
- Josh Bregman, Rich Levinson, Prateek Mishra
Method Summary |
java.lang.String |
getObligationId()
Return the ObligationId for this Obligation. |
java.util.Map<java.lang.String,java.lang.String> |
getStringValues()
Returns a Set of Obligation Attribute name,value pairs,
indexed by name. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getObligationId
public java.lang.String getObligationId()
- Return the ObligationId for this Obligation.
This is from the underlying AzEntity.getAzEntityId()
which is used to store the ObligationId.
- Returns:
- a string containing the ObligationId of this Obligation
getStringValues
public java.util.Map<java.lang.String,java.lang.String> getStringValues()
- Returns a Set of Obligation Attribute name,value pairs,
indexed by name.
- Returns:
- a map of Obligation Attribute name,value pairs