Record Class ExportActionResource.ExportData
java.lang.Object
java.lang.Record
ch.tocco.nice2.reporting.impl.action.export.ExportActionResource.ExportData
- Enclosing class:
ExportActionResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanarchive()Returns the value of thearchiverecord component.final booleanIndicates whether some other object is "equal to" this one.filename()Returns the value of thefilenamerecord component.Returns the value of theformatKeyrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelanguageKeyrecord component.paths()Returns the value of thepathsrecord component.booleanReturns the value of theprintFieldNamesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExportData
public ExportData(Map<String, String> paths, boolean printFieldNames, String languageKey, String formatKey, String filename, boolean archive) Creates an instance of aExportDatarecord class.- Parameters:
paths- the value for thepathsrecord componentprintFieldNames- the value for theprintFieldNamesrecord componentlanguageKey- the value for thelanguageKeyrecord componentformatKey- the value for theformatKeyrecord componentfilename- the value for thefilenamerecord componentarchive- the value for thearchiverecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
paths
Returns the value of thepathsrecord component.- Returns:
- the value of the
pathsrecord component
-
printFieldNames
public boolean printFieldNames()Returns the value of theprintFieldNamesrecord component.- Returns:
- the value of the
printFieldNamesrecord component
-
languageKey
Returns the value of thelanguageKeyrecord component.- Returns:
- the value of the
languageKeyrecord component
-
formatKey
Returns the value of theformatKeyrecord component.- Returns:
- the value of the
formatKeyrecord component
-
filename
Returns the value of thefilenamerecord component.- Returns:
- the value of the
filenamerecord component
-
archive
public boolean archive()Returns the value of thearchiverecord component.- Returns:
- the value of the
archiverecord component
-