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 thearrayIndex
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefullSedaPath
record component.Returns the value of thefullSedaPathWithoutLastArrayIndex
record component.final int
hashCode()
Returns a hash code value for this object.boolean
boolean
Returns the value of theisDeclaredAsObject
record component.Returns the value of theparentFullSedaPath
record component.Returns the value of theparentSimpleSedaPath
record component.Returns the value of thesedaFieldName
record component.Returns the value of thesimpleSedaPath
record component.final String
toString()
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 aFieldEntry
record class.- Parameters:
sedaFieldName
- the value for thesedaFieldName
record componentarrayIndex
- the value for thearrayIndex
record componentisDeclaredAsObject
- the value for theisDeclaredAsObject
record componentsimpleSedaPath
- the value for thesimpleSedaPath
record componentfullSedaPath
- the value for thefullSedaPath
record componentfullSedaPathWithoutLastArrayIndex
- the value for thefullSedaPathWithoutLastArrayIndex
record componentparentFullSedaPath
- the value for theparentFullSedaPath
record componentparentSimpleSedaPath
- the value for theparentSimpleSedaPath
record 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 thesedaFieldName
record component.- Returns:
- the value of the
sedaFieldName
record component
-
arrayIndex
Returns the value of thearrayIndex
record component.- Returns:
- the value of the
arrayIndex
record component
-
isDeclaredAsObject
public boolean isDeclaredAsObject()Returns the value of theisDeclaredAsObject
record component.- Returns:
- the value of the
isDeclaredAsObject
record component
-
simpleSedaPath
Returns the value of thesimpleSedaPath
record component.- Returns:
- the value of the
simpleSedaPath
record component
-
fullSedaPath
Returns the value of thefullSedaPath
record component.- Returns:
- the value of the
fullSedaPath
record component
-
fullSedaPathWithoutLastArrayIndex
Returns the value of thefullSedaPathWithoutLastArrayIndex
record component.- Returns:
- the value of the
fullSedaPathWithoutLastArrayIndex
record component
-
parentFullSedaPath
Returns the value of theparentFullSedaPath
record component.- Returns:
- the value of the
parentFullSedaPath
record component
-
parentSimpleSedaPath
Returns the value of theparentSimpleSedaPath
record component.- Returns:
- the value of the
parentSimpleSedaPath
record component
-