Package es.gob.afirma.integraws.beans
Class ValidationResultWS
- java.lang.Object
-
- es.gob.afirma.integraws.beans.ValidationResultWS
-
public class ValidationResultWS extends java.lang.ObjectClass that contains all the information related to the result of a signature validation process executed via web service.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.3, 13/04/2020.
-
-
Constructor Summary
Constructors Constructor Description ValidationResultWS()Constructor method for the class ValidationResultWS.java.ValidationResultWS(PDFValidationResult pdfValidationResult)Constructor method for the class ValidationResultWS.java.ValidationResultWS(ValidationResult validationResult)Constructor method for the class ValidationResultWS.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetErrorMsg()Gets the value of the attributeerrorMsg.java.util.DategetExpirationDate()Gets the value of the attributeexpirationDate.java.util.List<PDFDocumentTimeStampDictionaryValidationResultWS>getListPDFDocumentTimeStampDictionariesValidationResults()Gets the value of the attributelistPDFDocumentTimeStampDictionariesValidationResults.java.util.List<PDFSignatureDictionaryValidationResultWS>getListPDFSignatureDictionariesValidationResults()Gets the value of the attributelistPDFSignatureDictionariesValidationResults.java.lang.StringgetPdfSignatureFormat()Gets the value of the attributepdfSignatureFormat.java.util.List<SignerValidationResultWS>getSignersList()Gets the value of the attributesignersList.booleanisCorrect()Gets the value of the attributeisCorrect.booleanisIntegrallyCorrect()Gets the value of the attributeisIntegrallyCorrect.booleanisPDF()Gets the value of the attributeisPDF.voidsetCorrect(boolean isCorrectParam)Sets the value of the attributeisCorrect.voidsetErrorMsg(java.lang.String errorMsgParam)Sets the value of the attributeerrorMsg.voidsetExpirationDate(java.util.Date expirationDateParam)Sets the value of the attributeexpirationDate.voidsetIntegrallyCorrect(boolean isIntegrallyCorrectParam)Sets the value of the attributeisIntegrallyCorrect.voidsetListPDFDocumentTimeStampDictionariesValidationResults(java.util.List<PDFDocumentTimeStampDictionaryValidationResultWS> listPDFDocumentTimeStampDictionariesValidationResultsParam)Sets the value of the attributelistPDFDocumentTimeStampDictionariesValidationResults.voidsetListPDFSignatureDictionariesValidationResults(java.util.List<PDFSignatureDictionaryValidationResultWS> listPDFSignatureDictionariesValidationResultsParam)Sets the value of the attributelistPDFSignatureDictionariesValidationResults.voidsetPDF(boolean isPDFParam)Sets the value of the attributeisPDF.voidsetPdfSignatureFormat(java.lang.String pdfSignatureFormatParam)Sets the value of the attributepdfSignatureFormat.voidsetSignersList(java.util.List<SignerValidationResultWS> signersListParam)Sets the value of the attributesignersList.
-
-
-
Constructor Detail
-
ValidationResultWS
public ValidationResultWS()
Constructor method for the class ValidationResultWS.java.
-
ValidationResultWS
public ValidationResultWS(PDFValidationResult pdfValidationResult)
Constructor method for the class ValidationResultWS.java.- Parameters:
pdfValidationResult- Parameter that represents the information related to the result of a PDF document validation process.
-
ValidationResultWS
public ValidationResultWS(ValidationResult validationResult)
Constructor method for the class ValidationResultWS.java.- Parameters:
validationResult- Parameter that represents the the information related to the result of a signature validation process.
-
-
Method Detail
-
getErrorMsg
public final java.lang.String getErrorMsg()
Gets the value of the attributeerrorMsg.- Returns:
- the value of the attribute
errorMsg.
-
setErrorMsg
public final void setErrorMsg(java.lang.String errorMsgParam)
Sets the value of the attributeerrorMsg.- Parameters:
errorMsgParam- The value for the attributeerrorMsg.
-
isIntegrallyCorrect
public final boolean isIntegrallyCorrect()
Gets the value of the attributeisIntegrallyCorrect.- Returns:
- the value of the attribute
isIntegrallyCorrect.
-
setIntegrallyCorrect
public final void setIntegrallyCorrect(boolean isIntegrallyCorrectParam)
Sets the value of the attributeisIntegrallyCorrect.- Parameters:
isIntegrallyCorrectParam- The value for the attributeisIntegrallyCorrect.
-
getSignersList
public final java.util.List<SignerValidationResultWS> getSignersList()
Gets the value of the attributesignersList.- Returns:
- the value of the attribute
signersList.
-
setSignersList
public final void setSignersList(java.util.List<SignerValidationResultWS> signersListParam)
Sets the value of the attributesignersList.- Parameters:
signersListParam- The value for the attributesignersList.
-
isCorrect
public final boolean isCorrect()
Gets the value of the attributeisCorrect.- Returns:
- the value of the attribute
isCorrect.
-
setCorrect
public final void setCorrect(boolean isCorrectParam)
Sets the value of the attributeisCorrect.- Parameters:
isCorrectParam- The value for the attributeisCorrect.
-
isPDF
public final boolean isPDF()
Gets the value of the attributeisPDF.- Returns:
- the value of the attribute
isPDF.
-
setPDF
public final void setPDF(boolean isPDFParam)
Sets the value of the attributeisPDF.- Parameters:
isPDFParam- The value for the attributeisPDF.
-
getListPDFSignatureDictionariesValidationResults
public final java.util.List<PDFSignatureDictionaryValidationResultWS> getListPDFSignatureDictionariesValidationResults()
Gets the value of the attributelistPDFSignatureDictionariesValidationResults.- Returns:
- the value of the attribute
listPDFSignatureDictionariesValidationResults.
-
setListPDFSignatureDictionariesValidationResults
public final void setListPDFSignatureDictionariesValidationResults(java.util.List<PDFSignatureDictionaryValidationResultWS> listPDFSignatureDictionariesValidationResultsParam)
Sets the value of the attributelistPDFSignatureDictionariesValidationResults.- Parameters:
listPDFSignatureDictionariesValidationResultsParam- The value for the attributelistPDFSignatureDictionariesValidationResults.
-
getListPDFDocumentTimeStampDictionariesValidationResults
public final java.util.List<PDFDocumentTimeStampDictionaryValidationResultWS> getListPDFDocumentTimeStampDictionariesValidationResults()
Gets the value of the attributelistPDFDocumentTimeStampDictionariesValidationResults.- Returns:
- the value of the attribute
listPDFDocumentTimeStampDictionariesValidationResults.
-
setListPDFDocumentTimeStampDictionariesValidationResults
public final void setListPDFDocumentTimeStampDictionariesValidationResults(java.util.List<PDFDocumentTimeStampDictionaryValidationResultWS> listPDFDocumentTimeStampDictionariesValidationResultsParam)
Sets the value of the attributelistPDFDocumentTimeStampDictionariesValidationResults.- Parameters:
listPDFDocumentTimeStampDictionariesValidationResultsParam- The value for the attributelistPDFDocumentTimeStampDictionariesValidationResults.
-
getPdfSignatureFormat
public final java.lang.String getPdfSignatureFormat()
Gets the value of the attributepdfSignatureFormat.- Returns:
- the value of the attribute
pdfSignatureFormat.
-
setPdfSignatureFormat
public final void setPdfSignatureFormat(java.lang.String pdfSignatureFormatParam)
Sets the value of the attributepdfSignatureFormat.- Parameters:
pdfSignatureFormatParam- The value for the attributepdfSignatureFormat.
-
getExpirationDate
public java.util.Date getExpirationDate()
Gets the value of the attributeexpirationDate.- Returns:
- the value of the attribute
expirationDate.
-
setExpirationDate
public void setExpirationDate(java.util.Date expirationDateParam)
Sets the value of the attributeexpirationDate.- Parameters:
expirationDateParam- The value for the attributeexpirationDate.
-
-