|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JDOModelFactory
Factory for JDOModel instances. The factory provides a mechanism to cache JDOModel instances per user defined keys.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |