Class AuthzDecisionQueryImpl

All Implemented Interfaces:
XMLObject, SAMLObject, SignableSAMLObject, AuthzDecisionQuery, RequestAbstractType, SubjectQuery, SignableXMLObject

public class AuthzDecisionQueryImpl
extends SubjectQueryImpl
implements AuthzDecisionQuery
Concrete implementation of AuthzDecisionQuery.
  • Field Details

    • resource

      private String resource
      Resource attribute value.
    • evidence

      private Evidence evidence
      Evidence child element.
    • actions

      private final XMLObjectChildrenList<Action> actions
      Action child elements.
  • Constructor Details

    • AuthzDecisionQueryImpl

      protected AuthzDecisionQueryImpl​(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

    • getResource

      public String getResource()
      Gets the Resource attrib value of this query.
      Specified by:
      getResource in interface AuthzDecisionQuery
      Returns:
      the Resource attrib value of this query
    • setResource

      public void setResource​(String newResource)
      Sets the Resource attrib value of this query.
      Specified by:
      setResource in interface AuthzDecisionQuery
      Parameters:
      newResource - the new Resource attrib value of this query
    • getActions

      public List<Action> getActions()
      Gets the Actions of this query.
      Specified by:
      getActions in interface AuthzDecisionQuery
      Returns:
      the Actions of this query
    • getEvidence

      public Evidence getEvidence()
      Gets the Evidence of this query.
      Specified by:
      getEvidence in interface AuthzDecisionQuery
      Returns:
      the Evidence of this query
    • setEvidence

      public void setEvidence​(Evidence newEvidence)
      Sets the Evidence of this query.
      Specified by:
      setEvidence in interface AuthzDecisionQuery
      Parameters:
      newEvidence - the new Evidence of this query
    • 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
      Overrides:
      getOrderedChildren in class SubjectQueryImpl
      Returns:
      ordered list of child elements