Record Class SedaSchemaInfo
java.lang.Object
java.lang.Record
fr.gouv.vitam.collect.internal.core.csv.SedaSchemaInfo
-
Constructor Summary
ConstructorsConstructorDescriptionSedaSchemaInfo
(String sedaPath, String apiPath, String apiSubPath, boolean isObject, boolean isArray, boolean isExternal, boolean isSedaExtensionPoint, boolean isSpecialRulePropertyArrayIndex, boolean isForbiddenCsvHeader) Creates an instance of aSedaSchemaInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionapiPath()
Returns the value of theapiPath
record component.Returns the value of theapiSubPath
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
isArray()
Returns the value of theisArray
record component.boolean
Returns the value of theisExternal
record component.boolean
Returns the value of theisForbiddenCsvHeader
record component.boolean
isObject()
Returns the value of theisObject
record component.boolean
Returns the value of theisSedaExtensionPoint
record component.boolean
Returns the value of theisSpecialRulePropertyArrayIndex
record component.sedaPath()
Returns the value of thesedaPath
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
SedaSchemaInfo
public SedaSchemaInfo(String sedaPath, String apiPath, String apiSubPath, boolean isObject, boolean isArray, boolean isExternal, boolean isSedaExtensionPoint, boolean isSpecialRulePropertyArrayIndex, boolean isForbiddenCsvHeader) Creates an instance of aSedaSchemaInfo
record class.- Parameters:
sedaPath
- the value for thesedaPath
record componentapiPath
- the value for theapiPath
record componentapiSubPath
- the value for theapiSubPath
record componentisObject
- the value for theisObject
record componentisArray
- the value for theisArray
record componentisExternal
- the value for theisExternal
record componentisSedaExtensionPoint
- the value for theisSedaExtensionPoint
record componentisSpecialRulePropertyArrayIndex
- the value for theisSpecialRulePropertyArrayIndex
record componentisForbiddenCsvHeader
- the value for theisForbiddenCsvHeader
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 '=='. -
sedaPath
Returns the value of thesedaPath
record component.- Returns:
- the value of the
sedaPath
record component
-
apiPath
Returns the value of theapiPath
record component.- Returns:
- the value of the
apiPath
record component
-
apiSubPath
Returns the value of theapiSubPath
record component.- Returns:
- the value of the
apiSubPath
record component
-
isObject
public boolean isObject()Returns the value of theisObject
record component.- Returns:
- the value of the
isObject
record component
-
isArray
public boolean isArray()Returns the value of theisArray
record component.- Returns:
- the value of the
isArray
record component
-
isExternal
public boolean isExternal()Returns the value of theisExternal
record component.- Returns:
- the value of the
isExternal
record component
-
isSedaExtensionPoint
public boolean isSedaExtensionPoint()Returns the value of theisSedaExtensionPoint
record component.- Returns:
- the value of the
isSedaExtensionPoint
record component
-
isSpecialRulePropertyArrayIndex
public boolean isSpecialRulePropertyArrayIndex()Returns the value of theisSpecialRulePropertyArrayIndex
record component.- Returns:
- the value of the
isSpecialRulePropertyArrayIndex
record component
-
isForbiddenCsvHeader
public boolean isForbiddenCsvHeader()Returns the value of theisForbiddenCsvHeader
record component.- Returns:
- the value of the
isForbiddenCsvHeader
record component
-