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

    Constructors
    Constructor
    Description
    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 a GridColumnDto record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the actionId record component.
    Returns the value of the align record component.
    boolean
    Returns the value of the autoWidth record component.
    Returns the value of the cssClasses record component.
    Returns the value of the dataType record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    boolean
    Returns the value of the filterable record component.
    Returns the value of the flexGrow record component.
    boolean
    Returns the value of the frozen record component.
    boolean
    Returns the value of the frozenToEnd record component.
    final int
    Returns a hash code value for this object.
    id()
    Returns the value of the id record component.
    Returns the value of the label record component.
    boolean
    Returns the value of the resizable record component.
    boolean
    Returns the value of the sortable record component.
    Returns the value of the sortingProperty record component.
    Returns the value of the stereotype record component.
    Returns the value of the style record component.
    Returns the value of the tooltipPath record component.
    final String
    Returns a string representation of this record class.
    Returns the value of the width record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 a GridColumnDto record class.
      Parameters:
      id - the value for the id record component
      label - the value for the label record component
      dataType - the value for the dataType record component
      stereotype - the value for the stereotype record component
      style - the value for the style record component
      cssClasses - the value for the cssClasses record component
      align - the value for the align record component
      sortable - the value for the sortable record component
      sortingProperty - the value for the sortingProperty record component
      filterable - the value for the filterable record component
      frozen - the value for the frozen record component
      frozenToEnd - the value for the frozenToEnd record component
      autoWidth - the value for the autoWidth record component
      flexGrow - the value for the flexGrow record component
      resizable - the value for the resizable record component
      width - the value for the width record component
      tooltipPath - the value for the tooltipPath record component
      actionId - the value for the actionId record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • label

      public String label()
      Returns the value of the label record component.
      Returns:
      the value of the label record component
    • dataType

      public String dataType()
      Returns the value of the dataType record component.
      Returns:
      the value of the dataType record component
    • stereotype

      public String stereotype()
      Returns the value of the stereotype record component.
      Returns:
      the value of the stereotype record component
    • style

      public String style()
      Returns the value of the style record component.
      Returns:
      the value of the style record component
    • cssClasses

      public String cssClasses()
      Returns the value of the cssClasses record component.
      Returns:
      the value of the cssClasses record component
    • align

      public String align()
      Returns the value of the align record component.
      Returns:
      the value of the align record component
    • sortable

      public boolean sortable()
      Returns the value of the sortable record component.
      Returns:
      the value of the sortable record component
    • sortingProperty

      public String sortingProperty()
      Returns the value of the sortingProperty record component.
      Returns:
      the value of the sortingProperty record component
    • filterable

      public boolean filterable()
      Returns the value of the filterable record component.
      Returns:
      the value of the filterable record component
    • frozen

      public boolean frozen()
      Returns the value of the frozen record component.
      Returns:
      the value of the frozen record component
    • frozenToEnd

      public boolean frozenToEnd()
      Returns the value of the frozenToEnd record component.
      Returns:
      the value of the frozenToEnd record component
    • autoWidth

      public boolean autoWidth()
      Returns the value of the autoWidth record component.
      Returns:
      the value of the autoWidth record component
    • flexGrow

      public String flexGrow()
      Returns the value of the flexGrow record component.
      Returns:
      the value of the flexGrow record component
    • resizable

      public boolean resizable()
      Returns the value of the resizable record component.
      Returns:
      the value of the resizable record component
    • width

      public String width()
      Returns the value of the width record component.
      Returns:
      the value of the width record component
    • tooltipPath

      public String tooltipPath()
      Returns the value of the tooltipPath record component.
      Returns:
      the value of the tooltipPath record component
    • actionId

      public String actionId()
      Returns the value of the actionId record component.
      Returns:
      the value of the actionId record component