public class KeyManyToOneExpr extends AbstractPathExpr implements IdFieldExpr
IS_INNER_JOIN, USES_DATA| Constructor and Description |
|---|
KeyManyToOneExpr(PathExpr parent,
KeyManyToOneField manyToOne)
Creates a new unbound id expression.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
bindSelect, createArray, createId, createLoadcreateBoolean, exists, exists, findItem, generateHaving, generateJoin, generateSelect, generateUpdateWhere, generateWhere, getCacheObject, getColumnCount, getObject, getType, hasRelationship, isBoolean, replaceJoin, setInternalArgType, usesFromclone, finalize, getClass, notify, notifyAll, wait, wait, waitcreateBoolean, exists, exists, findItem, generateHaving, generateJoin, generateSelect, generateUpdateWhere, generateWhere, getCacheObject, getObject, getType, hasRelationship, isBoolean, replaceJoin, setInternalArgType, usesFrompublic KeyManyToOneExpr(PathExpr parent, KeyManyToOneField manyToOne)
public PathExpr getParent()
getParent in interface IdFieldExprpublic IdField getField()
getField in interface IdFieldExprpublic EntityType getTargetType()
getTargetType in interface PathExprpublic AmberColumn getColumn()
getColumn in interface IdFieldExprpublic AmberExpr createField(QueryParser parser, java.lang.String name)
createField in interface PathExprcreateField in class AbstractPathExprpublic AmberExpr bindSelect(QueryParser parser)
bindSelect in interface AmberExprbindSelect in class AbstractAmberExprpublic FromItem getChildFromItem()
getChildFromItem in interface PathExprgetChildFromItem in class AbstractPathExprpublic FromItem bindSubPath(QueryParser parser)
bindSubPath in interface PathExprbindSubPath in class AbstractPathExprpublic boolean usesFrom(FromItem from, int type, boolean isNot)
usesFrom in interface AmberExprusesFrom in class AbstractAmberExprpublic void generateMatchArgWhere(CharBuffer cb)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object