|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.equanda.ymport.DatabaseMapAdapter
public class DatabaseMapAdapter
Adapter for DatabaseMap objects. Only needs initialisation of static variables.
| Field Summary | |
|---|---|
protected static HashMap<String,FieldMap> |
FIELDS_MAP
map object, for quick and easy retrieval of FieldMap |
protected static HashMap<String,TableHandler> |
SELECTORS_MAP
map object, for quick retrieval of selector TableHandler |
protected static HashMap<String,TableHandler> |
TABLES_MAP
map object, for quick and easy retrieval of TableHandler |
| Constructor Summary | |
|---|---|
DatabaseMapAdapter()
|
|
| Method Summary | |
|---|---|
FieldMap |
getFieldMap(String table)
Get the FieldMap for a specific table |
TableHandler |
getSelector(String table)
Get the handler for a specific selector which needs parameters. |
TableHandler |
getTableHandler(String table)
Get the table handler for a specific table/selector combination |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final HashMap<String,TableHandler> TABLES_MAP
protected static final HashMap<String,FieldMap> FIELDS_MAP
protected static final HashMap<String,TableHandler> SELECTORS_MAP
| Constructor Detail |
|---|
public DatabaseMapAdapter()
| Method Detail |
|---|
public TableHandler getTableHandler(String table)
throws ImportHandlerException
getTableHandler in interface DatabaseMaptable - combination table/selector name
ImportHandlerException
public FieldMap getFieldMap(String table)
throws ImportHandlerException
getFieldMap in interface DatabaseMaptable - table name, may contain a selector in it
ImportHandlerException
public TableHandler getSelector(String table)
throws ImportHandlerException
getSelector in interface DatabaseMaptable - table name
ImportHandlerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||