Record Class CsvHeaderFieldNameIterable.FieldEntry
java.lang.Object
java.lang.Record
fr.gouv.vitam.collect.internal.core.csv.CsvHeaderFieldNameIterable.FieldEntry
- Enclosing class:
- CsvHeaderFieldNameIterable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thearrayIndexrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefullSedaPathrecord component.Returns the value of thefullSedaPathWithoutLastArrayIndexrecord component.final inthashCode()Returns a hash code value for this object.booleanbooleanReturns the value of theisDeclaredAsObjectrecord component.Returns the value of theparentFullSedaPathrecord component.Returns the value of theparentSimpleSedaPathrecord component.Returns the value of thesedaFieldNamerecord component.Returns the value of thesimpleSedaPathrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aFieldEntryrecord class.- Parameters:
sedaFieldName- the value for thesedaFieldNamerecord componentarrayIndex- the value for thearrayIndexrecord componentisDeclaredAsObject- the value for theisDeclaredAsObjectrecord componentsimpleSedaPath- the value for thesimpleSedaPathrecord componentfullSedaPath- the value for thefullSedaPathrecord componentfullSedaPathWithoutLastArrayIndex- the value for thefullSedaPathWithoutLastArrayIndexrecord componentparentFullSedaPath- the value for theparentFullSedaPathrecord componentparentSimpleSedaPath- the value for theparentSimpleSedaPathrecord component
-
-
Method Details
-
isDeclaredAsArray
public boolean isDeclaredAsArray() -
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 '=='. -
sedaFieldName
Returns the value of thesedaFieldNamerecord component.- Returns:
- the value of the
sedaFieldNamerecord component
-
arrayIndex
Returns the value of thearrayIndexrecord component.- Returns:
- the value of the
arrayIndexrecord component
-
isDeclaredAsObject
public boolean isDeclaredAsObject()Returns the value of theisDeclaredAsObjectrecord component.- Returns:
- the value of the
isDeclaredAsObjectrecord component
-
simpleSedaPath
Returns the value of thesimpleSedaPathrecord component.- Returns:
- the value of the
simpleSedaPathrecord component
-
fullSedaPath
Returns the value of thefullSedaPathrecord component.- Returns:
- the value of the
fullSedaPathrecord component
-
fullSedaPathWithoutLastArrayIndex
Returns the value of thefullSedaPathWithoutLastArrayIndexrecord component.- Returns:
- the value of the
fullSedaPathWithoutLastArrayIndexrecord component
-
parentFullSedaPath
Returns the value of theparentFullSedaPathrecord component.- Returns:
- the value of the
parentFullSedaPathrecord component
-
parentSimpleSedaPath
Returns the value of theparentSimpleSedaPathrecord component.- Returns:
- the value of the
parentSimpleSedaPathrecord component
-