org.opensaml.xacml.profile.saml.impl
Class XACMLAuthzDecisionStatementTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.xacml.profile.saml.impl.XACMLAuthzDecisionStatementTypeImpl
All Implemented Interfaces:
SAMLObject, Statement, XACMLAuthzDecisionStatementType, XACMLObject, ValidatingXMLObject, XMLObject

public class XACMLAuthzDecisionStatementTypeImpl
extends AbstractSAMLObject
implements XACMLAuthzDecisionStatementType

A concrete implementation of XACMLAuthzDecisionStatementType.


Field Summary
private  RequestType request
          The request of the authorization request.
private  ResponseType response
          The response of the authorization request.
 
Fields inherited from interface org.opensaml.xacml.profile.saml.XACMLAuthzDecisionStatementType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME_XACML10, DEFAULT_ELEMENT_NAME_XACML11, DEFAULT_ELEMENT_NAME_XACML20, DEFAULT_ELEMENT_NAME_XACML30, TYPE_LOCAL_NAME, TYPE_NAME_XACML10, TYPE_NAME_XACML11, TYPE_NAME_XACML20, TYPE_NAME_XACML30
 
Fields inherited from interface org.opensaml.saml2.core.Statement
DEFAULT_ELEMENT_NAME, TYPE_NAME
 
Constructor Summary
protected XACMLAuthzDecisionStatementTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<XMLObject> getOrderedChildren()
          
 RequestType getRequest()
          Get's the RequestType from the XACMLAuthzDecisionStatement.
 ResponseType getResponse()
          Get's the ResponseType from the XACMLAuthzDecisionStatement.
 void setRequest(RequestType request)
          Sets a ResponseType to the XACMLAuthzDecisionStatement.
 void setResponse(ResponseType response)
          Sets a ResponseType to the XACMLAuthzDecisionStatement.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, hashCode, prepareForAssignment
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

request

private RequestType request
The request of the authorization request.


response

private ResponseType response
The response of the authorization request.

Constructor Detail

XACMLAuthzDecisionStatementTypeImpl

protected XACMLAuthzDecisionStatementTypeImpl(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

getRequest

public RequestType getRequest()
Get's the RequestType from the XACMLAuthzDecisionStatement.

Specified by:
getRequest in interface XACMLAuthzDecisionStatementType
Returns:
the RequestType inside the XACMLAuthzDecisionStatement

getResponse

public ResponseType getResponse()
Get's the ResponseType from the XACMLAuthzDecisionStatement.

Specified by:
getResponse in interface XACMLAuthzDecisionStatementType
Returns:
the ResponseType inside the XACMLAuthzDecisionStatement

setRequest

public void setRequest(RequestType request)
Sets a ResponseType to the XACMLAuthzDecisionStatement.

Specified by:
setRequest in interface XACMLAuthzDecisionStatementType
Parameters:
request - RequestType

setResponse

public void setResponse(ResponseType response)
Sets a ResponseType to the XACMLAuthzDecisionStatement.

Specified by:
setResponse in interface XACMLAuthzDecisionStatementType
Parameters:
response - ResponseType

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.