org.apache.cayenne.exp.property

## Interface Property<E>

- All Known Subinterfaces:
    ComparableProperty<E>, IdProperty<E>, PathProperty<E>, RelationshipProperty<E>
  All Known Implementing Classes:
    BaseIdProperty, BaseProperty, CollectionProperty, DateProperty, EmbeddableProperty, EntityProperty, ListProperty, MapProperty, NumericIdProperty, NumericProperty, Property, SetProperty, StringProperty

      public interface Property<E>

  Base interface for all types of properties
  Since:
    4.2

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAlias()`
    `Expression` | `getExpression()`
    `String` | `getName()`
    `Class<E>` | `getType()`

- - ### Method Detail

    - #### getName

          String getName()

      Returns:
        name of this property, can be null

    - #### getAlias

          String getAlias()

      Returns:
        alias of this property, can be null

    - #### getExpression

          Expression getExpression()

      Returns:
        expression that defines this property, not null

    - #### getType

          Class<E> getType()

      Returns:
        java type of this property, can be null

Copyright © 2001–2021 Apache Cayenne. All rights reserved.