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 booleanequals(Object obj)RemoteSignatureParametersgetParameters()Gets the extension parametersRemoteDocumentgetToExtendDocument()Gets the document to be extendedinthashCode()voidsetParameters(RemoteSignatureParameters parameters)Sets the extension parametersvoidsetToExtendDocument(RemoteDocument toExtendDocument)Sets the document to be extendedStringtoString()
-
Constructor Details
-
ExtendDocumentDTO
public ExtendDocumentDTO()Empty document -
ExtendDocumentDTO
Default constructor- Parameters:
toExtendDocument-RemoteDocumentparameters-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
-