|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OrmXml
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 |
ENTITY_MAPPINGS_PROPERTY
String constant associated with changes to the entity-mappings property |
| Method Summary | |
|---|---|
EntityMappings |
addEntityMappings()
Add a entity-mappings node to the orm.xml file and return the object representing it. |
org.eclipse.core.runtime.content.IContentType |
getContentType()
Return the content type of the structure node's resource. |
EntityMappings |
getEntityMappings()
Return the content represented by the root of the orm.xml file. |
MappingFileRef |
getParent()
covariant override |
void |
removeEntityMappings()
Remove the entity-mappings node from the orm.xml file. |
| Methods inherited from interface org.eclipse.jpt.core.context.MappingFile |
|---|
getPersistentType, getRoot, getXmlResource, update |
| Methods inherited from interface org.eclipse.jpt.core.JpaStructureNode |
|---|
dispose, getId, getSelectionTextRange, getStructureNode |
| Field Detail |
|---|
static final java.lang.String ENTITY_MAPPINGS_PROPERTY
| Method Detail |
|---|
MappingFileRef getParent()
getParent in interface JpaNodeorg.eclipse.core.runtime.content.IContentType getContentType()
JpaStructureNode
getContentType in interface JpaStructureNodeEntityMappings getEntityMappings()
EntityMappings addEntityMappings()
IllegalStateException if a entity-mappings node already exists.
void removeEntityMappings()
IllegalStateException if a persistence node does not exist.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||