|
SolarMetric Kodo JDO 3.1.6 generated on August 25 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--kodo.jdbc.meta.Indicator
Base class for class and version indicators.
| Constructor Summary | |
Indicator()
|
|
| Method Summary | |
void |
addMappingInfoAttributes(Collection attrs)
Add all mapping attributes names used by this mapping to the given collection. |
void |
delete(KodoStateManager sm,
JDBCStoreManager store)
Override this method to customize flushing this mapping. |
void |
delete(KodoStateManager sm,
RowManager rm)
Set the where values appropriately to delete the proper instance, and set all relations on non-secondary tables as updates. |
void |
fromMappingInfo(MappingInfo info,
boolean adapt)
The default implementation will raise warnings for any mapping attributes that are declared but not in the list of the valid attributes for this mapping. |
protected DBDictionary |
getDBDictionary()
|
MappingRepository |
getMappingRepository()
Return the mapping's repository. |
ClassMapping |
getOwnerMapping()
Return the class mapping that uses this indicator. |
Table |
getTable()
Return the mapping's primary data table. |
void |
insert(KodoStateManager sm,
JDBCStoreManager store)
Override this method to customize flushing this mapping. |
void |
insert(KodoStateManager sm,
RowManager rm)
Set values for the mapping into the proper rows. |
Boolean |
isCustomDelete(KodoStateManager sm)
Return Boolean.FALSE if this mapping does not customize the
delete process, Boolean.TRUE if it does, or null if it does
customize the delete, but also relies on the standard delete method
being called. |
Boolean |
isCustomInsert(KodoStateManager sm)
Return Boolean.FALSE if this mapping does not customize the
insert process, Boolean.TRUE if it does, or null if it does
customize the insert, but also relies on the standard insert method
being called. |
Boolean |
isCustomUpdate(KodoStateManager sm)
Return Boolean.FALSE if this mapping does not customize the
update process, Boolean.TRUE if it does, or null if it does
customize the update, but also relies on the standard update method
being called. |
void |
refSchemaComponents()
Increment the reference count of all used schema components. |
void |
reverseMap(SchemaGroup schema,
ReverseMappingTool tool)
Create mappings from the schema, using the given tool. |
boolean |
select(Select sel)
Select the virtual row columns of this mapping. |
void |
setOwnerMapping(ClassMapping owner)
Set the class mapping that uses this indicator. |
void |
update(KodoStateManager sm,
JDBCStoreManager store)
Override this method to customize flushing this mapping. |
void |
update(KodoStateManager sm,
RowManager rm)
Set values for the mapping into the proper rows. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface kodo.jdbc.meta.Mapping |
getMappingType, map, toMappingInfo |
| Constructor Detail |
public Indicator()
| Method Detail |
public MappingRepository getMappingRepository()
MappinggetMappingRepository in interface Mappingpublic ClassMapping getOwnerMapping()
public void setOwnerMapping(ClassMapping owner)
public boolean select(Select sel)
public void fromMappingInfo(MappingInfo info,
boolean adapt)
fromMappingInfo in interface MappingaddMappingInfoAttributes(java.util.Collection)public void addMappingInfoAttributes(Collection attrs)
MappingaddMappingInfoAttributes in interface Mappingpublic Table getTable()
MappinggetTable in interface Mappingpublic void refSchemaComponents()
MappingrefSchemaComponents in interface Mapping
public void reverseMap(SchemaGroup schema,
ReverseMappingTool tool)
MappingreverseMap in interface Mapping
public void insert(KodoStateManager sm,
RowManager rm)
throws SQLException
Mappinginsert in interface Mapping
public void update(KodoStateManager sm,
RowManager rm)
throws SQLException
Mappingupdate in interface Mappingkodo.jdbc.meta.MappingMapping.insert(kodo.runtime.KodoStateManager, kodo.jdbc.sql.RowManager)
public void delete(KodoStateManager sm,
RowManager rm)
throws SQLException
Mappingdelete in interface Mappingkodo.jdbc.meta.MappingMapping.insert(kodo.runtime.KodoStateManager, kodo.jdbc.sql.RowManager)public Boolean isCustomInsert(KodoStateManager sm)
MappingBoolean.FALSE if this mapping does not customize the
insert process, Boolean.TRUE if it does, or null if it does
customize the insert, but also relies on the standard insert method
being called. Implement the
#insert(KodoStateManager,JDBCStoreManager,Connection) method
to implement the custom insertion behavior.isCustomInsert in interface Mappingpublic Boolean isCustomUpdate(KodoStateManager sm)
MappingBoolean.FALSE if this mapping does not customize the
update process, Boolean.TRUE if it does, or null if it does
customize the update, but also relies on the standard update method
being called. Implement the
#update(KodoStateManager,JDBCStoreManager,Connection) method
to override the default update behavior.isCustomUpdate in interface Mappingpublic Boolean isCustomDelete(KodoStateManager sm)
MappingBoolean.FALSE if this mapping does not customize the
delete process, Boolean.TRUE if it does, or null if it does
customize the delete, but also relies on the standard delete method
being called. Implement the
#delete(KodoStateManager,JDBCStoreManager,Connection) method
to override the default deletion behavior.isCustomDelete in interface Mapping
public void insert(KodoStateManager sm,
JDBCStoreManager store)
throws SQLException
Mappinginsert in interface Mapping
public void update(KodoStateManager sm,
JDBCStoreManager store)
throws SQLException
Mappingupdate in interface Mapping
public void delete(KodoStateManager sm,
JDBCStoreManager store)
throws SQLException
Mappingdelete in interface Mappingprotected DBDictionary getDBDictionary()
|
SolarMetric Kodo JDO 3.1.6 generated on August 25 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||