public class KeyPropertyExpr extends AbstractAmberExpr implements IdFieldExpr
Modifier and Type | Field and Description |
---|---|
protected PathExpr |
_parent |
IS_INNER_JOIN, USES_DATA
Constructor and Description |
---|
KeyPropertyExpr(PathExpr parent,
KeyPropertyField field)
Creates a new unbound id expression.
|
Modifier and Type | Method and Description |
---|---|
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.
|
createBoolean, exists, exists, findItem, generateHaving, generateJoin, generateSelect, generateUpdateWhere, generateWhere, getCacheObject, getColumnCount, getObject, hasRelationship, isBoolean, replaceJoin, setInternalArgType, usesFrom
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createBoolean, exists, exists, findItem, generateHaving, generateJoin, generateSelect, generateUpdateWhere, generateWhere, getCacheObject, getObject, hasRelationship, isBoolean, replaceJoin, setInternalArgType, usesFrom
protected PathExpr _parent
public KeyPropertyExpr(PathExpr parent, KeyPropertyField field)
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