Record Class ExportActionResource.ExportData

java.lang.Object
java.lang.Record
ch.tocco.nice2.reporting.impl.action.export.ExportActionResource.ExportData
Enclosing class:
ExportActionResource

public static record ExportActionResource.ExportData(Map<String,String> paths, boolean printFieldNames, String languageKey, String formatKey, String filename, boolean archive) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExportData(Map<String,String> paths, boolean printFieldNames, String languageKey, String formatKey, String filename, boolean archive)
    Creates an instance of a ExportData record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns the value of the archive record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the filename record component.
    Returns the value of the formatKey record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the languageKey record component.
    Returns the value of the paths record component.
    boolean
    Returns the value of the printFieldNames record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ExportData

      public ExportData(Map<String,String> paths, boolean printFieldNames, String languageKey, String formatKey, String filename, boolean archive)
      Creates an instance of a ExportData record class.
      Parameters:
      paths - the value for the paths record component
      printFieldNames - the value for the printFieldNames record component
      languageKey - the value for the languageKey record component
      formatKey - the value for the formatKey record component
      filename - the value for the filename record component
      archive - the value for the archive record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • paths

      public Map<String,String> paths()
      Returns the value of the paths record component.
      Returns:
      the value of the paths record component
    • printFieldNames

      public boolean printFieldNames()
      Returns the value of the printFieldNames record component.
      Returns:
      the value of the printFieldNames record component
    • languageKey

      public String languageKey()
      Returns the value of the languageKey record component.
      Returns:
      the value of the languageKey record component
    • formatKey

      public String formatKey()
      Returns the value of the formatKey record component.
      Returns:
      the value of the formatKey record component
    • filename

      public String filename()
      Returns the value of the filename record component.
      Returns:
      the value of the filename record component
    • archive

      public boolean archive()
      Returns the value of the archive record component.
      Returns:
      the value of the archive record component