|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
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. |
Column[] |
getColumns()
|
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,
ClassMapping mapping)
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()
Mapping
getMappingRepository
in interface Mapping
public ClassMapping getOwnerMapping()
public void setOwnerMapping(ClassMapping owner)
public boolean select(Select sel, ClassMapping mapping)
mapping
- the known base class being selectedpublic void fromMappingInfo(MappingInfo info, boolean adapt)
fromMappingInfo
in interface Mapping
addMappingInfoAttributes(java.util.Collection)
public void addMappingInfoAttributes(Collection attrs)
Mapping
addMappingInfoAttributes
in interface Mapping
public Table getTable()
Mapping
getTable
in interface Mapping
public Column[] getColumns()
public void refSchemaComponents()
Mapping
refSchemaComponents
in interface Mapping
public void reverseMap(SchemaGroup schema, ReverseMappingTool tool)
Mapping
reverseMap
in interface Mapping
public void insert(KodoStateManager sm, RowManager rm) throws SQLException
Mapping
insert
in interface Mapping
public void update(KodoStateManager sm, RowManager rm) throws SQLException
Mapping
update
in interface Mapping
kodo.jdbc.meta.Mapping
Mapping.insert(kodo.runtime.KodoStateManager, kodo.jdbc.sql.RowManager)
public void delete(KodoStateManager sm, RowManager rm) throws SQLException
Mapping
delete
in interface Mapping
kodo.jdbc.meta.Mapping
Mapping.insert(kodo.runtime.KodoStateManager, kodo.jdbc.sql.RowManager)
public Boolean isCustomInsert(KodoStateManager sm)
Mapping
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. Implement the
Mapping.insert(KodoStateManager,JDBCStoreManager)
method
to implement the custom insertion behavior.isCustomInsert
in interface Mapping
public Boolean isCustomUpdate(KodoStateManager sm)
Mapping
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. Implement the
Mapping.update(KodoStateManager,JDBCStoreManager)
method
to override the default update behavior.isCustomUpdate
in interface Mapping
public Boolean isCustomDelete(KodoStateManager sm)
Mapping
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. Implement the
Mapping.delete(KodoStateManager,JDBCStoreManager)
method
to override the default deletion behavior.isCustomDelete
in interface Mapping
public void insert(KodoStateManager sm, JDBCStoreManager store) throws SQLException
Mapping
insert
in interface Mapping
public void update(KodoStateManager sm, JDBCStoreManager store) throws SQLException
Mapping
update
in interface Mapping
public void delete(KodoStateManager sm, JDBCStoreManager store) throws SQLException
Mapping
delete
in interface Mapping
protected DBDictionary getDBDictionary()
|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |