|
||||||||||
| 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.DependentEntityOneToOneExpr
public class DependentEntityOneToOneExpr
Bound identifier expression.
| Field Summary |
|---|
| Fields inherited from interface com.caucho.amber.expr.AmberExpr |
|---|
IS_INNER_JOIN, USES_DATA |
| Constructor Summary | |
|---|---|
DependentEntityOneToOneExpr(PathExpr parent,
LinkColumns linkColumns)
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. |
LoadExpr |
createLoad()
Creates a load expression. |
boolean |
equals(java.lang.Object o)
|
void |
generateMatchArgWhere(CharBuffer cb)
Generates the where expression. |
void |
generateUpdateWhere(CharBuffer cb)
Generates the (update) where expression. |
void |
generateWhere(CharBuffer cb)
Generates the where expression. |
FromItem |
getChildFromItem()
Return the child from item. |
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, createField, createId |
| Methods inherited from class com.caucho.amber.expr.AbstractAmberExpr |
|---|
createBoolean, exists, exists, findItem, generateHaving, generateJoin, generateSelect, 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, getCacheObject, getObject, getType, hasRelationship, isBoolean, replaceJoin, setInternalArgType, usesFrom |
| Constructor Detail |
|---|
public DependentEntityOneToOneExpr(PathExpr parent,
LinkColumns linkColumns)
| Method Detail |
|---|
public EntityType getTargetType()
public AmberExpr bindSelect(QueryParser parser)
bindSelect in interface AmberExprbindSelect in class AbstractAmberExprpublic LoadExpr createLoad()
createLoad in interface PathExprcreateLoad in class AbstractPathExprpublic FromItem getChildFromItem()
getChildFromItem in interface PathExprgetChildFromItem in class AbstractPathExprpublic FromItem bindSubPath(QueryParser parser)
bindSubPath in interface PathExprbindSubPath in class AbstractPathExpr
public boolean usesFrom(FromItem from,
int type,
boolean isNot)
usesFrom in interface AmberExprusesFrom in class AbstractAmberExprpublic void generateMatchArgWhere(CharBuffer cb)
public void generateWhere(CharBuffer cb)
generateWhere in interface AmberExprgenerateWhere in class AbstractAmberExprpublic void generateUpdateWhere(CharBuffer cb)
generateUpdateWhere in interface AmberExprgenerateUpdateWhere in class AbstractAmberExprpublic 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||