Package io.mateu.dtos
Record Class GridColumnDto
java.lang.Object
java.lang.Record
io.mateu.dtos.GridColumnDto
- All Implemented Interfaces:
ComponentMetadataDto
public record GridColumnDto(String id, String label, String dataType, String stereotype, String style, String cssClasses, String align, boolean sortable, String sortingProperty, boolean filterable, boolean frozen, boolean frozenToEnd, boolean autoWidth, String flexGrow, boolean resizable, String width, String tooltipPath, String actionId)
extends Record
implements ComponentMetadataDto
Metadata for a html element
-
Constructor Summary
ConstructorsConstructorDescriptionGridColumnDto(String id, String label, String dataType, String stereotype, String style, String cssClasses, String align, boolean sortable, String sortingProperty, boolean filterable, boolean frozen, boolean frozenToEnd, boolean autoWidth, String flexGrow, boolean resizable, String width, String tooltipPath, String actionId) Creates an instance of aGridColumnDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionactionId()Returns the value of theactionIdrecord component.align()Returns the value of thealignrecord component.booleanReturns the value of theautoWidthrecord component.Returns the value of thecssClassesrecord component.dataType()Returns the value of thedataTyperecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thefilterablerecord component.flexGrow()Returns the value of theflexGrowrecord component.booleanfrozen()Returns the value of thefrozenrecord component.booleanReturns the value of thefrozenToEndrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.label()Returns the value of thelabelrecord component.booleanReturns the value of theresizablerecord component.booleansortable()Returns the value of thesortablerecord component.Returns the value of thesortingPropertyrecord component.Returns the value of thestereotyperecord component.style()Returns the value of thestylerecord component.Returns the value of thetooltipPathrecord component.final StringtoString()Returns a string representation of this record class.width()Returns the value of thewidthrecord component.
-
Constructor Details
-
GridColumnDto
public GridColumnDto(String id, String label, String dataType, String stereotype, String style, String cssClasses, String align, boolean sortable, String sortingProperty, boolean filterable, boolean frozen, boolean frozenToEnd, boolean autoWidth, String flexGrow, boolean resizable, String width, String tooltipPath, String actionId) Creates an instance of aGridColumnDtorecord class.- Parameters:
id- the value for theidrecord componentlabel- the value for thelabelrecord componentdataType- the value for thedataTyperecord componentstereotype- the value for thestereotyperecord componentstyle- the value for thestylerecord componentcssClasses- the value for thecssClassesrecord componentalign- the value for thealignrecord componentsortable- the value for thesortablerecord componentsortingProperty- the value for thesortingPropertyrecord componentfilterable- the value for thefilterablerecord componentfrozen- the value for thefrozenrecord componentfrozenToEnd- the value for thefrozenToEndrecord componentautoWidth- the value for theautoWidthrecord componentflexGrow- the value for theflexGrowrecord componentresizable- the value for theresizablerecord componentwidth- the value for thewidthrecord componenttooltipPath- the value for thetooltipPathrecord componentactionId- the value for theactionIdrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
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
-
dataType
Returns the value of thedataTyperecord component.- Returns:
- the value of the
dataTyperecord component
-
stereotype
Returns the value of thestereotyperecord component.- Returns:
- the value of the
stereotyperecord 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
-
align
Returns the value of thealignrecord component.- Returns:
- the value of the
alignrecord component
-
sortable
public boolean sortable()Returns the value of thesortablerecord component.- Returns:
- the value of the
sortablerecord component
-
sortingProperty
Returns the value of thesortingPropertyrecord component.- Returns:
- the value of the
sortingPropertyrecord component
-
filterable
public boolean filterable()Returns the value of thefilterablerecord component.- Returns:
- the value of the
filterablerecord component
-
frozen
public boolean frozen()Returns the value of thefrozenrecord component.- Returns:
- the value of the
frozenrecord component
-
frozenToEnd
public boolean frozenToEnd()Returns the value of thefrozenToEndrecord component.- Returns:
- the value of the
frozenToEndrecord component
-
autoWidth
public boolean autoWidth()Returns the value of theautoWidthrecord component.- Returns:
- the value of the
autoWidthrecord component
-
flexGrow
Returns the value of theflexGrowrecord component.- Returns:
- the value of the
flexGrowrecord component
-
resizable
public boolean resizable()Returns the value of theresizablerecord component.- Returns:
- the value of the
resizablerecord component
-
width
Returns the value of thewidthrecord component.- Returns:
- the value of the
widthrecord component
-
tooltipPath
Returns the value of thetooltipPathrecord component.- Returns:
- the value of the
tooltipPathrecord component
-
actionId
Returns the value of theactionIdrecord component.- Returns:
- the value of the
actionIdrecord component
-