Class PersistenceMappingFactory
- java.lang.Object
-
- org.apache.openjpa.meta.AbstractMetaDataFactory
-
- org.apache.openjpa.meta.AbstractCFMetaDataFactory
-
- org.apache.openjpa.persistence.PersistenceMetaDataFactory
-
- org.apache.openjpa.persistence.jdbc.PersistenceMappingFactory
-
- All Implemented Interfaces:
Configurable
,GenericConfigurable
,MetaDataFactory
,MetaDataModes
public class PersistenceMappingFactory extends PersistenceMetaDataFactory
MetaDataFactory
for JPA mapping information.- Since:
- 0.4.0
- Author:
- Abe White
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.openjpa.meta.AbstractCFMetaDataFactory
AbstractCFMetaDataFactory.Parser, AbstractCFMetaDataFactory.Serializer
-
-
Field Summary
-
Fields inherited from class org.apache.openjpa.persistence.PersistenceMetaDataFactory
_stack
-
Fields inherited from class org.apache.openjpa.meta.AbstractCFMetaDataFactory
cpath, files, JAR_FILE_URLS, MAPPING_FILE_NAMES, PERSISTENCE_UNIT_ROOT_URL, 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
Constructors Constructor Description PersistenceMappingFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AnnotationPersistenceMetaDataParser
newAnnotationParser()
Create a new metadata parser.protected AnnotationPersistenceMetaDataSerializer
newAnnotationSerializer()
Create a new annotation serializer.protected XMLPersistenceMetaDataParser
newXMLParser(boolean loading)
Create a new metadata parser.protected XMLPersistenceMetaDataSerializer
newXMLSerializer()
Create a new serializer-
Methods inherited from class org.apache.openjpa.persistence.PersistenceMetaDataFactory
clear, defaultSourceFile, defaultSourceFile, defaultSourceFile, endConfiguration, getAnnotationParser, getDefaults, getFieldOverride, getManagedClass, getManagedClassName, getMetaModelClassName, getQueryScope, getResultSetMappingScope, getXMLAnnotationParser, getXMLParser, isMetaClass, load, loadXMLMetaData, mapPersistentTypeNames, newClassArgParser, newMetaDataFilter, newParser, newSerializer, newXMLAnnotationParser, parse, resetXMLParser, setAnnotationParser, setConfiguration, setFieldOverride, setInto, setXMLAnnotationParser, setXMLParser, startConfiguration
-
Methods inherited from class org.apache.openjpa.meta.AbstractCFMetaDataFactory
backupAndDelete, clearMapping, decode, drop, getDefiningMetaData, getPersistentTypeNames, getSourceFile, getSourceFile, isMappingOnlyFactory, isParseTopDown, parse, parsePersistentTypeNames, serialize, setClasspathScan, setClasspathScan, setFiles, setFiles, setResources, setResources, setSourceFile, setSourceFile, setURLs, setURLs, store
-
Methods inherited from class org.apache.openjpa.meta.AbstractMetaDataFactory
addClassExtensionKeys, addFieldExtensionKeys, setRepository, setStoreDirectory, setStoreMode, setStrict, setTypes, setTypes
-
-
-
-
Method Detail
-
newAnnotationParser
protected AnnotationPersistenceMetaDataParser newAnnotationParser()
Description copied from class:PersistenceMetaDataFactory
Create a new metadata parser.- Overrides:
newAnnotationParser
in classPersistenceMetaDataFactory
-
newAnnotationSerializer
protected AnnotationPersistenceMetaDataSerializer newAnnotationSerializer()
Description copied from class:PersistenceMetaDataFactory
Create a new annotation serializer.- Overrides:
newAnnotationSerializer
in classPersistenceMetaDataFactory
-
newXMLParser
protected XMLPersistenceMetaDataParser newXMLParser(boolean loading)
Description copied from class:PersistenceMetaDataFactory
Create a new metadata parser.- Overrides:
newXMLParser
in classPersistenceMetaDataFactory
-
newXMLSerializer
protected XMLPersistenceMetaDataSerializer newXMLSerializer()
Description copied from class:PersistenceMetaDataFactory
Create a new serializer- Overrides:
newXMLSerializer
in classPersistenceMetaDataFactory
-
-