public class JDOModelFactoryImplDynamic extends java.lang.Object implements JDOModelFactory
TBD:
Modifier | Constructor and Description |
---|---|
protected |
JDOModelFactoryImplDynamic()
Creates new JDOModelFactory.
|
Modifier and Type | Method and Description |
---|---|
JDOModel |
createJDOModel(JavaModel javaModel,
boolean loadXMLMetadataDefault)
Creates a new empty JDOModel instance.
|
static JDOModelFactory |
getInstance()
Get an instance of JDOModelFactory.
|
JDOModel |
getJDOModel(JavaModel javaModel)
Returns the JDOModel instance for the specified javaModel.
|
JDOModel |
getJDOModel(JavaModel javaModel,
boolean loadXMLMetadataDefault)
Returns the JDOModel instance for the specified javaModel.
|
void |
removeJDOModel(JavaModel javaModel)
Removes the JDOModel for the specified javaModel from the JDOModel
cache.
|
void |
removeJDOModel(JDOModel jdoModel)
Removes the specified jdoModel from the JDOModel cache.
|
protected JDOModelFactoryImplDynamic()
getInstance()
should be used.public static JDOModelFactory getInstance()
public JDOModel createJDOModel(JavaModel javaModel, boolean loadXMLMetadataDefault)
loadXMLMetadataDefault
to set the default behavior
for the creation of new JDOClass instances using methods
JDOModel.createJDOClass(String)
and
JDOModel.getJDOClass(String)
for which the caller doesn't
explicitly specify whether to read XML metatdata or not.createJDOModel
in interface JDOModelFactory
loadXMLMetadataDefault
- the default setting for whether to
read XML metatdata in JDOModel's methods for JDOClass creation.public JDOModel getJDOModel(JavaModel javaModel)
getJDOModel
in interface JDOModelFactory
javaModel
- the javaModel used to cache the returned JDOModel
instance.public JDOModel getJDOModel(JavaModel javaModel, boolean loadXMLMetadataDefault)
loadXMLMetadataDefault
to set the default behavior
for the creation of new JDOClass instances using methods
JDOModel.createJDOClass(String)
and
JDOModel.getJDOClass(String)
for which the caller doesn't
explicitly specify whether to read XML metatdata or not.getJDOModel
in interface JDOModelFactory
loadXMLMetadataDefault
- the default setting for whether to
read XML metatdata in JDOModel's methods for JDOClass creation.public void removeJDOModel(JDOModel jdoModel)
removeJDOModel
in interface JDOModelFactory
jdoModel
- the JDOModel to be removed.public void removeJDOModel(JavaModel javaModel)
removeJDOModel
in interface JDOModelFactory
javaModel
- the javaModel used to find the JDOModel instance to be
removed.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.