|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface MetamodelSourceType
JPA 2.0 metamodel source type.
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 interface |
MetamodelSourceType.Synchronizer
This interface is used by the source type to synchronize the metamodel as required by changes to the context model. |
| Field Summary | |
|---|---|
static Comparator<MetamodelSourceType> |
COMPARATOR
Comparator that can be used to compare source types. |
| Method Summary | |
|---|---|
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends ReadOnlyPersistentAttribute> |
getAttributes()
Return the source type's attributes. |
JpaProject |
getJpaProject()
Return the source type's JPA project. |
IFile |
getMetamodelFile()
Return the file generated as a result of the metamodel synchronization. |
String |
getName()
Return the source type's name. |
PersistentType |
getSuperPersistentType()
Return the source type's super type. |
boolean |
isManaged()
Return whether the source type is "managed" (i.e. persistent). |
void |
printBodySourceOn(BodySourceWriter pw,
Map<String,Collection<MetamodelSourceType>> memberTypeTree)
Print the body of the source type's metamodel class on the specified writer, using the specified member type tree. |
void |
synchronizeMetamodel(Map<String,Collection<MetamodelSourceType>> memberTypeTree)
Synchronize the source type's metamodel, using the specified member type tree. |
| Field Detail |
|---|
static final Comparator<MetamodelSourceType> COMPARATOR
Comparator that can be used to compare source types.
| Method Detail |
|---|
String getName()
boolean isManaged()
PersistentType getSuperPersistentType()
org.eclipse.jpt.common.utility.iterable.ListIterable<? extends ReadOnlyPersistentAttribute> getAttributes()
IFile getMetamodelFile()
JpaProject getJpaProject()
void synchronizeMetamodel(Map<String,Collection<MetamodelSourceType>> memberTypeTree)
void printBodySourceOn(BodySourceWriter pw,
Map<String,Collection<MetamodelSourceType>> memberTypeTree)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||