| java.lang.Object com.caucho.ejb.ql.Expr com.caucho.ejb.ql.FieldExpr
FieldExpr | class FieldExpr extends Expr (Code) | | Expression representing a field or a relation.
|
FieldExpr | FieldExpr(Query query, PathExpr base, String fieldName, CmpField field) throws ConfigException(Code) | | Creates a new field expression.
Parameters: base - the base expression Parameters: field - name of the field |
decrementUse | void decrementUse()(Code) | | |
equals | public boolean equals(Object bObj)(Code) | | Returns true if the two expressions are equal
|
generateWhere | void generateWhere(CharBuffer cb)(Code) | | Prints the where SQL for this expression
Parameters: gen - the java code generator |
getBase | Expr getBase()(Code) | | Returns the base expression
|
getBaseId | String getBaseId()(Code) | | Returns the SQL id for the base
|
getItemBean | EjbEntityBean getItemBean()(Code) | | For collections, returns the underlying item bean.
|
getSQLField | String getSQLField()(Code) | | Returns the SQL field reference.
|
getSelectTable | String getSelectTable(CharBuffer cb) throws ConfigException(Code) | | Prints the select SQL for this expression
Parameters: gen - the java code generator |
getTableId | String getTableId()(Code) | | Returns the SQL table identifier for the result of the field expression.
|
getUseCount | int getUseCount()(Code) | | |
hasRelation | boolean hasRelation()(Code) | | |
hashCode | public int hashCode()(Code) | | Returns a hash code for the field
|
setRelation | void setRelation()(Code) | | |
setTableId | void setTableId(String tableId)(Code) | | Sets the SQL table identifier for the result of the field expression.
|
|
|