org.eclipse.jpt.core
Interface JpaResourceModel

All Known Subinterfaces:
JavaResourceCompilationUnit, JavaResourceNode.Root, JavaResourcePackageFragmentRoot, JavaResourcePersistentTypeCache
All Known Implementing Classes:
JpaXmlResource

public interface JpaResourceModel

Listeners are notified whenever anything in the JPA resource model changes. 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.


Method Summary
 void addResourceModelListener(JpaResourceModelListener listener)
          Changes to the resource model result in events.
 void removeResourceModelListener(JpaResourceModelListener listener)
           
 

Method Detail

addResourceModelListener

void addResourceModelListener(JpaResourceModelListener listener)
Changes to the resource model result in events. In particular, the JPA project performs an "update" whenever a resource model changes.


removeResourceModelListener

void removeResourceModelListener(JpaResourceModelListener listener)
See Also:
#addResourceModelListener(ResourceModelListener)