Kodo 4.2.0. generated on July 28 2008

kodo.jdo.jdbc
Class MappingFileDeprecatedJDOMappingFactory

java.lang.Object
  extended by AbstractDeprecatedJDOMappingFactory
      extended by kodo.jdo.jdbc.MappingFileDeprecatedJDOMappingFactory

public class MappingFileDeprecatedJDOMappingFactory
extends AbstractDeprecatedJDOMappingFactory

Specialization of the DeprecatedJDOMetaDataFactory for old-style mapping data stored in .mapping files.


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()
           
 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 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()

load

public void load(Class cls,
                 int mode,
                 ClassLoader envLoader)

store

public boolean store(ClassMetaData[] metas,
                     QueryMetaData[] queries,
                     SequenceMetaData[] seqs,
                     int mode,
                     Map output)

drop

public boolean drop(Class[] cls,
                    int mode,
                    ClassLoader envLoader)

getMetaDataSuffix

protected String getMetaDataSuffix()

Kodo 4.2.0. generated on July 28 2008

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