com.caucho.amber.expr
Class CollectionIdExpr

java.lang.Object
  extended by com.caucho.amber.expr.AbstractAmberExpr
      extended by com.caucho.amber.expr.AbstractPathExpr
          extended by com.caucho.amber.expr.IdExpr
              extended by com.caucho.amber.expr.CollectionIdExpr
All Implemented Interfaces:
AmberExpr, PathExpr
Direct Known Subclasses:
ElementCollectionIdExpr

public class CollectionIdExpr
extends IdExpr

Bound identifier expression.


Field Summary
 
Fields inherited from interface com.caucho.amber.expr.AmberExpr
IS_INNER_JOIN, USES_DATA
 
Constructor Summary
CollectionIdExpr(FromItem fromItem, AmberExpr path)
          Creates a new unbound id expression.
 
Method Summary
 boolean usesFrom(FromItem from, int type, boolean isNot)
          Returns true if the expression uses the from item.
 
Methods inherited from class com.caucho.amber.expr.IdExpr
bindSelect, bindSubPath, createLoad, equals, generateHaving, generateUpdateWhere, generateWhere, getChildFromItem, getFromItem, getTargetType, hashCode, replaceJoin, toString
 
Methods inherited from class com.caucho.amber.expr.AbstractPathExpr
bindSelect, createArray, createField, createId
 
Methods inherited from class com.caucho.amber.expr.AbstractAmberExpr
createBoolean, exists, exists, findItem, generateJoin, generateSelect, getCacheObject, getColumnCount, getObject, getType, hasRelationship, isBoolean, setInternalArgType, usesFrom
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.caucho.amber.expr.AmberExpr
createBoolean, exists, exists, findItem, generateJoin, generateSelect, getCacheObject, getObject, getType, hasRelationship, isBoolean, setInternalArgType, usesFrom
 

Constructor Detail

CollectionIdExpr

public CollectionIdExpr(FromItem fromItem,
                        AmberExpr path)
Creates a new unbound id expression.

Method Detail

usesFrom

public boolean usesFrom(FromItem from,
                        int type,
                        boolean isNot)
Returns true if the expression uses the from item.

Specified by:
usesFrom in interface AmberExpr
Overrides:
usesFrom in class IdExpr