Class ResultTypeImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.XMLObject, org.opensaml.xacml.ctx.ResultType, org.opensaml.xacml.XACMLObject

    public class ResultTypeImpl
    extends AbstractXACMLObject
    implements org.opensaml.xacml.ctx.ResultType
    Concrete implementation of ResultType.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.xacml.ctx.DecisionType decision
      The decision of the result.
      private org.opensaml.xacml.policy.ObligationsType obligations
      The obligations in this Result.
      private String resourceId
      Attribute resource id.
      private org.opensaml.xacml.ctx.StatusType status
      List of the status of this result.
      • Fields inherited from interface org.opensaml.xacml.ctx.ResultType

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, RESOURCE_ID_ATTTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ResultTypeImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.opensaml.xacml.ctx.DecisionType getDecision()
      org.opensaml.xacml.policy.ObligationsType getObligations()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      String getResourceId()
      org.opensaml.xacml.ctx.StatusType getStatus()
      void setDecision​(org.opensaml.xacml.ctx.DecisionType decisionIn)
      void setObligations​(org.opensaml.xacml.policy.ObligationsType obligationsIn)
      void setResourceId​(String newResourceId)
      void setStatus​(org.opensaml.xacml.ctx.StatusType statusIn)
      • Methods inherited from class org.opensaml.core.xml.AbstractXMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
      • Methods inherited from interface org.opensaml.core.xml.XMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
    • Field Detail

      • resourceId

        private String resourceId
        Attribute resource id.
      • decision

        private org.opensaml.xacml.ctx.DecisionType decision
        The decision of the result.
      • status

        private org.opensaml.xacml.ctx.StatusType status
        List of the status of this result.
      • obligations

        private org.opensaml.xacml.policy.ObligationsType obligations
        The obligations in this Result.
    • Constructor Detail

      • ResultTypeImpl

        protected ResultTypeImpl​(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 Detail

      • getDecision

        public org.opensaml.xacml.ctx.DecisionType getDecision()
        Specified by:
        getDecision in interface org.opensaml.xacml.ctx.ResultType
      • getObligations

        public org.opensaml.xacml.policy.ObligationsType getObligations()
        Specified by:
        getObligations in interface org.opensaml.xacml.ctx.ResultType
      • setObligations

        public void setObligations​(org.opensaml.xacml.policy.ObligationsType obligationsIn)
        Specified by:
        setObligations in interface org.opensaml.xacml.ctx.ResultType
      • getResourceId

        public String getResourceId()
        Specified by:
        getResourceId in interface org.opensaml.xacml.ctx.ResultType
      • getStatus

        public org.opensaml.xacml.ctx.StatusType getStatus()
        Specified by:
        getStatus in interface org.opensaml.xacml.ctx.ResultType
      • setStatus

        public void setStatus​(org.opensaml.xacml.ctx.StatusType statusIn)
        Specified by:
        setStatus in interface org.opensaml.xacml.ctx.ResultType
      • setDecision

        public void setDecision​(org.opensaml.xacml.ctx.DecisionType decisionIn)
        Specified by:
        setDecision in interface org.opensaml.xacml.ctx.ResultType
      • setResourceId

        public void setResourceId​(String newResourceId)
        Specified by:
        setResourceId in interface org.opensaml.xacml.ctx.ResultType
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject