| java.lang.Object com.caucho.ejb.ql.Expr com.caucho.ejb.ql.PathExpr com.caucho.ejb.ql.RelationExpr
RelationExpr | class RelationExpr extends PathExpr (Code) | | Expression representing a single-valued relation path.
|
RelationExpr | RelationExpr(Query query, PathExpr base, String field, CmrRelation relation) throws ConfigException(Code) | | Creates a new field expression.
Parameters: base - the base expression Parameters: field - name of the field |
equals | public boolean equals(Object bObj)(Code) | | Returns true if the two expressions are equal
|
generateComponent | void generateComponent(CharBuffer cb, int index)(Code) | | |
generateSelect | void generateSelect(CharBuffer cb)(Code) | | Prints the select SQL for this expression
Parameters: gen - the java code generator |
generateWhere | void generateWhere(CharBuffer cb)(Code) | | Prints the where SQL for this expression
Parameters: gen - the java code generator |
getComponentCount | int getComponentCount()(Code) | | |
getJavaType | public Class getJavaType()(Code) | | Gets the Java Type of the expression.
|
getReturnEJB | String getReturnEJB()(Code) | | Returns the EJB name.
|
getSelectTable | String getSelectTable(CharBuffer cb)(Code) | | Prints the select SQL for this expression
Parameters: gen - the java code generator |
hashCode | public int hashCode()(Code) | | Returns a hash code for the expression
|
setUsesField | void setUsesField()(Code) | | |
toString | public String toString()(Code) | | Printable version of the object.
|
|
|