|
||||||||||
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.KeyPropertyExpr
public class KeyPropertyExpr
Bound identifier expression.
Field Summary | |
---|---|
protected PathExpr |
_parent
|
Fields inherited from interface com.caucho.amber.expr.AmberExpr |
---|
IS_INNER_JOIN, USES_DATA |
Constructor Summary | |
---|---|
KeyPropertyExpr(PathExpr parent,
KeyPropertyField field)
Creates a new unbound id expression. |
Method Summary | |
---|---|
AmberExpr |
bindSelect(QueryParser parser)
Binds the expression as a select item. |
FromItem |
getChildFromItem()
Returns the child from item. |
AmberColumn |
getColumn()
Returns the parent expression. |
KeyPropertyField |
getField()
Returns the parent expression. |
PathExpr |
getParent()
Returns the parent expression. |
AmberType |
getType()
Returns the expr type |
java.lang.String |
toString()
Returns the field string. |
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.AbstractAmberExpr |
---|
createBoolean, exists, exists, findItem, generateHaving, generateJoin, generateSelect, generateUpdateWhere, generateWhere, getCacheObject, getColumnCount, getObject, hasRelationship, isBoolean, replaceJoin, setInternalArgType, usesFrom |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, 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, hasRelationship, isBoolean, replaceJoin, setInternalArgType, usesFrom |
Field Detail |
---|
protected PathExpr _parent
Constructor Detail |
---|
public KeyPropertyExpr(PathExpr parent, KeyPropertyField field)
Method Detail |
---|
public AmberExpr bindSelect(QueryParser parser)
bindSelect
in interface AmberExpr
bindSelect
in class AbstractAmberExpr
public PathExpr getParent()
getParent
in interface IdFieldExpr
public KeyPropertyField getField()
getField
in interface IdFieldExpr
public AmberType getType()
getType
in interface AmberExpr
getType
in class AbstractAmberExpr
public AmberColumn getColumn()
getColumn
in interface IdFieldExpr
public boolean usesFrom(FromItem from, int type, boolean isNot)
usesFrom
in interface AmberExpr
usesFrom
in class AbstractAmberExpr
public FromItem getChildFromItem()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |