Record Class HeaderMapper.LayoutResult
java.lang.Object
java.lang.Record
com.raphaelsalles.backend.domain.service.importer.csv.HeaderMapper.LayoutResult
- Enclosing class:
HeaderMapper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for theisFallbackrecord component.The field for themaprecord component.private final IntegerThe field for thescaleIndexrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionLayoutResult(Map<String, Integer> map, boolean isFallback, Integer scaleIndex) Creates an instance of aLayoutResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisFallbackrecord component.map()Returns the value of themaprecord component.Returns the value of thescaleIndexrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
map
-
isFallback
private final boolean isFallbackThe field for theisFallbackrecord component. -
scaleIndex
The field for thescaleIndexrecord component.
-
-
Constructor Details
-
LayoutResult
Creates an instance of aLayoutResultrecord class.- Parameters:
map- the value for themaprecord componentisFallback- the value for theisFallbackrecord componentscaleIndex- the value for thescaleIndexrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
map
-
isFallback
public boolean isFallback()Returns the value of theisFallbackrecord component.- Returns:
- the value of the
isFallbackrecord component
-
scaleIndex
Returns the value of thescaleIndexrecord component.- Returns:
- the value of the
scaleIndexrecord component
-