Uses of Class
org.apache.cayenne.exp.property.BaseProperty
Packages that use BaseProperty
Package
Description
Property API
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
-
Uses of BaseProperty in org.apache.cayenne.exp.property
Subclasses of BaseProperty in org.apache.cayenne.exp.propertyModifier and TypeClassDescriptionclassProperty that represents non-numeric PKclassCollectionProperty<V extends Persistent,E extends Collection<V>> Base class forListPropertyandSetPropertyclassDateProperty<E>Property that represents date/time attribute.classProperty that represents object attribute mapped onEmbeddableobject.classEntityProperty<E extends Persistent>Property that represents to-one relationships.classListProperty<V extends Persistent>Property that represents to-many relationship mapped onList.classMapProperty<K,V extends Persistent> Property that represents to-many relationship mapped onMap.classNumericIdProperty<E extends Number>Property that represents numeric PKclassNumericProperty<E extends Number>Property that represents attributes mapped on numeric typesclassSelfProperty<E extends Persistent>Property that represents root entity
Usage example:classSetProperty<V extends Persistent>Property that represents to-many relationship mapped onSet.classStringProperty<E extends CharSequence>Property that represents attributes mapped on string typesMethods in org.apache.cayenne.exp.property that return BasePropertyModifier and TypeMethodDescription<T> BaseProperty<T>Creates alias with different name for this propertystatic <T> BaseProperty<T>PropertyFactory.createBase(String name, Class<T> type) Create base propertystatic <T> BaseProperty<T>PropertyFactory.createBase(String name, Expression expression, Class<T> type) Create base propertystatic <T> BaseProperty<T>PropertyFactory.createBase(Expression expression, Class<T> type) Create base propertystatic <T> BaseProperty<T>PropertyFactory.createBase(CayennePath path, Class<T> type) Create base propertystatic <T> BaseProperty<T>PropertyFactory.createBase(CayennePath path, Expression expression, Class<T> type) Create base propertydefault BaseProperty<Object>Constructs a property path by appending the argument to the existing property separated by a dot.default <T> BaseProperty<T>PathProperty.dot(BaseProperty<T> property) Constructs a new property path by appending the argument to the existing property separated by a dot.BaseProperty.enclosing()This operator allows to access properties of the enclosing query from the subquery.<T> BaseProperty<T><T> BaseProperty<T>BaseProperty.function(String functionName, Class<T> returnType, BaseProperty<?>... arguments) default BaseProperty<E>ComparableProperty.max()default BaseProperty<E>ComparableProperty.min()<T> BaseProperty<T><T> BaseProperty<T>BaseProperty.operator(String operator, Class<T> returnType, BaseProperty<?>... arguments) RelationshipProperty.outer()Returns a version of this property that represents an OUTER join.Methods in org.apache.cayenne.exp.property with parameters of type BasePropertyModifier and TypeMethodDescriptiondefault <T> BaseProperty<T>PathProperty.dot(BaseProperty<T> property) Constructs a new property path by appending the argument to the existing property separated by a dot.BaseProperty.eq(BaseProperty<?> value) <T> BaseProperty<T>BaseProperty.function(String functionName, Class<T> returnType, BaseProperty<?>... arguments) BaseProperty.ne(BaseProperty<?> value) <T> BaseProperty<T>BaseProperty.operator(String operator, Class<T> returnType, BaseProperty<?>... arguments) -
Uses of BaseProperty in org.apache.cayenne.query
Methods in org.apache.cayenne.query with parameters of type BasePropertyModifier and TypeMethodDescription<E> ColumnSelect<Object[]>ColumnSelect.aggregate(BaseProperty<E> property, String function, Class<E> type) Select result of some function, that aggregates values.<E> ColumnSelect<E>ObjectSelect.aggregate(BaseProperty<E> property, String function, Class<E> type) Select result of some function, that aggregates values.ColumnSelect.count(BaseProperty<?> property) Select COUNT(property)ObjectSelect.count(BaseProperty<?> property) Select COUNT(property)