Record Class PoiTlWordRenderer.RenderResult
java.lang.Object
java.lang.Record
com.sankcrm.erp.contract.infrastructure.template.word.PoiTlWordRenderer.RenderResult
- Enclosing class:
PoiTlWordRenderer
public static record PoiTlWordRenderer.RenderResult(Path docx, WordTemplateValidationResult validation)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRenderResult(Path docx, WordTemplateValidationResult validation) Creates an instance of aRenderResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondocx()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.final StringtoString()Returns a string representation of this record class.Returns the value of thevalidationrecord component.
-
Constructor Details
-
RenderResult
Creates an instance of aRenderResultrecord class.- Parameters:
docx- the value for thedocxrecord componentvalidation- the value for thevalidationrecord 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
-
validation
Returns the value of thevalidationrecord component.- Returns:
- the value of the
validationrecord component
-