Kodo 4.2.0. generated on July 28 2008

kodo.jdbc.meta
Class KodoMappingRepository

java.lang.Object
  extended by org.apache.openjpa.meta.MetaDataRepository
      extended by org.apache.openjpa.jdbc.meta.MappingRepository
          extended by kodo.jdbc.meta.KodoMappingRepository
All Implemented Interfaces:
Serializable, PCRegistry.RegisterClassListener, Configurable, Closeable, MetaDataModes

public class KodoMappingRepository
extends MappingRepository

Mapping repository for Kodo extensions.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.openjpa.meta.MetaDataRepository
EMPTY_CLASSES, EMPTY_FIELDS, EMPTY_METAS, EMPTY_NON_PERSISTENT, EMPTY_ORDERS, EMPTY_XMLMETAS, VALIDATE_MAPPING, VALIDATE_META, VALIDATE_NONE, VALIDATE_RUNTIME, VALIDATE_UNENHANCED
 
Fields inherited from interface org.apache.openjpa.meta.MetaDataModes
MODE_ALL, MODE_ANN_MAPPING, MODE_MAPPING, MODE_MAPPING_INIT, MODE_META, MODE_NONE, MODE_QUERY
 
Constructor Summary
KodoMappingRepository()
           
 
Method Summary
 void clear()
           
protected  VersionStrategy defaultStrategy(Version version, boolean adapt)
           
protected  VersionStrategy defaultStrategy(Version vers, FieldMapping vfield)
           
 LockGroup getLockGroup(String name)
          Return the singleton lock group for the given name, creating it if needed.
protected  VersionStrategy instantiateVersionStrategy(String name, Version version)
          Instantiate the given version strategy.
protected  ClassMetaData newClassMetaData(Class type)
           
protected  ClassMetaData newEmbeddedClassMetaData(ValueMetaData owner)
           
protected  FieldMetaData newFieldMetaData(String name, Class type, ClassMetaData owner)
           
protected  VersionMappingInfo newMappingInfo(Version version)
          Create raw mapping info for the given instance.
 
Methods inherited from class org.apache.openjpa.jdbc.meta.MappingRepository
addQueryResultMapping, defaultHandler, defaultHandler, defaultStrategy, defaultStrategy, defaultStrategy, defaultStrategy, defaultStrategy, defaultStrategy, defaultStrategy, defaultTypeStrategy, endConfiguration, getCachedQueryResultMapping, getDBDictionary, getImplementorMappings, getMapping, getMapping, getMappingDefaults, getMappings, getQueryResultMapping, getQueryResultMappings, getSchemaGroup, getStrategyInstaller, handlerCollectionStrategy, handlerMapStrategy, instantiateClassStrategy, instantiateDiscriminatorStrategy, instantiateVersionStrategy, namedHandler, namedStrategy, namedStrategy, namedStrategy, namedStrategy, newClassMetaDataArray, newDiscriminator, newFieldMetaDataArray, newMappingInfo, newMappingInfo, newMappingInfo, newMappingInfo, newOrderArray, newRelatedFieldOrder, newSequenceMetaData, newValueMetaData, newValueOrder, newVersion, prepareMapping, removeQueryResultMapping, removeQueryResultMapping, setMappingDefaults, setSchemaGroup, setStrategyInstaller
 
Methods inherited from class org.apache.openjpa.meta.MetaDataRepository
addMetaData, addMetaData, addNonMappedInterface, addPersistenceAware, addQueryMetaData, addSequenceMetaData, addSystemListener, addXMLMetaData, close, getAliasNames, getCachedMetaData, getCachedQueryMetaData, getCachedSequenceMetaData, getCachedXMLMetaData, getClosestAliasName, getConfiguration, getImplementorMetaDatas, getLog, getMetaData, getMetaData, getMetaData, getMetaDataFactory, getMetaDatas, getNonMappedInterface, getNonMappedInterfaces, getPersistenceAware, getPersistenceAwares, getPersistentTypeNames, getQueryKey, getQueryMetaData, getQueryMetaDatas, getResolve, getSequenceMetaData, getSequenceMetaDatas, getSourceMode, getSystemListeners, getValidate, getXMLMetaData, loadPersistentTypes, newOrder, newQueryMetaData, newXMLClassMetaData, newXMLClassMetaDataArray, newXMLFieldMetaData, register, removeMetaData, removeMetaData, removeNonMappedInterface, removePersistenceAware, removeQueryMetaData, removeQueryMetaData, removeSequenceMetaData, removeSequenceMetaData, removeSystemListener, setConfiguration, setMetaDataFactory, setResolve, setResolve, setSourceMode, setSourceMode, setValidate, setValidate, startConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KodoMappingRepository

public KodoMappingRepository()
Method Detail

newClassMetaData

protected ClassMetaData newClassMetaData(Class type)
Overrides:
newClassMetaData in class MappingRepository

newEmbeddedClassMetaData

protected ClassMetaData newEmbeddedClassMetaData(ValueMetaData owner)
Overrides:
newEmbeddedClassMetaData in class MappingRepository

newFieldMetaData

protected FieldMetaData newFieldMetaData(String name,
                                         Class type,
                                         ClassMetaData owner)
Overrides:
newFieldMetaData in class MappingRepository

getLockGroup

public LockGroup getLockGroup(String name)
Return the singleton lock group for the given name, creating it if needed.


clear

public void clear()
Overrides:
clear in class MappingRepository

newMappingInfo

protected VersionMappingInfo newMappingInfo(Version version)
Create raw mapping info for the given instance.

Overrides:
newMappingInfo in class MappingRepository

instantiateVersionStrategy

protected VersionStrategy instantiateVersionStrategy(String name,
                                                     Version version)
Instantiate the given version strategy.

Overrides:
instantiateVersionStrategy in class MappingRepository

defaultStrategy

protected VersionStrategy defaultStrategy(Version version,
                                          boolean adapt)
Overrides:
defaultStrategy in class MappingRepository

defaultStrategy

protected VersionStrategy defaultStrategy(Version vers,
                                          FieldMapping vfield)
Overrides:
defaultStrategy in class MappingRepository

Kodo 4.2.0. generated on July 28 2008

Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.