kodo.jdo.jdbc
Class MappingFileDeprecatedJDOMappingFactory
java.lang.Object
org.apache.openjpa.meta.AbstractMetaDataFactory
org.apache.openjpa.meta.AbstractCFMetaDataFactory
kodo.jdo.JDOMetaDataFactory
kodo.jdo.DeprecatedJDOMetaDataFactory
kodo.jdo.jdbc.AbstractDeprecatedJDOMappingFactory
kodo.jdo.jdbc.MappingFileDeprecatedJDOMappingFactory
- All Implemented Interfaces:
- ApplicationIdTool.ObjectIdLoader, MetaDataFactory, MetaDataModes
public class MappingFileDeprecatedJDOMappingFactory
- extends kodo.jdo.jdbc.AbstractDeprecatedJDOMappingFactory
Specialization of the DeprecatedJDOMetaDataFactory
for old-style
mapping data stored in .mapping
files.
Nested classes/interfaces inherited from class kodo.jdo.jdbc.AbstractDeprecatedJDOMappingFactory |
kodo.jdo.jdbc.AbstractDeprecatedJDOMappingFactory.ClassMappingAttrs, kodo.jdo.jdbc.AbstractDeprecatedJDOMappingFactory.FieldMappingAttrs, kodo.jdo.jdbc.AbstractDeprecatedJDOMappingFactory.MappingAttrs, kodo.jdo.jdbc.AbstractDeprecatedJDOMappingFactory.MappingAttrsParser, kodo.jdo.jdbc.AbstractDeprecatedJDOMappingFactory.MappingAttrsRepository, kodo.jdo.jdbc.AbstractDeprecatedJDOMappingFactory.MappingAttrsSerializer |
Fields inherited from class kodo.jdo.jdbc.AbstractDeprecatedJDOMappingFactory |
CLASS_EXTENSIONS, EXT_CLASS_IND_NAME, EXT_CLASS_IND_VALUE, EXT_CLASS_MAP_NAME, EXT_DELETE_ACTION, EXT_FIELD_MAP_NAME, EXT_INDEXED, EXT_JDBC_TYPE, EXT_NULL_IND, EXT_ORDERED, EXT_SIZE, EXT_SQL_TYPE, EXT_VERSION_IND_NAME, FIELD_EXTENSIONS, JDBC, JDBC_CLASS_IND, JDBC_VERSION_IND, KODO, REF |
Fields inherited from class kodo.jdo.DeprecatedJDOMetaDataFactory |
ELEMENT, EXT_AUTO_INCREMENT, EXT_DEPENDENT, EXT_DETACHABLE, EXT_EAGER_FETCH_MODE, EXT_FETCH_GROUP, EXT_INVERSE_OWNER, EXT_SEQUENCE_ASSIGNED, EXT_SEQUENCE_FACTORY, EXT_SEQUENCE_NAME, EXT_SUBCLASS_FETCH_MODE, KEY, VALUE |
Methods inherited from class kodo.jdo.jdbc.AbstractDeprecatedJDOMappingFactory |
addClassExtensionKeys, addFieldExtensionKeys, fromMappingAttrs, newMappingParser, newMappingSerializer, setStrict, stripDeprecatedExtensions, stripMappingExtensions, toMappingAttrs, translateClassExtension, translateFieldExtension |
Methods inherited from class kodo.jdo.JDOMetaDataFactory |
defaultSourceFile, defaultSourceFile, defaultSourceFile, getDefaults, getParser, isDeclaredInterfacePersistent, isParseTopDown, isScanTopDown, newClassArgParser, newMetaDataFilter, newSerializer, setDeclaredInterfacePersistent, setLoadObjectIds, setParser, setScanTopDown, setUseSchemaValidation, useSchemaValidation |
Methods inherited from class org.apache.openjpa.meta.AbstractCFMetaDataFactory |
backupAndDelete, clearMapping, getDefiningMetaData, getPersistentTypeNames, getSourceFile, getSourceFile, isMappingOnlyFactory, mapPersistentTypeNames, parse, parse, serialize, setClasspathScan, setClasspathScan, setFiles, setFiles, setResources, setResources, setSourceFile, setSourceFile, setURLs, setURLs |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappingFileDeprecatedJDOMappingFactory
public MappingFileDeprecatedJDOMappingFactory()
isSingleFile
public boolean isSingleFile()
- Whether to use a single top-level mapping file. If false then
mapping files mirror the placement of the corresponding JDO metadata
files.
setSingleFile
public void setSingleFile(boolean singleFile)
- Whether to use a single top-level mapping file. If false then
mapping files mirror the placement of the corresponding JDO metadata
files.
getFileName
public String getFileName()
- The name of the file to use in single-file mode. Defaults to
package.mapping
.
setFileName
public void setFileName(String fileName)
- The name of the file to use in single-file mode. Defaults to
package.mapping
.
clear
public void clear()
- Specified by:
clear
in interface MetaDataFactory
- Overrides:
clear
in class JDOMetaDataFactory
load
public void load(Class cls,
int mode,
ClassLoader envLoader)
- Specified by:
load
in interface MetaDataFactory
- Overrides:
load
in class JDOMetaDataFactory
store
public boolean store(ClassMetaData[] metas,
QueryMetaData[] queries,
SequenceMetaData[] seqs,
int mode,
Map output)
- Specified by:
store
in interface MetaDataFactory
- Overrides:
store
in class AbstractCFMetaDataFactory
drop
public boolean drop(Class[] cls,
int mode,
ClassLoader envLoader)
- Specified by:
drop
in interface MetaDataFactory
- Overrides:
drop
in class AbstractCFMetaDataFactory
getMetaDataSuffix
protected String getMetaDataSuffix()
- Description copied from class:
JDOMetaDataFactory
- Metadata file suffix.
- Overrides:
getMetaDataSuffix
in class JDOMetaDataFactory
Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.