org.openliberty.openaz.pep
Class Obligation

java.lang.Object
  extended by org.openliberty.openaz.pep.AzWrapperObject<T>
      extended by org.openliberty.openaz.pep.AzWrapperResponseObject<AzCategoryIdObligation>
          extended by 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

Field Summary
 
Fields inherited from class org.openliberty.openaz.pep.AzWrapperObject
wrappedObject
 
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 org.openliberty.openaz.pep.AzWrapperResponseObject
getDateAttribute, getStringAttribute
 
Methods inherited from class org.openliberty.openaz.pep.AzWrapperObject
getWrappedObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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