org.opensaml.saml2.core.impl
Class RequestAbstractTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.signature.AbstractSignableXMLObject
          extended by org.opensaml.xml.AbstractValidatingSignableXMLObject
              extended by org.opensaml.common.impl.AbstractSignableSAMLObject
                  extended by org.opensaml.saml2.core.impl.RequestAbstractTypeImpl
All Implemented Interfaces:
SAMLObject, SignableSAMLObject, RequestAbstractType, org.opensaml.xml.signature.SignableXMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject
Direct Known Subclasses:
ArtifactResolveImpl, AssertionIDRequestImpl, AuthnRequestImpl, LogoutRequestImpl, ManageNameIDRequestImpl, NameIDMappingRequestImpl, SubjectQueryImpl, XACMLAuthzDecisionQueryTypeImpl, XACMLPolicyQueryTypeImpl

public abstract class RequestAbstractTypeImpl
extends AbstractSignableSAMLObject
implements RequestAbstractType

Concrete implementation of RequestAbstractType.


Field Summary
 
Fields inherited from interface org.opensaml.saml2.core.RequestAbstractType
CONSENT_ATTRIB_NAME, DESTINATION_ATTRIB_NAME, EXPLICIT_CONSENT, ID_ATTRIB_NAME, IMPLICIT_CONSENT, INAPPLICABLE_CONSENT, ISSUE_INSTANT_ATTRIB_NAME, OBTAINED_CONSENT, PRIOR_CONSENT, TYPE_LOCAL_NAME, TYPE_NAME, UNAVAILABLE_CONSENT, UNSPECIFIED_CONSENT, VERSION_ATTRIB_NAME
 
Constructor Summary
protected RequestAbstractTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 String getConsent()
          Gets the consent obtained from the principal for sending this request.
 String getDestination()
          Gets the URI of the destination of the request.
 Extensions getExtensions()
          Gets the Extensions of this request.
 String getID()
          Gets the unique identifier of the request.
 org.joda.time.DateTime getIssueInstant()
          Gets the date/time the request was issued.
 Issuer getIssuer()
          Gets the issuer of this request.
 List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 String getSignatureReferenceID()
          Gets the value of the ID attribute for this SAML object which will be used as its signature reference.
 SAMLVersion getVersion()
          Gets the SAML Version of this request.
 void setConsent(String newConsent)
          Sets the consent obtained from the principal for sending this request.
 void setDestination(String newDestination)
          Sets the URI of the destination of the request.
 void setExtensions(Extensions newExtensions)
          Sets the Extensions of this request.
 void setID(String newID)
          Sets the unique identifier of the request.
 void setIssueInstant(org.joda.time.DateTime newIssueInstant)
          Sets the date/time the request was issued.
 void setIssuer(Issuer newIssuer)
          Sets the issuer of this request.
 void setVersion(SAMLVersion newVersion)
          Sets the SAML Version of this request.
 
Methods inherited from class org.opensaml.common.impl.AbstractSignableSAMLObject
equals, prepareForAssignment, setSignature
 
Methods inherited from class org.opensaml.xml.AbstractValidatingSignableXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.signature.AbstractSignableXMLObject
getSignature, isSigned
 
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, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.signature.SignableXMLObject
getSignature, isSigned, setSignature
 
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
 

Constructor Detail

RequestAbstractTypeImpl

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

getVersion

public SAMLVersion getVersion()
Gets the SAML Version of this request.

Specified by:
getVersion in interface RequestAbstractType
Returns:
the SAML Version of this request.

setVersion

public void setVersion(SAMLVersion newVersion)
Sets the SAML Version of this request.

Specified by:
setVersion in interface RequestAbstractType
Parameters:
newVersion - the SAML Version of this request

getID

public String getID()
Gets the unique identifier of the request.

Specified by:
getID in interface RequestAbstractType
Returns:
the unique identifier of the request

setID

public void setID(String newID)
Sets the unique identifier of the request.

Specified by:
setID in interface RequestAbstractType
Parameters:
newID - the unique identifier of the request

getIssueInstant

public org.joda.time.DateTime getIssueInstant()
Gets the date/time the request was issued.

Specified by:
getIssueInstant in interface RequestAbstractType
Returns:
the date/time the request was issued

setIssueInstant

public void setIssueInstant(org.joda.time.DateTime newIssueInstant)
Sets the date/time the request was issued.

Specified by:
setIssueInstant in interface RequestAbstractType
Parameters:
newIssueInstant - the date/time the request was issued

getDestination

public String getDestination()
Gets the URI of the destination of the request.

Specified by:
getDestination in interface RequestAbstractType
Returns:
the URI of the destination of the request

setDestination

public void setDestination(String newDestination)
Sets the URI of the destination of the request.

Specified by:
setDestination in interface RequestAbstractType
Parameters:
newDestination - the URI of the destination of the request

getConsent

public String getConsent()
Gets the consent obtained from the principal for sending this request.

Specified by:
getConsent in interface RequestAbstractType
Returns:
the consent obtained from the principal for sending this request

setConsent

public void setConsent(String newConsent)
Sets the consent obtained from the principal for sending this request.

Specified by:
setConsent in interface RequestAbstractType
Parameters:
newConsent - the new consent obtained from the principal for sending this request

getIssuer

public Issuer getIssuer()
Gets the issuer of this request.

Specified by:
getIssuer in interface RequestAbstractType
Returns:
the issuer of this request

setIssuer

public void setIssuer(Issuer newIssuer)
Sets the issuer of this request.

Specified by:
setIssuer in interface RequestAbstractType
Parameters:
newIssuer - the issuer of this request

getExtensions

public Extensions getExtensions()
Gets the Extensions of this request.

Specified by:
getExtensions in interface RequestAbstractType
Returns:
the Status of this request

setExtensions

public void setExtensions(Extensions newExtensions)
Sets the Extensions of this request.

Specified by:
setExtensions in interface RequestAbstractType
Parameters:
newExtensions - the Extensions of this request

getSignatureReferenceID

public String getSignatureReferenceID()
Gets the value of the ID attribute for this SAML object which will be used as its signature reference.

Specified by:
getSignatureReferenceID in interface SignableSAMLObject
Returns:
the value of this SAMLObject ID attribute

getOrderedChildren

public List<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject


Copyright © 2006-2011 Internet2. All Rights Reserved.