Record Class AbstractGroupGridLoader.ColumnDefaultValues

java.lang.Object
java.lang.Record
io.jmix.groupgridflowui.loader.AbstractGroupGridLoader.ColumnDefaultValues
Enclosing class:
AbstractGroupGridLoader<T extends Grid<?> & EnhancedGroupDataGrid<?> & HasActions>

protected static record AbstractGroupGridLoader.ColumnDefaultValues(boolean sortable, boolean resizable, boolean filterable) extends Record
Contains information about resizable, sortable, filterable column default values for the column.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ColumnDefaultValues(boolean sortable, boolean resizable, boolean filterable)
    Creates an instance of a ColumnDefaultValues record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    boolean
    Returns the value of the filterable record component.
    final int
    Returns a hash code value for this object.
    boolean
    Returns the value of the resizable record component.
    boolean
    Returns the value of the sortable record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ColumnDefaultValues

      protected ColumnDefaultValues(boolean sortable, boolean resizable, boolean filterable)
      Creates an instance of a ColumnDefaultValues record class.
      Parameters:
      sortable - the value for the sortable record component
      resizable - the value for the resizable record component
      filterable - the value for the filterable 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. All components in this record class 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.
    • sortable

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

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

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