Record Class WordTemplateProcessor.Result
java.lang.Object
java.lang.Record
com.sankcrm.erp.contract.infrastructure.template.word.WordTemplateProcessor.Result
- Enclosing class:
WordTemplateProcessor
public static record WordTemplateProcessor.Result(Path docx, Path rawPdf, Path pdf, WordTemplateValidationResult templateValidation, LibreOfficePdfConverter.ConversionResult conversion, List<PdfHyperlinkAnchorLocator.WordAnchor> anchors, GeneratedPdfValidator.Result pdfValidation)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResult(Path docx, Path rawPdf, Path pdf, WordTemplateValidationResult templateValidation, LibreOfficePdfConverter.ConversionResult conversion, List<PdfHyperlinkAnchorLocator.WordAnchor> anchors, GeneratedPdfValidator.Result pdfValidation) Creates an instance of aResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionanchors()Returns the value of theanchorsrecord component.Returns the value of theconversionrecord component.docx()Returns the value of thedocxrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pdf()Returns the value of thepdfrecord component.Returns the value of thepdfValidationrecord component.rawPdf()Returns the value of therawPdfrecord component.Returns the value of thetemplateValidationrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Result
public Result(Path docx, Path rawPdf, Path pdf, WordTemplateValidationResult templateValidation, LibreOfficePdfConverter.ConversionResult conversion, List<PdfHyperlinkAnchorLocator.WordAnchor> anchors, GeneratedPdfValidator.Result pdfValidation) Creates an instance of aResultrecord class.- Parameters:
docx- the value for thedocxrecord componentrawPdf- the value for therawPdfrecord componentpdf- the value for thepdfrecord componenttemplateValidation- the value for thetemplateValidationrecord componentconversion- the value for theconversionrecord componentanchors- the value for theanchorsrecord componentpdfValidation- the value for thepdfValidationrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
docx
Returns the value of thedocxrecord component.- Returns:
- the value of the
docxrecord component
-
rawPdf
Returns the value of therawPdfrecord component.- Returns:
- the value of the
rawPdfrecord component
-
pdf
Returns the value of thepdfrecord component.- Returns:
- the value of the
pdfrecord component
-
templateValidation
Returns the value of thetemplateValidationrecord component.- Returns:
- the value of the
templateValidationrecord component
-
conversion
Returns the value of theconversionrecord component.- Returns:
- the value of the
conversionrecord component
-
anchors
Returns the value of theanchorsrecord component.- Returns:
- the value of the
anchorsrecord component
-
pdfValidation
Returns the value of thepdfValidationrecord component.- Returns:
- the value of the
pdfValidationrecord component
-