SolarMetric Kodo JDO 3.3.5 generated on August 31 2005

kodo.jdbc.meta
Class MetaDataValueClassIndicator

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

public class MetaDataValueClassIndicator
extends InValueClassIndicator

Determines the class of database records using a metadata extensions that map a database value to the class it represents.


Field Summary
static String INDICATOR_VALUE
          Extension key used to specify the column class indicator value for this class.
static String TYPE
           
 
Constructor Summary
MetaDataValueClassIndicator()
           
 
Method Summary
protected  Class getClass(Object indicator, ClassLoader loader)
          Return the class for the given column value.
protected  Object getClassIndicator(ClassMapping mapping)
          Return the value the column should take.
protected  int getDataStoreTypeCode()
          Return the FieldMapping type code for the type of data stored by this indicator.
 String getIndicatorValue()
           
 String getMappingType()
          Return the abbreviated name of this mapping, or the full class name if it is a custom mapping.
 void setIndicatorValue(String val)
           
 
Methods inherited from class kodo.jdbc.meta.InValueClassIndicator
getClassConditions
 
Methods inherited from class kodo.jdbc.meta.ColumnClassIndicator
addMappingInfoAttributes, fromMappingInfo, getClass, getColumn, getColumns, 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
 

Field Detail

INDICATOR_VALUE

public static final String INDICATOR_VALUE
Extension key used to specify the column class indicator value for this class.

TYPE

public static final String TYPE
Constructor Detail

MetaDataValueClassIndicator

public MetaDataValueClassIndicator()
Method Detail

getMappingType

public String getMappingType()
Description copied from interface: Mapping
Return the abbreviated name of this mapping, or the full class name if it is a custom mapping.

getIndicatorValue

public String getIndicatorValue()

setIndicatorValue

public void setIndicatorValue(String val)

getDataStoreTypeCode

protected int getDataStoreTypeCode()
Description copied from class: ColumnClassIndicator
Return the FieldMapping type code for the type of data stored by this indicator.
Overrides:
getDataStoreTypeCode in class ColumnClassIndicator

getClassIndicator

protected Object getClassIndicator(ClassMapping mapping)
Description copied from class: ColumnClassIndicator
Return the value the column should take.
Overrides:
getClassIndicator in class ColumnClassIndicator

getClass

protected Class getClass(Object indicator,
                         ClassLoader loader)
                  throws ClassNotFoundException
Description copied from class: ColumnClassIndicator
Return the class for the given column value.
Overrides:
getClass in class ColumnClassIndicator

SolarMetric Kodo JDO 3.3.5 generated on August 31 2005

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