|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface XmlFile
Context representation of any JPA XML file.
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.
| Nested Class Summary | |
|---|---|
static interface |
XmlFile.Root
Common interface for the root element for a JPA XML file (e.g. |
static class |
XmlFile.XmlFile_
Common implementations. |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary | |
|---|---|
static String |
ROOT_PROPERTY
String constant associated with changes to the root property. |
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
RESOURCE_TYPE_TRANSFORMER |
| Method Summary | |
|---|---|
void |
dispose()
Dispose the structure node and its children. |
void |
gatherRootStructureNodes(JpaFile jpaFile,
Collection<JpaStructureNode> rootStructureNodes)
Add the appropriate root structure nodes to the collection that correspond to the given JPA file. |
XmlFile.Root |
getRoot()
Return the XML file's root element. |
JptXmlResource |
getXmlResource()
Return the resource model object |
boolean |
isGenericMappingFile()
Return whether the XML file is a generic mapping file |
boolean |
isLatestSupportedVersion()
Return whether the XML file's version is the latest supported by its JPA platform. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode |
|---|
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode |
|---|
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
getResourceType |
| Field Detail |
|---|
static final String ROOT_PROPERTY
| Method Detail |
|---|
XmlFile.Root getRoot()
null.
JptXmlResource getXmlResource()
boolean isLatestSupportedVersion()
boolean isGenericMappingFile()
void gatherRootStructureNodes(JpaFile jpaFile,
Collection<JpaStructureNode> rootStructureNodes)
JpaFile.getRootStructureNodes()void dispose()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||