|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.torque.map.MapHelper
public final class MapHelper
Utility methods for Database, Table and Column Maps.
| Method Summary | |
|---|---|
static ColumnMap |
getColumnMap(Column column,
CriteriaInterface<?> criteria)
Returns the column map for a column. |
static TableMap |
getTableMap(Object possibleColumn,
CriteriaInterface<?> criteria,
TableMap defaultTableMap)
Returns the table map for a table name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TableMap getTableMap(Object possibleColumn,
CriteriaInterface<?> criteria,
TableMap defaultTableMap)
throws TorqueException
possibleColumn - the possible column to get the table map for.criteria - A criteria containing the database name and perhaps
aliases for the column and table name, not null.defaultTableMap - a default table map which is used if the table
name cannot be resolved, may be null.
TorqueException - possibly if Torque is not initialized.
public static ColumnMap getColumnMap(Column column,
CriteriaInterface<?> criteria)
throws TorqueException
column - the column to get the column map for.criteria - A criteria containing the database name and perhaps
aliases for the column and table name, not null.
TorqueException - if Torque is not initialized and criteria's
databaseName is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||