Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.context
Interface MappingFile.Root

All Superinterfaces:
IAdaptable, JpaContextNode, JpaNode, JpaStructureNode, JptResourceTypeReference, ManagedTypeContainer, Model, PersistentTypeContainer
All Known Subinterfaces:
EclipseLinkEntityMappings, EntityMappings
Enclosing interface:
MappingFile

public static interface MappingFile.Root
extends JpaStructureNode, PersistentTypeContainer

Common interface for the root of a mapping file.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaStructureNode
JpaStructureNode.ContextType
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.persistence.PersistentTypeContainer
PersistentTypeContainer.PersistentTypesTransformer
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.JpaStructureNode
CHILDREN_COLLECTION
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.persistence.PersistentTypeContainer
TRANSFORMER
 
Method Summary
 AccessType getAccess()
          Return the specified access if present, otherwise return the default access.
 String getCatalog()
          Return the specified catalog if present, otherwise return the default catalog.
 MappingFile getParent()
          covariant override
 MappingFilePersistenceUnitMetadata getPersistenceUnitMetadata()
          Return the metadata defined within the mapping file for the persistence unit.
 String getSchema()
          Return the specified schema if present, otherwise return the default schema.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaStructureNode
containsOffset, gatherRootStructureNodes, getChildren, getChildrenSize, getContextType, getFullTextRange, getSelectionTextRange, getStructureNode, getType
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, 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
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.persistence.PersistentTypeContainer
getPersistentType, getPersistentTypes
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.persistence.ManagedTypeContainer
getManagedType, getManagedTypes
 

Method Detail

getParent

MappingFile getParent()
covariant override

Specified by:
getParent in interface JpaContextNode
Specified by:
getParent in interface JpaNode

getAccess

AccessType getAccess()
Return the specified access if present, otherwise return the default access.


getCatalog

String getCatalog()
Return the specified catalog if present, otherwise return the default catalog.


getSchema

String getSchema()
Return the specified schema if present, otherwise return the default schema.


getPersistenceUnitMetadata

MappingFilePersistenceUnitMetadata getPersistenceUnitMetadata()
Return the metadata defined within the mapping file for the persistence unit. Return null if none exists.

See Also:
MappingFilePersistenceUnitMetadata.resourceExists()

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.