org.eclipse.jpt.jpa.core.jpa2.context
Interface MetamodelSourceType.Synchronizer

Enclosing interface:
MetamodelSourceType

public static interface MetamodelSourceType.Synchronizer

This interface is used by the source type to synchronize the metamodel as required by changes to the context model.


Method Summary
 org.eclipse.core.resources.IFile getFile()
          Return the file generated as a result of the metamodel synchronization.
 void printBodySourceOn(BodySourceWriter pw, java.util.Map<java.lang.String,java.util.Collection<MetamodelSourceType>> memberTypeTree)
          Print the body of the metamodel class on the specified writer, using the specified member type tree.
 void synchronize(java.util.Map<java.lang.String,java.util.Collection<MetamodelSourceType>> memberTypeTree)
          Synchronize the metamodel with the current state of the source type, using the specified member type tree.
 

Method Detail

getFile

org.eclipse.core.resources.IFile getFile()
Return the file generated as a result of the metamodel synchronization.


synchronize

void synchronize(java.util.Map<java.lang.String,java.util.Collection<MetamodelSourceType>> memberTypeTree)
Synchronize the metamodel with the current state of the source type, using the specified member type tree.


printBodySourceOn

void printBodySourceOn(BodySourceWriter pw,
                       java.util.Map<java.lang.String,java.util.Collection<MetamodelSourceType>> memberTypeTree)
Print the body of the metamodel class on the specified writer, using the specified member type tree.