Method Summary |
|
public void | addArg(Expr expr) |
void | addFromItem(String id, String table) |
void | addIdentifier(String name, PathExpr expr) |
public boolean | equals(Object b) |
public ConfigException | error(String msg) Creates an error. |
ArrayList<Expr> | getArgList() Gets the select method arguments in SQL order. |
ArrayList<Boolean> | getAscendingList() Returns true if the order is ascending. |
public EjbEntityBean | getBeanByName(String ejbName) Gets a persistent bean by its type. |
public EjbEntityBean | getBeanByType(Class type) Gets a persistent bean by its type. |
ArrayList<FromItem> | getFromList() |
public ArrayList<FunctionSignature> | getFunctions() Returns the function map. |
PathExpr | getIdentifier(String name) |
Expr | getLimitMax() |
Expr | getLimitOffset() |
public String | getName() Returns the name of the select method. |
ArrayList<Expr> | getOrderExprList() Gets the order by expression. |
public EjbEntityBean | getPersistentBean() |
public String | getQuery() |
public boolean | getQueryLoadsBean() |
public String | getReturnEJB() Returns the return type of the select method. |
public Class | getReturnType() Returns the return type of the select method. |
public Expr | getSelectExpr() |
public static ArrayList<FunctionSignature> | getStandardFunctions() |
IdExpr | getThisExpr() Gets the this expression. |
public int | getUnique() |
Expr | getWhereExpr() Gets the where expression. |
public boolean | isDistinct() |
static boolean | methodEquals(ApiMethod a, ApiMethod b) |
public static void | parseOrderBy(EjbEntityBean bean, String orderBy, ArrayList<String> orderList, ArrayList<Boolean> orderAscendingList) |
public void | parseOrderBy(String orderBy, ArrayList<String> orderList, ArrayList<Boolean> orderAscendingList) Parses the select method's query. |
public EjbQuery | parseQuery(String query) Parses the select method's query. |
public void | setBooleanFalse(String literal) Sets the boolean false. |
public void | setBooleanTrue(String literal) Sets the boolean true. |
public void | setFunctions(ArrayList<FunctionSignature> functions) Sets the function map. |
public void | setLocation(String location) Sets the location. |
public void | setQueryLoadsBean(boolean loadBean) |
void | setReturnType(Class returnType) |
public String | toString() Returns a debuggable description of the select. |