Kodo 4.1.4 generated on June 22 2007

kodo.jdo.jdbc
Class MappingFileDeprecatedJDOMappingFactory

java.lang.Object
  extended by org.apache.openjpa.meta.AbstractMetaDataFactory
      extended by org.apache.openjpa.meta.AbstractCFMetaDataFactory
          extended by kodo.jdo.JDOMetaDataFactory
              extended by kodo.jdo.DeprecatedJDOMetaDataFactory
                  extended by kodo.jdo.jdbc.AbstractDeprecatedJDOMappingFactory
                      extended by 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 Class Summary
 
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
 
Nested classes/interfaces inherited from class kodo.jdo.DeprecatedJDOMetaDataFactory
DeprecatedJDOMetaDataFactory.ExtensionTranslatingParser
 
Nested classes/interfaces inherited from class org.apache.openjpa.meta.AbstractCFMetaDataFactory
AbstractCFMetaDataFactory.Parser, AbstractCFMetaDataFactory.Serializer
 
Field Summary
 
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
 
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_MAPPING, MODE_MAPPING_INIT, MODE_META, MODE_NONE, MODE_QUERY
 
Constructor Summary
MappingFileDeprecatedJDOMappingFactory()
           
 
Method Summary
 void clear()
           
 boolean drop(Class[] cls, int mode, ClassLoader envLoader)
           
 String getFileName()
          The name of the file to use in single-file mode.
protected  String getMetaDataSuffix()
          Metadata file suffix.
 boolean isSingleFile()
          Whether to use a single top-level mapping file.
 void load(Class cls, int mode, ClassLoader envLoader)
           
 void setFileName(String fileName)
          The name of the file to use in single-file mode.
 void setSingleFile(boolean singleFile)
          Whether to use a single top-level mapping file.
 boolean store(ClassMetaData[] metas, QueryMetaData[] queries, SequenceMetaData[] seqs, int mode, Map output)
           
 
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.DeprecatedJDOMetaDataFactory
newParser
 
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 org.apache.openjpa.meta.AbstractMetaDataFactory
getQueryScope, getResultSetMappingScope, setRepository, setStoreDirectory, setStoreMode, setTypes, setTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingFileDeprecatedJDOMappingFactory

public MappingFileDeprecatedJDOMappingFactory()
Method Detail

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

Kodo 4.1.4 generated on June 22 2007

Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.