Record Class CsvHeaderFieldNameIterable.FieldEntry

java.lang.Object
java.lang.Record
fr.gouv.vitam.collect.internal.core.csv.CsvHeaderFieldNameIterable.FieldEntry
Enclosing class:
CsvHeaderFieldNameIterable

public static record CsvHeaderFieldNameIterable.FieldEntry(String sedaFieldName, Integer arrayIndex, boolean isDeclaredAsObject, String simpleSedaPath, String fullSedaPath, String fullSedaPathWithoutLastArrayIndex, String parentFullSedaPath, String parentSimpleSedaPath) extends Record
  • Constructor Details

    • FieldEntry

      public FieldEntry(String sedaFieldName, Integer arrayIndex, boolean isDeclaredAsObject, String simpleSedaPath, String fullSedaPath, String fullSedaPathWithoutLastArrayIndex, String parentFullSedaPath, String parentSimpleSedaPath)
      Creates an instance of a FieldEntry record class.
      Parameters:
      sedaFieldName - the value for the sedaFieldName record component
      arrayIndex - the value for the arrayIndex record component
      isDeclaredAsObject - the value for the isDeclaredAsObject record component
      simpleSedaPath - the value for the simpleSedaPath record component
      fullSedaPath - the value for the fullSedaPath record component
      fullSedaPathWithoutLastArrayIndex - the value for the fullSedaPathWithoutLastArrayIndex record component
      parentFullSedaPath - the value for the parentFullSedaPath record component
      parentSimpleSedaPath - the value for the parentSimpleSedaPath record component
  • Method Details

    • isDeclaredAsArray

      public boolean isDeclaredAsArray()
    • 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.
    • sedaFieldName

      public String sedaFieldName()
      Returns the value of the sedaFieldName record component.
      Returns:
      the value of the sedaFieldName record component
    • arrayIndex

      public Integer arrayIndex()
      Returns the value of the arrayIndex record component.
      Returns:
      the value of the arrayIndex record component
    • isDeclaredAsObject

      public boolean isDeclaredAsObject()
      Returns the value of the isDeclaredAsObject record component.
      Returns:
      the value of the isDeclaredAsObject record component
    • simpleSedaPath

      public String simpleSedaPath()
      Returns the value of the simpleSedaPath record component.
      Returns:
      the value of the simpleSedaPath record component
    • fullSedaPath

      public String fullSedaPath()
      Returns the value of the fullSedaPath record component.
      Returns:
      the value of the fullSedaPath record component
    • fullSedaPathWithoutLastArrayIndex

      public String fullSedaPathWithoutLastArrayIndex()
      Returns the value of the fullSedaPathWithoutLastArrayIndex record component.
      Returns:
      the value of the fullSedaPathWithoutLastArrayIndex record component
    • parentFullSedaPath

      public String parentFullSedaPath()
      Returns the value of the parentFullSedaPath record component.
      Returns:
      the value of the parentFullSedaPath record component
    • parentSimpleSedaPath

      public String parentSimpleSedaPath()
      Returns the value of the parentSimpleSedaPath record component.
      Returns:
      the value of the parentSimpleSedaPath record component