org.tranql.ql
Class QuerySource
java.lang.Object
org.tranql.ql.AbstractNode
org.tranql.ql.AliasedEntity
org.tranql.ql.QuerySource
- All Implemented Interfaces:
- Node, java.io.Serializable
- public final class QuerySource
- extends AliasedEntity
This subclass is used for select queries and adds a forUpdate flag.
If the for update flag is set, an exclusive lock will be acquired
on the entities selected.
- Version:
- $Revision: 133 $ $Date: 2004-10-19 22:42:06 +0200 (Tue, 19 Oct 2004) $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuerySource
public QuerySource(Entity entity,
java.lang.String alias)
QuerySource
public QuerySource(Entity entity,
java.lang.String alias,
boolean forUpdate)
isForUpdate
public boolean isForUpdate()
visit
public java.lang.Object visit(QueryVisitor visitor,
java.lang.Object param)
throws QueryException
- Throws:
QueryException
Copyright © -2006 The Codehaus. All Rights Reserved.