Class ExtendDocumentDTO
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.ExtendDocumentDTO
- All Implemented Interfaces:
Serializable
public class ExtendDocumentDTO extends Object implements Serializable
This class is a DTO to transfer required objects to execute extendDocument method
It's only possible to transfer an object by POST and REST.
It's impossible to transfer big objects by GET (url size limitation)
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ExtendDocumentDTO()
Empty documentExtendDocumentDTO(RemoteDocument toExtendDocument, RemoteSignatureParameters parameters)
Default constructor -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
RemoteSignatureParameters
getParameters()
Gets the extension parametersRemoteDocument
getToExtendDocument()
Gets the document to be extendedint
hashCode()
void
setParameters(RemoteSignatureParameters parameters)
Sets the extension parametersvoid
setToExtendDocument(RemoteDocument toExtendDocument)
Sets the document to be extendedString
toString()
-
Constructor Details
-
ExtendDocumentDTO
public ExtendDocumentDTO()Empty document -
ExtendDocumentDTO
Default constructor- Parameters:
toExtendDocument
-RemoteDocument
parameters
-RemoteSignatureParameters
-
-
Method Details
-
getToExtendDocument
Gets the document to be extended- Returns:
RemoteDocument
-
setToExtendDocument
Sets the document to be extended- Parameters:
toExtendDocument
-RemoteDocument
-
getParameters
Gets the extension parameters- Returns:
RemoteSignatureParameters
-
setParameters
Sets the extension parameters- Parameters:
parameters
-RemoteSignatureParameters
-
toString
-
hashCode
public int hashCode() -
equals
-