Class ObligationTypeImpl

All Implemented Interfaces:
XMLObject, ObligationType, XACMLObject

public class ObligationTypeImpl extends AbstractXACMLObject implements ObligationType
Implementation for ObligationType.
  • Field Details

  • Constructor Details

    • ObligationTypeImpl

      protected ObligationTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • getAttributeAssignments

      public List<AttributeAssignmentType> getAttributeAssignments()
      Gets the attribute assignments for this obligation.
      Specified by:
      getAttributeAssignments in interface ObligationType
      Returns:
      attribute assignments for this obligation
    • getFulfillOn

      public EffectType getFulfillOn()
      Gets the fulfill on effect.
      Specified by:
      getFulfillOn in interface ObligationType
      Returns:
      fulfill on effect
    • getObligationId

      public String getObligationId()
      Gets the ID of this obligation.
      Specified by:
      getObligationId in interface ObligationType
      Returns:
      ID of this obligation
    • setFulfillOn

      public void setFulfillOn(EffectType newFulfillOn)
      Sets fulfill on effect.
      Specified by:
      setFulfillOn in interface ObligationType
      Parameters:
      newFulfillOn - fulfill on effect
    • setObligationId

      public void setObligationId(String newObligationId)
      Sets the ID of this obligation.
      Specified by:
      setObligationId in interface ObligationType
      Parameters:
      newObligationId - ID of this obligation
    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Returns:
      ordered list of child elements