|
SolarMetric Kodo JDO 2.4.3 generated on March 27 2003 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.solarmetric.kodo.impl.jdbc.ormapping.Mapping
Abstract base type for class and field mappings.
| Field Summary | |
|---|---|
static String |
CUSTOM_MAPPING
Metadata extension key used identify a custom class mapping. |
protected DBDictionary |
dict
|
static String |
MAPPING
Metadata extension key used to install mappings onto metadata. |
static String |
TABLE
Metadata extension key used to mark the name of the table a class or field is stored in. |
| Constructor Summary | |
|---|---|
Mapping()
|
|
| Method Summary | |
|---|---|
static void |
createMappings(Class[] types,
JDBCConfiguration conf,
ClassResolver resolver,
DBDictionary dict)
Creates and installs a ClassMapping and FieldMappings
for the given types. |
static void |
createMappings(Class[] types,
JDBCConfiguration conf,
ClassResolver resolver,
DBDictionary dict,
boolean skipNoMetadata)
|
JDBCConfiguration |
getConfiguration()
Return the configuration used to create this mapping. |
DBDictionary |
getDictionary()
Return the dictionary used to create this mapping. |
static Mapping |
getInstance(Extensions exts)
Return the Mapping bound to the given metadata. |
Table |
getTable(String tableName)
Look up a Table object with the given name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String MAPPING
public static final String CUSTOM_MAPPING
public static final String TABLE
protected DBDictionary dict
| Constructor Detail |
public Mapping()
| Method Detail |
public static Mapping getInstance(Extensions exts)
getInstance methods in
#ClassMapping and FieldMapping.
public static void createMappings(Class[] types,
JDBCConfiguration conf,
ClassResolver resolver,
DBDictionary dict)
ClassMapping and FieldMappings
for the given types. Note that for each class in the given array, all
subclasses and related types of the class must also be included in the
array.
public static void createMappings(Class[] types,
JDBCConfiguration conf,
ClassResolver resolver,
DBDictionary dict,
boolean skipNoMetadata)
public JDBCConfiguration getConfiguration()
public DBDictionary getDictionary()
public Table getTable(String tableName)
name. The
returned table is guaranteed to be unique per Configuration.
|
SolarMetric Kodo JDO 2.4.3 generated on March 27 2003 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||