Record Class ExportActionResource.ExportData
java.lang.Object
java.lang.Record
ch.tocco.nice2.reporting.impl.action.export.ExportActionResource.ExportData
- Enclosing class:
ExportActionResource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
archive()
Returns the value of thearchive
record component.final boolean
Indicates whether some other object is "equal to" this one.filename()
Returns the value of thefilename
record component.Returns the value of theformatKey
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelanguageKey
record component.paths()
Returns the value of thepaths
record component.boolean
Returns the value of theprintFieldNames
record component.final String
toString()
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 aExportData
record class.- Parameters:
paths
- the value for thepaths
record componentprintFieldNames
- the value for theprintFieldNames
record componentlanguageKey
- the value for thelanguageKey
record componentformatKey
- the value for theformatKey
record componentfilename
- the value for thefilename
record componentarchive
- the value for thearchive
record 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 thepaths
record component.- Returns:
- the value of the
paths
record component
-
printFieldNames
public boolean printFieldNames()Returns the value of theprintFieldNames
record component.- Returns:
- the value of the
printFieldNames
record component
-
languageKey
Returns the value of thelanguageKey
record component.- Returns:
- the value of the
languageKey
record component
-
formatKey
Returns the value of theformatKey
record component.- Returns:
- the value of the
formatKey
record component
-
filename
Returns the value of thefilename
record component.- Returns:
- the value of the
filename
record component
-
archive
public boolean archive()Returns the value of thearchive
record component.- Returns:
- the value of the
archive
record component
-