public interface JDOModelFactory
Modifier and Type | Method and Description |
---|---|
JDOModel |
createJDOModel(JavaModel javaModel,
boolean loadXMLMetadataDefault)
Creates a new empty JDOModel instance.
|
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.
|
JDOModel createJDOModel(JavaModel javaModel, boolean loadXMLMetadataDefault) throws ModelException
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.loadXMLMetadataDefault
- the default setting for whether to
read XML metatdata in JDOModel's methods for JDOClass creation.ModelException
- if impossibleJDOModel getJDOModel(JavaModel javaModel)
javaModel
- the javaModel used to cache the returned JDOModel
instance.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.loadXMLMetadataDefault
- the default setting for whether to
read XML metatdata in JDOModel's methods for JDOClass creation.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.