|
||||||||||
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. |
EntityMappings |
getEntityMappings()
Return the content represented by the root of the orm.xml file. |
MappingFileRef |
getParent()
Return the JPA node's parent. |
PersistenceUnitDefaults |
getPersistenceUnitDefaults()
|
OrmPersistentType |
getPersistentType(java.lang.String fullyQualifiedTypeName)
Return the OrmPersistentType listed in this mapping file with the given fullyQualifiedTypeName. |
void |
removeEntityMappings()
Remove the entity-mappings node from the orm.xml file. |
void |
update(OrmResource ormResource)
|
Methods inherited from interface org.eclipse.jpt.core.context.orm.OrmJpaContextNode |
---|
addToMessages, getValidationTextRange |
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
---|
getOrmPersistentType, getPersistenceUnit |
Methods inherited from interface org.eclipse.jpt.core.JpaNode |
---|
getJpaProject, getResource |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
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()
JpaNode
getParent
in interface JpaNode
EntityMappings getEntityMappings()
getEntityMappings
in interface JpaContextNode
EntityMappings addEntityMappings()
IllegalStateException
if a entity-mappings node already exists.
void removeEntityMappings()
IllegalStateException
if a persistence node does not exist.
PersistenceUnitDefaults getPersistenceUnitDefaults()
OrmPersistentType getPersistentType(java.lang.String fullyQualifiedTypeName)
void update(OrmResource ormResource)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |