## Uses of Interface
org.apache.cayenne.exp.property.ComparableProperty

- Packages that use ComparableProperty
  Package | Description
  --- | ---
  org.apache.cayenne.exp | Cayenne data expression classes.
  org.apache.cayenne.exp.property | Property API
  org.apache.cayenne.query | Defines standard queries supported by Cayenne and extension mechanism to create custom queries.

- - ### Uses of ComparableProperty in org.apache.cayenne.exp

    Classes in org.apache.cayenne.exp that implement ComparableProperty
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Property<E>` | Deprecated. since 4.2 in favour of type-specific set of properties, see `PropertyFactory` and `org.apache.cayenne.exp.property` package.

  - ### Uses of ComparableProperty in org.apache.cayenne.exp.property

    Classes in org.apache.cayenne.exp.property that implement ComparableProperty
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DateProperty<E>` | Property that represents date/time attribute.
    `class` | `NumericIdProperty<E extends Number>` | Property that represents numeric PK
    `class` | `NumericProperty<E extends Number>` | Property that represents attributes mapped on numeric types
    `class` | `StringProperty<E extends CharSequence>` | Property that represents attributes mapped on string types

    Methods in org.apache.cayenne.exp.property with parameters of type ComparableProperty
    Modifier and Type | Method | Description
    --- | --- | ---
    `default Expression` | ComparableProperty.`between​(ComparableProperty<?> lower, ComparableProperty<?> upper)` |
    `default Expression` | ComparableProperty.`gt​(ComparableProperty<?> value)` |
    `default Expression` | ComparableProperty.`gte​(ComparableProperty<?> value)` |
    `default Expression` | ComparableProperty.`lt​(ComparableProperty<?> value)` |
    `default Expression` | ComparableProperty.`lte​(ComparableProperty<?> value)` |

  - ### Uses of ComparableProperty in org.apache.cayenne.query

    Methods in org.apache.cayenne.query with parameters of type ComparableProperty
    Modifier and Type | Method | Description
    --- | --- | ---
    `ColumnSelect<Object[]>` | ColumnSelect.`max​(ComparableProperty<?> property)` | Select maximum value of property
    `<E> ColumnSelect<E>` | ObjectSelect.`max​(ComparableProperty<E> property)` | Select maximum value of property
    `ColumnSelect<Object[]>` | ColumnSelect.`min​(ComparableProperty<?> property)` | Select minimum value of property
    `<E> ColumnSelect<E>` | ObjectSelect.`min​(ComparableProperty<E> property)` | Select minimum value of property