Interface GroupProperty


public interface GroupProperty
Represents a property that can be used for grouping.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Returns the property.
    default boolean
    is(Object property)
    Checks whether the given property value matches this group property's value.
  • Method Details

    • get

      Object get()
      Returns the property. It contains one of the following types:
      • MetaPropertyPath if the grouping column is based on an entity property.
      • String (column key) if the grouping is based on grouping column not bound to an entity property.
      Returns:
      the property
    • is

      default boolean is(Object property)
      Checks whether the given property value matches this group property's value.

      The method compares the provided property value with the value obtained from the get() method.

      Parameters:
      property - the property to check
      Returns:
      true if the property matches the current property value