Kodo 4.2.0 (DEPRECATED)

kodo.jdbc.meta
Class KodoClassMapping

java.lang.Object
  extended by org.apache.openjpa.meta.Extensions
      extended by org.apache.openjpa.meta.ClassMetaData
          extended by org.apache.openjpa.jdbc.meta.ClassMapping
              extended by kodo.jdbc.meta.KodoClassMapping
All Implemented Interfaces:
Serializable, Comparable, ClassStrategy, Strategy, SourceTracker, Commentable, MetaDataContext, MetaDataModes

public class KodoClassMapping
extends ClassMapping

ClassMapping with Kodo extensions.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.openjpa.jdbc.meta.ClassMapping
EMPTY_MAPPINGS
 
Fields inherited from class org.apache.openjpa.meta.ClassMetaData
ACCESS_FIELD, ACCESS_PROPERTY, ACCESS_UNKNOWN, DEFAULT_STRING, ID_APPLICATION, ID_DATASTORE, ID_UNKNOWN, SYNTHETIC
 
Fields inherited from class org.apache.openjpa.meta.Extensions
OPENJPA
 
Fields inherited from interface org.apache.openjpa.lib.meta.SourceTracker
SRC_ANNOTATIONS, SRC_OTHER, SRC_XML
 
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
 
Fields inherited from interface org.apache.openjpa.lib.xml.Commentable
EMPTY_COMMENTS
 
Constructor Summary
protected KodoClassMapping(Class type, MappingRepository repos)
          Constructor.
protected KodoClassMapping(ValueMetaData vmd)
          Embedded constructor.
 
Method Summary
 void addDeclaredLockGroup(LockGroup lg)
          Declare a lock group possibly used by subclass fields.
protected  void clearAllFieldCache()
           
 LockGroup[] getLockGroups()
          Return the lock groups for this class.
 boolean removeDeclaredLockGroup(LockGroup lg)
          Remove the given lock group from this class.
protected  void validateMapping(boolean runtime)
           
 
Methods inherited from class org.apache.openjpa.jdbc.meta.ClassMapping
addDeclaredFieldMapping, assertJoinable, clearDefinedFieldCache, clearMapping, clearSubclassCache, copy, customDelete, customInsert, customLoad, customLoad, customLoad, customUpdate, delete, getAlias, getColumnIO, getDeclaredFieldMapping, getDeclaredFieldMapping, getDeclaredFieldMappings, getDeclaredUnmanagedFieldMappings, getDefaultFetchGroupFieldMappings, getDefinedFieldMappings, getDefinedFieldMappingsInListingOrder, getDiscriminator, getEmbeddingMapping, getFieldMapping, getFieldMapping, getFieldMappings, getFieldMappingsInListingOrder, getIndependentAssignableMappings, getJoinable, getJoinablePCSubclassMappings, getJoinablePCSuperclassMapping, getJoinForeignKey, getMappedPCSubclassMappings, getMappedPCSuperclassMapping, getMappingInfo, getMappingRepository, getObjectId, getPCSubclassMappings, getPCSuperclassMapping, getPrimaryKeyColumns, getPrimaryKeyFieldMappings, getStrategy, getSubclassFetchMode, getTable, getVersion, getVersionFieldMapping, initialize, initializeMapping, insert, isCustomDelete, isCustomInsert, isCustomUpdate, isForeignKeyObjectId, isMapped, isPrimaryKeyObjectId, joinSuperclass, map, refSchemaComponents, resolveMapping, setClassMapping, setColumnIO, setDescribedType, setJoinable, setJoinForeignKey, setPrimaryKeyColumns, setStrategy, setSubclassFetchMode, setTable, supportsEagerSelect, syncMappingInfo, toDataStoreValue, update, validateDataStoreExtensionPrefix
 
Methods inherited from class org.apache.openjpa.meta.ClassMetaData
addDeclaredFetchGroup, addDeclaredField, addDeclaredInterface, addDefinedSuperclassField, addExtensionKeys, clearFieldCache, compareTo, defineSuperclassFields, equals, getAccessType, getComments, getCustomFetchGroups, getDataCache, getDataCacheName, getDataCacheTimeout, getDeclaredFetchGroups, getDeclaredField, getDeclaredField, getDeclaredFields, getDeclaredInterfaces, getDeclaredUnmanagedFields, getDefaultFetchGroupFields, getDefinedFields, getDefinedFieldsInListingOrder, getDefinedSuperclassField, getDescribedType, getDetachedState, getDetachedStateField, getEmbeddingMetaData, getEnvClassLoader, getExtraFieldDataIndex, getExtraFieldDataLength, getFetchGroup, getField, getField, getFields, getFieldsInListingOrder, getIdentitySequenceMetaData, getIdentitySequenceName, getIdentityStrategy, getIdentityType, getInterfaceAliasedProperties, getInterfaceImpl, getInterfacePropertyAlias, getLifecycleMetaData, getListingIndex, getMappedPCSubclassMetaDatas, getMappedPCSuperclassMetaData, getObjectIdType, getPCSubclasses, getPCSubclassMetaDatas, getPCSuperclass, getPCSuperclassMetaData, getPrimaryKeyFields, getRepository, getRequiresExtent, getResolve, getResourceName, getSourceFile, getSourceMode, getSourceScope, getSourceType, getSuperclassField, getTypeAlias, getVersionField, hashCode, isAccessibleField, isDetachable, isEmbeddedOnly, isIntercepting, isManagedInterface, isObjectIdTypeShared, isOpenJPAIdentity, removeDeclaredFetchGroup, removeDeclaredField, removeDeclaredInterface, removeDefinedSuperclassField, resolve, resolveMeta, setAccessType, setComments, setDataCacheName, setDataCacheTimeout, setDetachable, setDetachedState, setEmbeddedOnly, setEnvClassLoader, setIdentitySequenceName, setIdentityStrategy, setIdentityType, setIntercepting, setInterfaceImpl, setInterfacePropertyAlias, setListingIndex, setManagedInterface, setObjectIdType, setPCSuperclass, setPCSuperclassMetaData, setRequiresExtent, setResolve, setResolve, setSource, setSourceMode, setSourceMode, setTypeAlias, toString, usesDetachedState, validateMeta
 
Methods inherited from class org.apache.openjpa.meta.Extensions
addExtension, addExtension, copy, getBooleanExtension, getBooleanExtension, getDoubleExtension, getDoubleExtension, getEmbeddedExtensions, getEmbeddedExtensions, getExtensionKeys, getExtensionKeys, getExtensionVendors, getIntExtension, getIntExtension, getObjectExtension, getObjectExtension, getStringExtension, getStringExtension, hasExtension, hasExtension, isEmpty, removeEmbeddedExtensions, removeEmbeddedExtensions, removeExtension, removeExtension, validateExtensionKeys
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KodoClassMapping

protected KodoClassMapping(Class type,
                           MappingRepository repos)
Constructor. Supply described type and owning repository.


KodoClassMapping

protected KodoClassMapping(ValueMetaData vmd)
Embedded constructor. Supply embedding value and owning repository.

Method Detail

getLockGroups

public LockGroup[] getLockGroups()
Return the lock groups for this class. Currently, all lock groups must be defined in the least-derived mapped type. The lock groups will be returned in alphabetical order.


addDeclaredLockGroup

public void addDeclaredLockGroup(LockGroup lg)
Declare a lock group possibly used by subclass fields.


removeDeclaredLockGroup

public boolean removeDeclaredLockGroup(LockGroup lg)
Remove the given lock group from this class.


validateMapping

protected void validateMapping(boolean runtime)
Overrides:
validateMapping in class ClassMetaData

clearAllFieldCache

protected void clearAllFieldCache()
Overrides:
clearAllFieldCache in class ClassMetaData

Kodo 4.2.0 (DEPRECATED)

Copyright 2015 Oracle, Inc. All Rights Reserved.

This documentation is deprecated and will be removed in the next release of WebLogic Server.


Oracle Fusion Middleware Oracle Kodo 4.2.0 API Reference (DEPRECATED)
11g Release 1 (10.3.6)
Part Number E13950-03