Record Class ColumnDto
java.lang.Object
java.lang.Record
ch.nolix.systemapi.midschema.model.ColumnDto
public record ColumnDto(String id, String name, FieldType fieldType, DataType dataType, IContainer<String> referenceableTableIds, IContainer<String> backReferenceableColumnIds)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionColumnDto(String id, String name, FieldType fieldType, DataType dataType, IContainer<String> referenceableTableIds, IContainer<String> backReferenceableColumnIds) Creates an instance of aColumnDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebackReferenceableColumnIdsrecord component.dataType()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.Returns the value of thereferenceableTableIdsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ColumnDto
public ColumnDto(String id, String name, FieldType fieldType, DataType dataType, IContainer<String> referenceableTableIds, IContainer<String> backReferenceableColumnIds) Creates an instance of aColumnDtorecord class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componentfieldType- the value for thefieldTyperecord componentdataType- the value for thedataTyperecord componentreferenceableTableIds- the value for thereferenceableTableIdsrecord componentbackReferenceableColumnIds- the value for thebackReferenceableColumnIdsrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
fieldType
Returns the value of thefieldTyperecord component.- Returns:
- the value of the
fieldTyperecord component
-
dataType
Returns the value of thedataTyperecord component.- Returns:
- the value of the
dataTyperecord component
-
referenceableTableIds
Returns the value of thereferenceableTableIdsrecord component.- Returns:
- the value of the
referenceableTableIdsrecord component
-
backReferenceableColumnIds
Returns the value of thebackReferenceableColumnIdsrecord component.- Returns:
- the value of the
backReferenceableColumnIdsrecord component
-