|
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
|
+--com.solarmetric.kodo.impl.jdbc.ormapping.FieldMapping
|
+--com.solarmetric.kodo.impl.jdbc.ormapping.AbstractMapMapping
Abstract mapping to be extended by concrete Map mapping types.
| Field Summary | |
|---|---|
static String |
KEY_COL
Metadata extension key used to mark the name of the key column for this map. |
static String |
KEY_COL_INDEX
Metadata extension key used to mark the key column as indexed. |
static String |
KEY_COL_LENGTH
Metadata extension key used to mark the key column length. |
static String |
REF_COL
Metadata extension key used to mark the name of the reference column for this map. |
| Fields inherited from class com.solarmetric.kodo.impl.jdbc.ormapping.FieldMapping |
|---|
COL_INDEX, COL_LENGTH, DATA_COL |
| Fields inherited from class com.solarmetric.kodo.impl.jdbc.ormapping.Mapping |
|---|
CUSTOM_MAPPING, dict, MAPPING, TABLE |
| Constructor Summary | |
|---|---|
AbstractMapMapping()
|
|
| Method Summary | |
|---|---|
protected boolean |
canMap(FieldMetaData fmd,
ClassResolver resolver)
|
void |
compareToNull(ObjectSelect sel,
boolean isNull)
Compare this column to null. |
void |
delete(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
Delete the field from the secondary table for this mapping. |
Column |
getKeyColumn()
Return the key in this map. |
Column[] |
getPKColumns()
Return the primary key columns of the owning class. |
Column[] |
getRefColumns()
Return the columns of the table this Collection is stored in which hold the PK values of the owning object. |
Table |
getSecondaryTable()
Return the secondary table used by this mapping. |
protected abstract void |
insert(Insert insert,
Object key,
Object val,
StateManagerImpl sm,
Object[] pks,
int field)
|
void |
insert(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
Insert the given field into the secondary table for this mapping. |
protected void |
install(FieldMetaData fmd,
JDBCConfiguration conf,
ClassResolver resolver,
DBDictionary dict)
|
void |
setKeyColumn(Column column)
Set the key column for this map. |
void |
setPKColumns(Column[] val)
Set the primary key columns of the owning class. |
void |
setRefColumns(Column[] val)
Set the columns of the table this Collection is stored in which hold the PK values of the owning object. |
void |
update(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
Update the given field into the secondary table for this mapping. |
| Methods inherited from class com.solarmetric.kodo.impl.jdbc.ormapping.FieldMapping |
|---|
getDataColumns, getInstance, getInstance, getMetaData, join, setDataColumns |
| Methods inherited from class com.solarmetric.kodo.impl.jdbc.ormapping.Mapping |
|---|
createMappings, createMappings, getConfiguration, getDictionary, getInstance, getTable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.solarmetric.kodo.impl.jdbc.ormapping.Key |
|---|
joinKey |
| Methods inherited from interface com.solarmetric.kodo.impl.jdbc.ormapping.LoadSecondary |
|---|
load |
| Field Detail |
public static final String REF_COL
public static final String KEY_COL
public static final String KEY_COL_INDEX
public static final String KEY_COL_LENGTH
| Constructor Detail |
public AbstractMapMapping()
| Method Detail |
public Column[] getRefColumns()
public void setRefColumns(Column[] val)
public Column[] getPKColumns()
public void setPKColumns(Column[] val)
public Column getKeyColumn()
getKeyColumn in interface Keypublic void setKeyColumn(Column column)
public void compareToNull(ObjectSelect sel,
boolean isNull)
FieldMappingcompareToNull in class FieldMapping
public void insert(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
throws SQLException
StoreSecondaryinsert in interface StoreSecondary
public void update(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
throws SQLException
StoreSecondaryupdate in interface StoreSecondary
public void delete(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
throws SQLException
StoreSecondarydelete in interface StoreSecondary
protected abstract void insert(Insert insert,
Object key,
Object val,
StateManagerImpl sm,
Object[] pks,
int field)
throws SQLException
protected boolean canMap(FieldMetaData fmd,
ClassResolver resolver)
protected void install(FieldMetaData fmd,
JDBCConfiguration conf,
ClassResolver resolver,
DBDictionary dict)
public Table getSecondaryTable()
SecondaryTablegetSecondaryTable in interface SecondaryTable
|
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 | |||||||||