|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JpaRootContextNode
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 |
PERSISTENCE_XML_PROPERTY
String constant associated with changes to the persistenceXml property |
Method Summary | |
---|---|
PersistenceXml |
addPersistenceXml()
Add a persistence.xml file to this content and return the content associated with it. |
void |
addToMessages(java.util.List<org.eclipse.wst.validation.internal.provisional.core.IMessage> messages)
All subclass implementations #addToMessages(List
should be preceded by a "super" call to this method |
PersistenceXml |
getPersistenceXml()
Return the content represented by the persistence.xml file associated with this project. |
void |
removePersistenceXml()
Remove the persistence.xml file from this content. |
void |
update(org.eclipse.core.runtime.IProgressMonitor monitor)
Update the context model with the content of the JPA project |
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
---|
getEntityMappings, getOrmPersistentType, getPersistenceUnit |
Methods inherited from interface org.eclipse.jpt.core.JpaNode |
---|
getJpaProject, getParent, getResource |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Field Detail |
---|
static final java.lang.String PERSISTENCE_XML_PROPERTY
Method Detail |
---|
PersistenceXml getPersistenceXml()
PersistenceXml addPersistenceXml()
IllegalStateException
if a persistence.xml already exists.
void removePersistenceXml()
IllegalStateException
if a persistence.xml does not exist.
void update(org.eclipse.core.runtime.IProgressMonitor monitor)
void addToMessages(java.util.List<org.eclipse.wst.validation.internal.provisional.core.IMessage> messages)
#addToMessages(List)
should be preceded by a "super" call to this method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |