kodo.jdo.jdbc
Class ORMFileJDORMappingFactory
java.lang.Object
org.apache.openjpa.meta.AbstractMetaDataFactory
org.apache.openjpa.meta.AbstractCFMetaDataFactory
kodo.jdo.JDOMetaDataFactory
kodo.jdo.jdbc.ORMFileJDORMappingFactory
- All Implemented Interfaces:
- ApplicationIdTool.ObjectIdLoader, Configurable, MetaDataFactory, MetaDataModes
public class ORMFileJDORMappingFactory
- extends JDOMetaDataFactory
- implements Configurable
Plugin to load and store JDO mapping data in .orm
files.
This should be combined with a standard MetaDataFactory
in a
MetaDataPlusMappingFactory
.
Methods inherited from class kodo.jdo.JDOMetaDataFactory |
clear, defaultSourceFile, defaultSourceFile, defaultSourceFile, getParser, isDeclaredInterfacePersistent, isParseTopDown, isScanTopDown, loadXMLMetaData, newAnnotationSerializer, newClassArgParser, newMetaDataFilter, setDeclaredInterfacePersistent, setLoadObjectIds, setParser, setScanTopDown, setUseSchemaValidation, useSchemaValidation |
Methods inherited from class org.apache.openjpa.meta.AbstractCFMetaDataFactory |
backupAndDelete, clearMapping, drop, getDefiningMetaData, getPersistentTypeNames, mapPersistentTypeNames, parse, serialize, setClasspathScan, setClasspathScan, setFiles, setFiles, setResources, setResources, setURLs, setURLs, store |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORMFileJDORMappingFactory
public ORMFileJDORMappingFactory()
getConstraintNames
public boolean getConstraintNames()
- Whether to write out constraint names in generated mapping data.
Defaults to false.
setConstraintNames
public void setConstraintNames(boolean cnames)
- Whether to write out constraint names in generated mapping data.
Defaults to false.
getMapping
public String getMapping()
- The mapping suffix supplied by the user. Defaults to
value of configuration property.
setMapping
public void setMapping(String mapping)
- The mapping suffix supplied by the user. Defaults to
value of configuration property.
load
public void load(Class cls,
int mode,
ClassLoader envLoader)
- Specified by:
load
in interface MetaDataFactory
- Overrides:
load
in class JDOMetaDataFactory
getDefaults
public MetaDataDefaults getDefaults()
- Specified by:
getDefaults
in interface MetaDataFactory
- Overrides:
getDefaults
in class JDOMetaDataFactory
addClassExtensionKeys
public void addClassExtensionKeys(Collection exts)
- Specified by:
addClassExtensionKeys
in interface MetaDataFactory
- Overrides:
addClassExtensionKeys
in class JDOMetaDataFactory
addFieldExtensionKeys
public void addFieldExtensionKeys(Collection exts)
- Specified by:
addFieldExtensionKeys
in interface MetaDataFactory
- Overrides:
addFieldExtensionKeys
in class JDOMetaDataFactory
newParser
protected AbstractCFMetaDataFactory.Parser newParser(boolean loading)
- Overrides:
newParser
in class JDOMetaDataFactory
newSerializer
protected AbstractCFMetaDataFactory.Serializer newSerializer()
- Overrides:
newSerializer
in class JDOMetaDataFactory
getMetaDataSuffix
protected String getMetaDataSuffix()
- Description copied from class:
JDOMetaDataFactory
- Metadata file suffix.
- Overrides:
getMetaDataSuffix
in class JDOMetaDataFactory
isMappingOnlyFactory
protected boolean isMappingOnlyFactory()
- Overrides:
isMappingOnlyFactory
in class AbstractCFMetaDataFactory
parse
protected void parse(MetaDataParser parser,
Class[] cls)
- Overrides:
parse
in class AbstractCFMetaDataFactory
getSourceFile
protected File getSourceFile(ClassMetaData meta)
- Overrides:
getSourceFile
in class AbstractCFMetaDataFactory
setSourceFile
protected void setSourceFile(ClassMetaData meta,
File file)
- Overrides:
setSourceFile
in class AbstractCFMetaDataFactory
getSourceFile
protected File getSourceFile(SequenceMetaData meta)
- Overrides:
getSourceFile
in class AbstractCFMetaDataFactory
setSourceFile
protected void setSourceFile(SequenceMetaData meta,
File file)
- Overrides:
setSourceFile
in class AbstractCFMetaDataFactory
setConfiguration
public void setConfiguration(Configuration conf)
- Specified by:
setConfiguration
in interface Configurable
startConfiguration
public void startConfiguration()
- Specified by:
startConfiguration
in interface Configurable
endConfiguration
public void endConfiguration()
- Specified by:
endConfiguration
in interface Configurable
Copyright 2011 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-02