|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface MetamodelSynchronizer
JPA 2.0 Canonical Metamodel synchronizer.
Notes:
null), it will
first discover what metamodel classes are already present in the metamodel
source folder. Any class appropriately annotated with
javax.persistence.metamodel.StaticMetamodel
and javax.annotation.Generated
will be added to the Canonical Metamodel
(see MetamodelSynchronizer.MetamodelTools.isGeneratedMetamodelTopLevelType(JavaResourceAbstractType, IPackageFragmentRoot)).
Once the JPA project's context model is constructed, a new Canonical
Metamodel is generated and merged with the classes already present in the
metamodel source folder.
null value,
like when a JPA project is first created, the resulting Canonical Metamodel
will be merged with whatever is already present in the folder.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Nested Class Summary | |
|---|---|
static class |
MetamodelSynchronizer.MetamodelTools
|
static class |
MetamodelSynchronizer.Null
Singleton implementation of the metamodel synchronizer interface that does nothing. |
| Field Summary | |
|---|---|
static String |
METAMODEL_GENERATED_ANNOTATION_VALUE
The value used to tag a generated type: @javax.annotation.Generated(value="Dali", date="2009-11-23T13:56:06.171-0500") |
| Method Summary | |
|---|---|
void |
disposeMetamodel()
|
void |
initializeMetamodel()
|
IStatus |
synchronizeMetamodel(IProgressMonitor progressMonitor)
|
| Field Detail |
|---|
static final String METAMODEL_GENERATED_ANNOTATION_VALUE
@javax.annotation.Generated(value="Dali", date="2009-11-23T13:56:06.171-0500")
| Method Detail |
|---|
void initializeMetamodel()
IStatus synchronizeMetamodel(IProgressMonitor progressMonitor)
void disposeMetamodel()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||