Record Class ColumnInfoDto
java.lang.Object
java.lang.Record
ch.nolix.systemapi.midschemainfo.model.ColumnInfoDto
- Record Components:
id-name-oneBasedOrdinalIndex-fieldType-dataType-
-
Constructor Summary
ConstructorsConstructorDescriptionColumnInfoDto(String id, String name, int oneBasedOrdinalIndex, FieldType fieldType, DataType dataType) Creates an instance of aColumnInfoDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptiondataType()Returns the value of thedataTyperecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldTyperecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.name()Returns the value of thenamerecord component.intReturns the value of theoneBasedOrdinalIndexrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ColumnInfoDto
public ColumnInfoDto(String id, String name, int oneBasedOrdinalIndex, FieldType fieldType, DataType dataType) Creates an instance of aColumnInfoDtorecord class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componentoneBasedOrdinalIndex- the value for theoneBasedOrdinalIndexrecord componentfieldType- the value for thefieldTyperecord componentdataType- the value for thedataTyperecord 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. -
id
-
name
-
oneBasedOrdinalIndex
public int oneBasedOrdinalIndex()Returns the value of theoneBasedOrdinalIndexrecord component.- Returns:
- the value of the
oneBasedOrdinalIndexrecord component
-
fieldType
-
dataType
-