|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JpaFile
A JPA Project contains JPA files for all files in the project that are relevant to the JPA spec. 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.
| Field Summary | |
|---|---|
static java.lang.String |
ROOT_STRUCTURE_NODES_COLLECTION
|
| Method Summary | |
|---|---|
void |
addRootStructureNode(java.lang.Object key,
JpaStructureNode rootStructureNode)
Add a root structure node. |
org.eclipse.core.runtime.content.IContentType |
getContentType()
Return the JPA file's content type. |
org.eclipse.core.resources.IFile |
getFile()
Return the JPA file's Eclipse file. |
JpaResourceModel |
getResourceModel()
Return the resource model corresponding to the JPA file; typically a JPA compilation unit, a JPA XML resource, or a JPA package fragment root (JAR). |
JpaResourceModel |
getResourceModel(org.eclipse.core.runtime.content.IContentType contentType)
Convenience method. |
JpaStructureNode |
getStructureNode(int textOffset)
Return the structure node best corresponding to the location in the file. |
void |
removeRootStructureNode(java.lang.Object key)
|
java.util.Iterator<JpaStructureNode> |
rootStructureNodes()
Return the JPA file's root structure nodes. |
int |
rootStructureNodesSize()
Return the count of the JPA file's root context model objects. |
| Methods inherited from interface org.eclipse.jpt.core.JpaNode |
|---|
getJpaProject, getParent |
| Methods inherited from interface org.eclipse.jpt.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.core.IResourcePart |
|---|
getResource |
| Field Detail |
|---|
static final java.lang.String ROOT_STRUCTURE_NODES_COLLECTION
| Method Detail |
|---|
org.eclipse.core.resources.IFile getFile()
org.eclipse.core.runtime.content.IContentType getContentType()
JpaResourceModel getResourceModel()
JpaResourceModel getResourceModel(org.eclipse.core.runtime.content.IContentType contentType)
getResourceModel()java.util.Iterator<JpaStructureNode> rootStructureNodes()
int rootStructureNodesSize()
void addRootStructureNode(java.lang.Object key,
JpaStructureNode rootStructureNode)
void removeRootStructureNode(java.lang.Object key)
addRootStructureNode(Object, JpaStructureNode)JpaStructureNode getStructureNode(int textOffset)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||