|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public static interface JpaFile.Reference
Standard adapter for retrieving a JPA file:
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject("Foo Project");
IFile file = project.getFile("Foo.java");
JpaFile.Reference jpaFileRef = (JpaFile.Reference) file.getAdapter(JpaFile.Reference.class);
JpaFile jpaFile = jpaFileRef.getValue();
See org.eclipse.jpt.jpa.core/plugin.xml:org.eclipse.core.runtime.adapters.
FileAdapterFactory| Method Summary | |
|---|---|
JpaFile |
getValue()
Return the JPA file corresponding to the reference's Eclipse file, or null if unable to associate the specified file with a
JPA file. |
| Method Detail |
|---|
JpaFile getValue()
throws InterruptedException
null if unable to associate the specified file with a
JPA file. This method can be long-running.
InterruptedException
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||