# Uses of Class
org.apache.cayenne.exp.Property

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

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

  Fields in org.apache.cayenne.exp declared as Property
  Modifier and Type
  Field
  Description
  `static final Property<Long>`
  Property.`COUNT`
  Deprecated.
  since 4.2 use `PropertyFactory.COUNT`
  Methods in org.apache.cayenne.exp that return Property
  Modifier and Type
  Method
  Description
  `Property<E>`
  Property.`abs()`
  Deprecated.
  `Property<E>`
  Property.`alias(String alias)`
  Deprecated.
  Creates alias with different name for this property
  `Property<E>`
  Property.`avg()`
  Deprecated.
  `Property<String>`
  Property.`concat(Object... args)`
  Deprecated.
  Arguments will be converted as follows: if argument is a `Property` than its expression will be used if argument is a `Expression` than it will be used as is all other values will be converted to String
  `static <T> Property<T>`
  Property.`create(String name, Class<? super T> type)`
  Deprecated.
  Creates property with name and type
  `static <T> Property<T>`
  Property.`create(String name, Expression expression, Class<? super T> type)`
  Deprecated.
  Creates property with name, expression and type
  `static <T> Property<T>`
  Property.`create(Expression expression, Class<? super T> type)`
  Deprecated.
  Creates property with expression and type
  `static <T extends Persistent>
  Property<T>`
  Property.`createSelf(Class<? super T> type)`
  Deprecated.
  Creates "self" Property for persistent class.
  `Property<Object>`
  Property.`dot(String property)`
  Deprecated.
  Constructs a property path by appending the argument to the existing property separated by a dot.
  `<T> Property<T>`
  Property.`dot(Property<T> property)`
  Deprecated.
  `<T extends Persistent>
  Property<T>`
  Property.`flat(Class<T> tClass)`
  Deprecated.
  Create new "flat" property for toMany relationship.
  `Property<Integer>`
  Property.`length()`
  Deprecated.
  `Property<Integer>`
  Property.`locate(String string)`
  Deprecated.
  `Property<Integer>`
  Property.`locate(Property<? extends String> property)`
  Deprecated.
  `Property<String>`
  Property.`lower()`
  Deprecated.
  `Property<E>`
  Property.`max()`
  Deprecated.
  `Property<E>`
  Property.`min()`
  Deprecated.
  `Property<E>`
  Property.`mod(Number number)`
  Deprecated.
  `Property<E>`
  Property.`outer()`
  Deprecated.
  `Property<E>`
  Property.`sqrt()`
  Deprecated.
  `Property<String>`
  Property.`substring(int offset, int length)`
  Deprecated.
  `Property<E>`
  Property.`sum()`
  Deprecated.
  `Property<String>`
  Property.`trim()`
  Deprecated.
  `Property<String>`
  Property.`upper()`
  Deprecated.
  Methods in org.apache.cayenne.exp with parameters of type Property
  Modifier and Type
  Method
  Description
  `<T> Property<T>`
  Property.`dot(Property<T> property)`
  Deprecated.
  `Property<Integer>`
  Property.`locate(Property<? extends String> property)`
  Deprecated.

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

  Methods in org.apache.cayenne.query with parameters of type Property
  Modifier and Type
  Method
  Description
  `ColumnSelect<Object[]>`
  ColumnSelect.`avg(Property<?> property)`
  Deprecated.
  since 4.2 use `ColumnSelect.avg(NumericProperty)`
  `<E> ColumnSelect<E>`
  ObjectSelect.`avg(Property<E> property)`
  Deprecated.
  since 4.2 use `ObjectSelect.avg(NumericProperty)`
  `<E extends Number>
  ColumnSelect<Object[]>`
  ColumnSelect.`sum(Property<E> property)`
  Deprecated.
  since 4.2 use `ColumnSelect.sum(NumericProperty)`
  `<E extends Number>
  ColumnSelect<E>`
  ObjectSelect.`sum(Property<E> property)`
  Deprecated.
  since 4.2 use `ObjectSelect.sum(NumericProperty)`