SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.kodo.impl.jdbc.meta
Class Indicator

java.lang.Object
  |
  +--com.solarmetric.rd.kodo.impl.jdbc.meta.Mapping
        |
        +--com.solarmetric.rd.kodo.impl.jdbc.meta.Indicator
Direct Known Subclasses:
ClassIndicator, VersionIndicator

public abstract class Indicator
extends Mapping

Base class for class and version indicators.


Field Summary
 
Fields inherited from class com.solarmetric.rd.kodo.impl.jdbc.meta.Mapping
DEFAULT, FALSE, LOB, TRUE, UNIQUE
 
Constructor Summary
Indicator()
           
 
Method Summary
 void delete(com.solarmetric.rd.kodo.runtime.StateManagerImpl sm, com.solarmetric.rd.kodo.impl.jdbc.runtime.RowManager rm)
          Set the where values appropriately to delete the proper instance, and set all relations on non-secondary tables as updates.
 com.solarmetric.rd.kodo.impl.jdbc.meta.MappingRepository getMappingRepository()
          Return the repository for this mapping.
 com.solarmetric.rd.kodo.impl.jdbc.meta.ClassMapping getOwnerMapping()
          Return the class mapping that uses this indicator.
 com.solarmetric.rd.kodo.impl.jdbc.schema.Table getTable()
          Return the mapping's data table.
 void insert(com.solarmetric.rd.kodo.runtime.StateManagerImpl sm, com.solarmetric.rd.kodo.impl.jdbc.runtime.RowManager rm)
          Set values for the mapping into the proper rows.
 void refSchemaComponents()
          Increment the reference count of all used schema components.
 void select(com.solarmetric.rd.kodo.impl.jdbc.runtime.Select sel)
          Select the virtual row columns of this mapping.
 void setOwnerMapping(com.solarmetric.rd.kodo.impl.jdbc.meta.ClassMapping owner)
          Set the class mapping that uses this indicator.
 void update(com.solarmetric.rd.kodo.runtime.StateManagerImpl sm, com.solarmetric.rd.kodo.impl.jdbc.runtime.RowManager rm)
          Set values for the mapping into the proper rows.
 
Methods inherited from class com.solarmetric.rd.kodo.impl.jdbc.meta.Mapping
checkIndex, createColumn, delete, fromMappingInfo, getDBDictionary, getForeignKey, getLog, getMappingType, getSchemaGroup, insert, invalidMapping, isCustomDelete, isCustomInsert, isCustomUpdate, map, reverseMap, setForeignKey, toMappingInfo, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Indicator

public Indicator()
Method Detail

getOwnerMapping

public com.solarmetric.rd.kodo.impl.jdbc.meta.ClassMapping getOwnerMapping()
Return the class mapping that uses this indicator.


setOwnerMapping

public void setOwnerMapping(com.solarmetric.rd.kodo.impl.jdbc.meta.ClassMapping owner)
Set the class mapping that uses this indicator.


select

public void select(com.solarmetric.rd.kodo.impl.jdbc.runtime.Select sel)
Select the virtual row columns of this mapping.


getTable

public com.solarmetric.rd.kodo.impl.jdbc.schema.Table getTable()
Description copied from class: Mapping
Return the mapping's data table.

Specified by:
getTable in class Mapping

refSchemaComponents

public void refSchemaComponents()
Description copied from class: Mapping
Increment the reference count of all used schema components.

Specified by:
refSchemaComponents in class Mapping

insert

public void insert(com.solarmetric.rd.kodo.runtime.StateManagerImpl sm,
                   com.solarmetric.rd.kodo.impl.jdbc.runtime.RowManager rm)
            throws java.sql.SQLException
Description copied from class: Mapping
Set values for the mapping into the proper rows. For class mappings, this method will be called only after the corresponding method has been called for all fields of this mapping.

Specified by:
insert in class Mapping
java.sql.SQLException

update

public void update(com.solarmetric.rd.kodo.runtime.StateManagerImpl sm,
                   com.solarmetric.rd.kodo.impl.jdbc.runtime.RowManager rm)
            throws java.sql.SQLException
Description copied from class: Mapping
Set values for the mapping into the proper rows.

Specified by:
update in class Mapping
java.sql.SQLException
See Also:
Mapping.insert(com.solarmetric.rd.kodo.runtime.StateManagerImpl, com.solarmetric.rd.kodo.impl.jdbc.runtime.RowManager)

delete

public void delete(com.solarmetric.rd.kodo.runtime.StateManagerImpl sm,
                   com.solarmetric.rd.kodo.impl.jdbc.runtime.RowManager rm)
            throws java.sql.SQLException
Description copied from class: Mapping
Set the where values appropriately to delete the proper instance, and set all relations on non-secondary tables as updates. This allows foreign key analysis.

Specified by:
delete in class Mapping
java.sql.SQLException
See Also:
Mapping.insert(com.solarmetric.rd.kodo.runtime.StateManagerImpl, com.solarmetric.rd.kodo.impl.jdbc.runtime.RowManager)

getMappingRepository

public com.solarmetric.rd.kodo.impl.jdbc.meta.MappingRepository getMappingRepository()
Description copied from class: Mapping
Return the repository for this mapping.

Specified by:
getMappingRepository in class Mapping

SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.