|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.common.componentcore.ArtifactEdit
org.eclipse.jpt.core.resource.common.JpaArtifactEdit
org.eclipse.jpt.core.resource.orm.OrmArtifactEdit
public class OrmArtifactEdit
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 |
---|
Fields inherited from class org.eclipse.wst.common.componentcore.ArtifactEdit |
---|
ADAPTER_TYPE |
Constructor Summary | |
---|---|
OrmArtifactEdit(org.eclipse.core.resources.IProject aProject,
boolean toAccessAsReadOnly)
|
Method Summary | |
---|---|
static OrmArtifactEdit |
getArtifactEditForRead(org.eclipse.core.resources.IProject aProject)
|
static OrmArtifactEdit |
getArtifactEditForWrite(org.eclipse.core.resources.IProject aProject)
|
OrmResource |
getResource(org.eclipse.core.resources.IFile file)
|
OrmResource |
getResource(java.lang.String fileURI)
|
Methods inherited from class org.eclipse.wst.common.componentcore.ArtifactEdit |
---|
addListener, commandStackChanged, deleteResource, dispose, forceLoadKnownResources, getAdapter, getArtifactEditForRead, getArtifactEditForWrite, getCommandStack, getComponent, getContentModelRoot, getProject, getResource, hasEditModel, isBinary, isDirty, isProjectOfType, isReadOnly, isValid, isValidEditableModule, removeListener, save, saveIfNecessary, saveIfNecessaryWithPrompt, validateEdit |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrmArtifactEdit(org.eclipse.core.resources.IProject aProject, boolean toAccessAsReadOnly) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
Method Detail |
---|
public static OrmArtifactEdit getArtifactEditForRead(org.eclipse.core.resources.IProject aProject)
aProject
-
public static OrmArtifactEdit getArtifactEditForWrite(org.eclipse.core.resources.IProject aProject)
aProject
-
public OrmResource getResource(org.eclipse.core.resources.IFile file)
getResource
in class JpaArtifactEdit
public OrmResource getResource(java.lang.String fileURI)
getResource
in class JpaArtifactEdit
fileURI
- - this must be in a deployment relevant form
(e.g "META-INF/persistence.xml" instead of "src/META-INF/persistence.xml")
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |