|
||||||||||
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.persistence.PersistenceArtifactEdit
public class PersistenceArtifactEdit
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 | |
---|---|
PersistenceArtifactEdit(org.eclipse.core.resources.IProject aProject,
boolean toAccessAsReadOnly)
|
Method Summary | |
---|---|
PersistenceResource |
createDefaultResource()
Create a persistence resource with base defaults |
static PersistenceArtifactEdit |
getArtifactEditForRead(org.eclipse.core.resources.IProject aProject)
|
static PersistenceArtifactEdit |
getArtifactEditForWrite(org.eclipse.core.resources.IProject aProject)
|
PersistenceResource |
getResource()
Return a persistence resource for the default deploy location |
PersistenceResource |
getResource(org.eclipse.core.resources.IFile file)
|
PersistenceResource |
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 PersistenceArtifactEdit(org.eclipse.core.resources.IProject aProject, boolean toAccessAsReadOnly) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
Method Detail |
---|
public static PersistenceArtifactEdit getArtifactEditForRead(org.eclipse.core.resources.IProject aProject)
aProject
-
public static PersistenceArtifactEdit getArtifactEditForWrite(org.eclipse.core.resources.IProject aProject)
aProject
-
public PersistenceResource getResource(org.eclipse.core.resources.IFile file)
getResource
in class JpaArtifactEdit
public PersistenceResource 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")
public PersistenceResource getResource()
public PersistenceResource createDefaultResource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |