Record Class TableViewDto
java.lang.Object
java.lang.Record
ch.nolix.systemapi.midschemaview.model.TableViewDto
- Record Components:
id-name-columnViews-
public record TableViewDto(String id, String name, IContainer<ColumnViewDto> columnViews)
extends Record
- Author:
- Silvan Wyss
-
Constructor Summary
ConstructorsConstructorDescriptionTableViewDto(String id, String name, IContainer<ColumnViewDto> columnViews) Creates an instance of aTableViewDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecolumnViewsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TableViewDto
Creates an instance of aTableViewDtorecord class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componentcolumnViews- the value for thecolumnViewsrecord 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
-
name
-
columnViews
Returns the value of thecolumnViewsrecord component.- Returns:
- the value of the
columnViewsrecord component
-