|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.amber.expr.AbstractAmberExpr
com.caucho.amber.expr.AbstractPathExpr
com.caucho.amber.expr.KeyManyToOneExpr
public class KeyManyToOneExpr
Bound identifier expression.
Field Summary |
---|
Fields inherited from interface com.caucho.amber.expr.AmberExpr |
---|
IS_INNER_JOIN, USES_DATA |
Constructor Summary | |
---|---|
KeyManyToOneExpr(PathExpr parent,
KeyManyToOneField manyToOne)
Creates a new unbound id expression. |
Method Summary | |
---|---|
AmberExpr |
bindSelect(QueryParser parser)
Binds the expression as a select item. |
FromItem |
bindSubPath(QueryParser parser)
Binds the expression as a subpath. |
AmberExpr |
createField(QueryParser parser,
java.lang.String name)
Creates the expr from the path. |
boolean |
equals(java.lang.Object o)
|
void |
generateMatchArgWhere(CharBuffer cb)
Generates the where expression. |
FromItem |
getChildFromItem()
Return the child from item. |
AmberColumn |
getColumn()
Returns the column. |
IdField |
getField()
Returns the name. |
PathExpr |
getParent()
Returns the parent expression. |
EntityType |
getTargetType()
Returns the entity class. |
int |
hashCode()
|
java.lang.String |
toString()
|
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.AbstractPathExpr |
---|
bindSelect, createArray, createId, createLoad |
Methods inherited from class com.caucho.amber.expr.AbstractAmberExpr |
---|
createBoolean, exists, exists, findItem, generateHaving, generateJoin, generateSelect, generateUpdateWhere, generateWhere, getCacheObject, getColumnCount, getObject, getType, hasRelationship, isBoolean, replaceJoin, 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, generateHaving, generateJoin, generateSelect, generateUpdateWhere, generateWhere, getCacheObject, getObject, getType, hasRelationship, isBoolean, replaceJoin, setInternalArgType, usesFrom |
Constructor Detail |
---|
public KeyManyToOneExpr(PathExpr parent, KeyManyToOneField manyToOne)
Method Detail |
---|
public PathExpr getParent()
getParent
in interface IdFieldExpr
public IdField getField()
getField
in interface IdFieldExpr
public EntityType getTargetType()
getTargetType
in interface PathExpr
public AmberColumn getColumn()
getColumn
in interface IdFieldExpr
public AmberExpr createField(QueryParser parser, java.lang.String name)
createField
in interface PathExpr
createField
in class AbstractPathExpr
public AmberExpr bindSelect(QueryParser parser)
bindSelect
in interface AmberExpr
bindSelect
in class AbstractAmberExpr
public FromItem getChildFromItem()
getChildFromItem
in interface PathExpr
getChildFromItem
in class AbstractPathExpr
public FromItem bindSubPath(QueryParser parser)
bindSubPath
in interface PathExpr
bindSubPath
in class AbstractPathExpr
public boolean usesFrom(FromItem from, int type, boolean isNot)
usesFrom
in interface AmberExpr
usesFrom
in class AbstractAmberExpr
public void generateMatchArgWhere(CharBuffer cb)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |