org.datanucleus.query.typesafe
Interface PersistableExpression<T>

Type Parameters:
T - (Persistable) Java type being represented here
All Superinterfaces:
Expression<T>
All Known Implementing Classes:
PersistableExpressionImpl

public interface PersistableExpression<T>
extends Expression<T>

Expression representing a persistable object in a query (e.g alias.persistableField).


Method Summary
 Expression jdoObjectId()
          Method to return an expression for the identity of this persistable object.
 Expression jdoVersion()
          Method to return an expression for the version of this persistable object.
 
Methods inherited from interface org.datanucleus.query.typesafe.Expression
cast, count, countDistinct, eq, eq, instanceOf, ne, ne
 

Method Detail

jdoObjectId

Expression jdoObjectId()
Method to return an expression for the identity of this persistable object. TODO Only applicable to JDOQL so move to language specific interface

Returns:
The identity expression

jdoVersion

Expression jdoVersion()
Method to return an expression for the version of this persistable object. TODO Only applicable to JDOQL so move to language specific interface

Returns:
The version expression


Copyright © 2011. All Rights Reserved.