|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.meta.AbstractMetaDataFactory org.apache.openjpa.meta.AbstractCFMetaDataFactory kodo.jdo.JDOMetaDataFactory kodo.jdo.DeprecatedJDOMetaDataFactory
public class DeprecatedJDOMetaDataFactory
JDO MetaDataFactory
that translates deprecated pre-JDO 2 Kodo
extensions into their current equivalents.
Nested Class Summary | |
---|---|
static class |
DeprecatedJDOMetaDataFactory.ExtensionTranslatingParser
Parser that translates deprecated extensions into current equivalents. |
Nested classes/interfaces inherited from class org.apache.openjpa.meta.AbstractCFMetaDataFactory |
---|
AbstractCFMetaDataFactory.Parser, AbstractCFMetaDataFactory.Serializer |
Field Summary | |
---|---|
static String[] |
CLASS_EXTENSIONS
All known class extensions. |
static String |
ELEMENT
|
static String |
EXT_AUTO_INCREMENT
Extension key indicating that a datastore identity value or field is auto-incrementing (superceded by identity-strategy and value-strategy ). |
static String |
EXT_DEPENDENT
Extension key root for indicating that a field is dependent. |
static String |
EXT_DETACHABLE
Extension used to mark a class as being capable of being detached. |
static String |
EXT_EAGER_FETCH_MODE
Extension key for naming the eager fetching policy of a field (superceded by jdbc-eager-fetch-mode ). |
static String |
EXT_FETCH_GROUP
Extension key for naming the fetch group of a field. |
static String |
EXT_INVERSE_OWNER
Extension key for naming the inverse owner of a field (superceded by mapped-by ). |
static String |
EXT_SEQUENCE_ASSIGNED
Extension key for indicating that a field is assigned a value from a sequence (superceded by value-strategy ). |
static String |
EXT_SEQUENCE_FACTORY
Extension key defining a sequence (superceded by named sequences). |
static String |
EXT_SEQUENCE_NAME
Extension key naming a sequence (superceded by named sequences). |
static String |
EXT_SUBCLASS_FETCH_MODE
Extension key for naming the subclass fetch policy (superceded by jdbc-subclass-fetch-mode ). |
static String[] |
FIELD_EXTENSIONS
All known field extensions. |
static String |
KEY
|
static String |
VALUE
|
Fields inherited from class org.apache.openjpa.meta.AbstractCFMetaDataFactory |
---|
cpath, files, rsrcs, urls |
Fields inherited from class org.apache.openjpa.meta.AbstractMetaDataFactory |
---|
dir, log, repos, store, strict, types |
Fields inherited from interface org.apache.openjpa.meta.MetaDataFactory |
---|
STORE_DEFAULT, STORE_PER_CLASS, STORE_VERBOSE |
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 | |
---|---|
DeprecatedJDOMetaDataFactory()
|
Method Summary | |
---|---|
void |
addClassExtensionKeys(Collection exts)
|
void |
addFieldExtensionKeys(Collection exts)
|
protected AbstractCFMetaDataFactory.Parser |
newParser(boolean loading)
|
protected boolean |
translateClassExtension(ClassMetaData cls,
String key,
String value)
Translate deprecated extensions into current equivalents. |
protected boolean |
translateFieldExtension(FieldMetaData field,
String key,
String value)
Translate deprecated extensions into current equivalents. |
Methods inherited from class org.apache.openjpa.meta.AbstractCFMetaDataFactory |
---|
backupAndDelete, clearMapping, drop, getDefiningMetaData, getPersistentTypeNames, getSourceFile, getSourceFile, isMappingOnlyFactory, mapPersistentTypeNames, parse, parse, serialize, setClasspathScan, setClasspathScan, setFiles, setFiles, setResources, setResources, setSourceFile, setSourceFile, setURLs, setURLs, store |
Methods inherited from class org.apache.openjpa.meta.AbstractMetaDataFactory |
---|
getQueryScope, getResultSetMappingScope, setRepository, setStoreDirectory, setStoreMode, setStrict, setTypes, setTypes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ELEMENT
public static final String KEY
public static final String VALUE
public static final String EXT_SUBCLASS_FETCH_MODE
jdbc-subclass-fetch-mode
).
public static final String EXT_AUTO_INCREMENT
identity-strategy
and value-strategy
).
public static final String EXT_SEQUENCE_FACTORY
public static final String EXT_SEQUENCE_NAME
public static final String EXT_DETACHABLE
public static final String[] CLASS_EXTENSIONS
public static final String EXT_INVERSE_OWNER
mapped-by
).
public static final String EXT_FETCH_GROUP
public static final String EXT_EAGER_FETCH_MODE
jdbc-eager-fetch-mode
).
public static final String EXT_SEQUENCE_ASSIGNED
value-strategy
).
public static final String EXT_DEPENDENT
public static final String[] FIELD_EXTENSIONS
Constructor Detail |
---|
public DeprecatedJDOMetaDataFactory()
Method Detail |
---|
protected AbstractCFMetaDataFactory.Parser newParser(boolean loading)
newParser
in class JDOMetaDataFactory
public void addClassExtensionKeys(Collection exts)
addClassExtensionKeys
in interface MetaDataFactory
addClassExtensionKeys
in class JDOMetaDataFactory
public void addFieldExtensionKeys(Collection exts)
addFieldExtensionKeys
in interface MetaDataFactory
addFieldExtensionKeys
in class JDOMetaDataFactory
protected boolean translateClassExtension(ClassMetaData cls, String key, String value)
protected boolean translateFieldExtension(FieldMetaData field, String key, String value)
|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |