Package io.vertigo.quarto.exporter.model
Record Class Export
java.lang.Object
java.lang.Record
io.vertigo.quarto.exporter.model.Export
public record Export(ExportFormat format, String fileName, String title, String author, Export.Orientation orientation, List<ExportSheet> sheets)
extends Record
Données à exporter.
- Author:
- pchretien
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionExport(ExportFormat format, String fileName, String title, String author, Export.Orientation orientation, List<ExportSheet> sheets) Creates an instance of aExportrecord class. -
Method Summary
Modifier and TypeMethodDescriptionauthor()Returns the value of theauthorrecord component.final booleanIndicates whether some other object is "equal to" this one.fileName()Returns the value of thefileNamerecord component.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theorientationrecord component.sheets()Returns the value of thesheetsrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Export
public Export(ExportFormat format, String fileName, String title, String author, Export.Orientation orientation, List<ExportSheet> sheets) Creates an instance of aExportrecord class.- Parameters:
format- the value for theformatrecord componentfileName- the value for thefileNamerecord componenttitle- the value for thetitlerecord componentauthor- the value for theauthorrecord componentorientation- the value for theorientationrecord componentsheets- the value for thesheetsrecord 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). -
format
Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-
fileName
Returns the value of thefileNamerecord component.- Returns:
- the value of the
fileNamerecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
author
Returns the value of theauthorrecord component.- Returns:
- the value of the
authorrecord component
-
orientation
Returns the value of theorientationrecord component.- Returns:
- the value of the
orientationrecord component
-
sheets
Returns the value of thesheetsrecord component.- Returns:
- the value of the
sheetsrecord component
-