com.caucho.amber.expr
Class ElementCollectionIdExpr

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
                  extended by com.caucho.amber.expr.ElementCollectionIdExpr
All Implemented Interfaces:
AmberExpr, PathExpr

public class ElementCollectionIdExpr
extends CollectionIdExpr

Bound identifier expression.


Field Summary
 
Fields inherited from interface com.caucho.amber.expr.AmberExpr
IS_INNER_JOIN, USES_DATA
 
Constructor Summary
ElementCollectionIdExpr(FromItem fromItem, ElementCollectionExpr path)
          Creates a new unbound id expression.
 
Method Summary
 LoadExpr createLoad()
          Creates a load expression.
 void generateSelect(CharBuffer cb)
          Generates the select expression.
 AmberBeanType getTargetType()
          Returns the entity class.
 
Methods inherited from class com.caucho.amber.expr.CollectionIdExpr
usesFrom
 
Methods inherited from class com.caucho.amber.expr.IdExpr
bindSelect, bindSubPath, equals, generateHaving, generateUpdateWhere, generateWhere, getChildFromItem, getFromItem, 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, 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, getCacheObject, getObject, getType, hasRelationship, isBoolean, setInternalArgType, usesFrom
 

Constructor Detail

ElementCollectionIdExpr

public ElementCollectionIdExpr(FromItem fromItem,
                               ElementCollectionExpr path)
Creates a new unbound id expression.

Method Detail

getTargetType

public AmberBeanType getTargetType()
Returns the entity class.

Specified by:
getTargetType in interface PathExpr
Overrides:
getTargetType in class IdExpr

createLoad

public LoadExpr createLoad()
Creates a load expression.

Specified by:
createLoad in interface PathExpr
Overrides:
createLoad in class IdExpr

generateSelect

public void generateSelect(CharBuffer cb)
Generates the select expression.

Specified by:
generateSelect in interface AmberExpr
Overrides:
generateSelect in class AbstractAmberExpr