Class SADRequestImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- se.litsec.swedisheid.opensaml.saml2.signservice.sap.impl.SADRequestImpl
-
- All Implemented Interfaces:
XMLObject,SAMLObject,SADRequest
public class SADRequestImpl extends AbstractXMLObject implements SADRequest
Implementation class for theSADRequestinterface.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
-
-
Field Summary
-
Fields inherited from interface se.litsec.swedisheid.opensaml.saml2.signservice.sap.SADRequest
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, DOC_COUNT_LOCAL_NAME, ID_ATTRIB_NAME, REQUESTED_VERSION_LOCAL_NAME, REQUESTER_ID_LOCAL_NAME, SIGN_REQUEST_ID_LOCAL_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSADRequestImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetDocCount()Returns the number of requested signatures in the associated sign request.StringgetID()Returns the ID attribute of thisSADRequest.List<XMLObject>getOrderedChildren()SADVersiongetRequestedVersion()Returns the requested version of the SAD.StringgetRequesterID()Returns the requester ID (entityID of the SP requesting the SAD).RequestParamsgetRequestParams()Returns theRequestParamselement.StringgetSignRequestID()Returns the value of theRequestIDattribute of the associatedSignRequest.voidsetDocCount(Integer docCount)Assigns the number of requested signatures in the associated sign request.voidsetDocCount(XSInteger docCount)Assigns theDocCountelement.voidsetID(String id)Assigns the ID of thisSADRequest.voidsetRequestedVersion(XSString sadVersion)Assigns the requested version as a string.voidsetRequestedVersion(SADVersion sadVersion)Assigns the requested version of the SAD.voidsetRequesterID(String requesterID)Assigns the requester ID (entityID of the SP requesting the SAD).voidsetRequesterID(XSString requesterID)Assigns the requester ID as aXSStringstring type.voidsetRequestParams(RequestParams requestParams)Assigns theRequestParamselement.voidsetSignRequestID(String signRequestID)Assigns the value of theRequestIDattribute of the associatedSignRequest.voidsetSignRequestID(XSString signRequestID)Assigns the sign request as aXSStringstring type.-
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
-
-
-
Constructor Detail
-
SADRequestImpl
protected SADRequestImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
getID
public String getID()
Returns the ID attribute of thisSADRequest.- Specified by:
getIDin interfaceSADRequest- Returns:
- the ID of this SAD request
-
setID
public void setID(String id)
Assigns the ID of thisSADRequest.- Specified by:
setIDin interfaceSADRequest- Parameters:
id- the ID of this SAD request
-
getRequesterID
public String getRequesterID()
Returns the requester ID (entityID of the SP requesting the SAD).- Specified by:
getRequesterIDin interfaceSADRequest- Returns:
- the entityID of the requester
-
setRequesterID
public void setRequesterID(String requesterID)
Assigns the requester ID (entityID of the SP requesting the SAD).- Specified by:
setRequesterIDin interfaceSADRequest- Parameters:
requesterID- the entityID of the requester
-
setRequesterID
public void setRequesterID(XSString requesterID)
Assigns the requester ID as aXSStringstring type.- Parameters:
requesterID- the requester ID
-
getSignRequestID
public String getSignRequestID()
Returns the value of theRequestIDattribute of the associatedSignRequest.- Specified by:
getSignRequestIDin interfaceSADRequest- Returns:
- the signature request ID
-
setSignRequestID
public void setSignRequestID(String signRequestID)
Assigns the value of theRequestIDattribute of the associatedSignRequest.- Specified by:
setSignRequestIDin interfaceSADRequest- Parameters:
signRequestID- the signature request ID
-
setSignRequestID
public void setSignRequestID(XSString signRequestID)
Assigns the sign request as aXSStringstring type.- Parameters:
signRequestID- the sign request id
-
getDocCount
public Integer getDocCount()
Returns the number of requested signatures in the associated sign request.- Specified by:
getDocCountin interfaceSADRequest- Returns:
- the document count
-
setDocCount
public void setDocCount(Integer docCount)
Assigns the number of requested signatures in the associated sign request.- Specified by:
setDocCountin interfaceSADRequest- Parameters:
docCount- the document count
-
setDocCount
public void setDocCount(XSInteger docCount)
Assigns theDocCountelement.- Parameters:
docCount- the document count
-
getRequestedVersion
public SADVersion getRequestedVersion()
Returns the requested version of the SAD.- Specified by:
getRequestedVersionin interfaceSADRequest- Returns:
- the SAD version
-
setRequestedVersion
public void setRequestedVersion(SADVersion sadVersion)
Assigns the requested version of the SAD.- Specified by:
setRequestedVersionin interfaceSADRequest- Parameters:
sadVersion- the SAD version
-
setRequestedVersion
public void setRequestedVersion(XSString sadVersion)
Assigns the requested version as a string.- Parameters:
sadVersion- the requested SAD version
-
getRequestParams
public RequestParams getRequestParams()
Returns theRequestParamselement.- Specified by:
getRequestParamsin interfaceSADRequest- Returns:
- the
RequestParams, ornull
-
setRequestParams
public void setRequestParams(RequestParams requestParams)
Assigns theRequestParamselement.- Specified by:
setRequestParamsin interfaceSADRequest- Parameters:
requestParams- theRequestParams
-
-