SolarMetric Kodo JDO 3.2.4 generated on January 7 2005

kodo.jdbc.meta
Class InValueClassIndicator

java.lang.Object
  |
  +--kodo.jdbc.meta.Indicator
        |
        +--kodo.jdbc.meta.ClassIndicator
              |
              +--kodo.jdbc.meta.ColumnClassIndicator
                    |
                    +--kodo.jdbc.meta.InValueClassIndicator
All Implemented Interfaces:
Mapping
Direct Known Subclasses:
InClassNameClassIndicator, MetaDataValueClassIndicator

public abstract class InValueClassIndicator
extends ColumnClassIndicator

Base class indicator that determines the class of database records using a column holding a value mapped to a class, and limits SELECTs using an IN (...) statement.


Constructor Summary
InValueClassIndicator()
           
 
Method Summary
 SQLBuffer getClassConditions(JDBCStoreManager store, Select sel, Joins joins, ClassMapping cls, boolean subclasses)
          Return SQL to limit the classes selected as much as possible to the given base class, and optionally its subclasses.
 
Methods inherited from class kodo.jdbc.meta.ColumnClassIndicator
addMappingInfoAttributes, fromMappingInfo, getClass, getClass, getClassIndicator, getColumn, getColumns, getDataStoreTypeCode, getJDBCType, insert, map, select, setColumn, toMappingInfo
 
Methods inherited from class kodo.jdbc.meta.ClassIndicator
getClassLoader, getDefaults, loadSubclasses, newInstance, setSubclassesLoaded, subclassesLoaded, toString
 
Methods inherited from class kodo.jdbc.meta.Indicator
delete, delete, getDBDictionary, getMappingRepository, getOwnerMapping, getTable, insert, isCustomDelete, isCustomInsert, isCustomUpdate, refSchemaComponents, reverseMap, setOwnerMapping, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface kodo.jdbc.meta.Mapping
getMappingType
 

Constructor Detail

InValueClassIndicator

public InValueClassIndicator()
Method Detail

getClassConditions

public SQLBuffer getClassConditions(JDBCStoreManager store,
                                    Select sel,
                                    Joins joins,
                                    ClassMapping cls,
                                    boolean subclasses)
Description copied from class: ClassIndicator
Return SQL to limit the classes selected as much as possible to the given base class, and optionally its subclasses. Return null if no conditions needed. The select and joins instances are supplied in order to get column aliases.
Overrides:
getClassConditions in class ClassIndicator

SolarMetric Kodo JDO 3.2.4 generated on January 7 2005

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