| |
|
| java.lang.Object com.caucho.ejb.ql.Expr com.caucho.ejb.ql.PathExpr com.caucho.ejb.ql.IdExpr
IdExpr | class IdExpr extends PathExpr (Code) | | Identifier expression for EJB-QL.
|
IdExpr | IdExpr(Query query, String name, EjbEntityBean bean) throws ConfigException(Code) | | Creates a new identifier expression.
Parameters: query - the owning query Parameters: name - the identifier Parameters: bean - the mapped bean |
equals | public boolean equals(Object bObj)(Code) | | Returns true if the two expressions are equal
|
generateAmber | void generateAmber(CharBuffer cb)(Code) | | Prints the where SQL for this expression
Parameters: gen - the java code generator |
generateComponent | void generateComponent(CharBuffer cb, int index)(Code) | | |
generateWhere | void generateWhere(CharBuffer cb)(Code) | | Prints the where SQL for this expression
Parameters: gen - the java code generator |
getComponentCount | int getComponentCount()(Code) | | |
getReturnEJB | String getReturnEJB()(Code) | | Returns the EJB name.
|
getSelectTable | String getSelectTable(CharBuffer cb) throws ConfigException(Code) | | Prints the select SQL for this expression
Parameters: gen - the java code generator |
getTableName | String getTableName()(Code) | | Returns the SQL table name for the id
|
hashCode | public int hashCode()(Code) | | Returns a hash code for the expression
|
printSelect | void printSelect(CharBuffer cb) throws ConfigException(Code) | | Prints the select SQL for this expression
Parameters: gen - the java code generator |
setTableName | void setTableName(String tableName)(Code) | | Sets the SQL table name for the id
|
toString | public String toString()(Code) | | Printable version of the object.
|
|
|
|