public class SADRequestImpl extends AbstractSAMLObject implements SADRequest
SADRequest
interface.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
Modifier | Constructor and Description |
---|---|
protected |
SADRequestImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getDocCount()
Returns the number of requested signatures in the associated sign request.
|
String |
getID()
Returns the ID attribute of this
SADRequest . |
List<XMLObject> |
getOrderedChildren() |
SADVersion |
getRequestedVersion()
Returns the requested version of the SAD.
|
String |
getRequesterID()
Returns the requester ID (entityID of the SP requesting the SAD).
|
RequestParams |
getRequestParams()
Returns the
RequestParams element. |
String |
getSignRequestID()
Returns the value of the
RequestID attribute of the associated SignRequest . |
void |
setDocCount(Integer docCount)
Assigns the number of requested signatures in the associated sign request.
|
void |
setDocCount(XSInteger docCount)
Assigns the
DocCount element. |
void |
setID(String id)
Assigns the ID of this
SADRequest . |
void |
setRequestedVersion(SADVersion sadVersion)
Assigns the requested version of the SAD.
|
void |
setRequestedVersion(XSString sadVersion)
Assigns the requested version as a string.
|
void |
setRequesterID(String requesterID)
Assigns the requester ID (entityID of the SP requesting the SAD).
|
void |
setRequesterID(XSString requesterID)
Assigns the requester ID as a
XSString string type. |
void |
setRequestParams(RequestParams requestParams)
Assigns the
RequestParams element. |
void |
setSignRequestID(String signRequestID)
Assigns the value of the
RequestID attribute of the associated SignRequest . |
void |
setSignRequestID(XSString signRequestID)
Assigns the sign request as a
XSString string type. |
equals, hashCode, prepareForAssignment
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
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
protected SADRequestImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespacepublic List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
public String getID()
SADRequest
.getID
in interface SADRequest
public void setID(String id)
SADRequest
.setID
in interface SADRequest
id
- the ID of this SAD requestpublic String getRequesterID()
getRequesterID
in interface SADRequest
public void setRequesterID(String requesterID)
setRequesterID
in interface SADRequest
requesterID
- the entityID of the requesterpublic void setRequesterID(XSString requesterID)
XSString
string type.requesterID
- the requester IDpublic String getSignRequestID()
RequestID
attribute of the associated SignRequest
.getSignRequestID
in interface SADRequest
public void setSignRequestID(String signRequestID)
RequestID
attribute of the associated SignRequest
.setSignRequestID
in interface SADRequest
signRequestID
- the signature request IDpublic void setSignRequestID(XSString signRequestID)
XSString
string type.signRequestID
- the sign request idpublic Integer getDocCount()
getDocCount
in interface SADRequest
public void setDocCount(Integer docCount)
setDocCount
in interface SADRequest
docCount
- the document countpublic void setDocCount(XSInteger docCount)
DocCount
element.docCount
- the document countpublic SADVersion getRequestedVersion()
getRequestedVersion
in interface SADRequest
public void setRequestedVersion(SADVersion sadVersion)
setRequestedVersion
in interface SADRequest
sadVersion
- the SAD versionpublic void setRequestedVersion(XSString sadVersion)
sadVersion
- the requested SAD versionpublic RequestParams getRequestParams()
RequestParams
element.getRequestParams
in interface SADRequest
RequestParams
, or null
public void setRequestParams(RequestParams requestParams)
RequestParams
element.setRequestParams
in interface SADRequest
requestParams
- the RequestParams
Copyright © 2018 Litsec AB. All rights reserved.