Dali Provisional API
Release 3.2

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

All Superinterfaces:
IAdaptable, JpaContextModel, JpaModel, 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.jpa.core.JpaModel
JpaModel.JpaVersionIsCompatibleWith
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.PersistentTypeContainer
PersistentTypeContainer.PersistentTypesTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.ManagedTypeContainer
ManagedTypeContainer.ContainsType, ManagedTypeContainer.ManagedTypesTransformer
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.JpaStructureNode
CHILDREN_COLLECTION
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.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
addRootStructureNodesTo, containsOffset, getChildren, getChildrenSize, getContextType, getFullTextRange, getSelectionTextRange, getStructureNode, getType
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel
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.PersistentTypeContainer
getPersistentType, getPersistentTypes
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.ManagedTypeContainer
getManagedType, getManagedTypes
 

Method Detail

getParent

MappingFile getParent()
covariant override

Specified by:
getParent in interface JpaContextModel
Specified by:
getParent in interface JpaModel

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.