Package org.apache.cayenne.exp.property
Class SelfProperty<E extends Persistent>
java.lang.Object
org.apache.cayenne.exp.property.BaseProperty<E>
org.apache.cayenne.exp.property.EntityProperty<E>
org.apache.cayenne.exp.property.SelfProperty<E>
- Type Parameters:
- E- type of the property
- All Implemented Interfaces:
- PathProperty<E>,- Property<E>,- RelationshipProperty<E>
Property that represents root entity
 
Usage example:
Usage example:
 List<Object[]> result = Artist.SELF.columnQuery(Artist.SELF, Artist.PAINTING_ARRAY.count()).select(context);
 
- Since:
- 5.0
- 
Field SummaryFields inherited from class org.apache.cayenne.exp.property.BasePropertyexpressionSupplier, path, type
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedSelfProperty(CayennePath path, Expression expression, Class<E> type) Constructs a new property with the given name and expression
- 
Method SummaryModifier and TypeMethodDescriptioncolumnQuery(Property<?>... properties) <T> ColumnSelect<T>columnQuery(Property<T> property) exists(Expression where) notExists(Expression where) query()query(Expression where) Methods inherited from class org.apache.cayenne.exp.property.EntityPropertyalias, enclosing, eqId, idsIn, idsInCollection, idsNotIn, idsNotInCollection, inId, inId, neqId, ninId, ninId, outerMethods inherited from class org.apache.cayenne.exp.property.BasePropertyaggregate, asc, ascInsensitive, ascInsensitives, ascs, count, countDistinct, desc, descInsensitive, descInsensitives, descs, eq, eq, equals, function, function, getAlias, getExpression, getFrom, getFromAll, getName, getPath, getType, hashCode, in, in, in, isFalse, isNotNull, isNull, isTrue, ne, ne, nin, nin, nin, operator, operator, setIn, setInAllMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cayenne.exp.property.PathPropertydot, dot, dot, dot, dot
- 
Constructor Details- 
SelfPropertyConstructs a new property with the given name and expression- Parameters:
- path- of the property (will be used as alias for the expression)
- expression- expression for property
- type- of the property
- See Also:
 
 
- 
- 
Method Details- 
exists
- 
notExists
- 
query
- 
query
- 
columnQuery
- 
columnQuery
 
-