Package io.mateu.dtos
Record Class GridGroupColumnDto
java.lang.Object
java.lang.Record
io.mateu.dtos.GridGroupColumnDto
- All Implemented Interfaces:
ComponentMetadataDto
public record GridGroupColumnDto(String id, String label, String style, String cssClasses, List<GridColumnDto> columns)
extends Record
implements ComponentMetadataDto
Metadata for a html element
-
Constructor Summary
ConstructorsConstructorDescriptionGridGroupColumnDto(String id, String label, String style, String cssClasses, List<GridColumnDto> columns) Creates an instance of aGridGroupColumnDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptioncolumns()Returns the value of thecolumnsrecord component.Returns the value of thecssClassesrecord 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.label()Returns the value of thelabelrecord component.style()Returns the value of thestylerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GridGroupColumnDto
public GridGroupColumnDto(String id, String label, String style, String cssClasses, List<GridColumnDto> columns) Creates an instance of aGridGroupColumnDtorecord class.- Parameters:
id- the value for theidrecord componentlabel- the value for thelabelrecord componentstyle- the value for thestylerecord componentcssClasses- the value for thecssClassesrecord componentcolumns- the value for thecolumnsrecord 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. 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
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
style
Returns the value of thestylerecord component.- Returns:
- the value of the
stylerecord component
-
cssClasses
Returns the value of thecssClassesrecord component.- Returns:
- the value of the
cssClassesrecord component
-
columns
Returns the value of thecolumnsrecord component.- Returns:
- the value of the
columnsrecord component
-