org.eclipse.jpt.eclipselink.core
Interface EclipseLinkJpaProject

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaNode, JpaProject, Model

public interface EclipseLinkJpaProject
extends JpaProject

A JPA project is associated with an Eclipse project (and its corresponding Java project). It holds the "resource" model that corresponds to the various JPA-related resources (the persistence.xml file, its mapping files [orm.xml], and the Java source files). It also holds the "context" model that represents the JPA metadata, as derived from spec-defined defaults, Java source code annotations, and XML descriptors. 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
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.core.JpaProject
JpaProject.Config, JpaProject.Updater
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.core.JpaProject
DISCOVERS_ANNOTATED_CLASSES_PROPERTY, EXTERNAL_JAVA_RESOURCE_COMPILATION_UNITS_COLLECTION, JPA_FILES_COLLECTION, USER_OVERRIDE_DEFAULT_CATALOG_PROPERTY, USER_OVERRIDE_DEFAULT_SCHEMA_PROPERTY
 
Method Summary
 JpaXmlResource getDefaultEclipseLinkOrmXmlResource()
          Return the resource model object that corresponds to the file 'META-INF/eclipselink-orm.xml' if that file has the eclipselink ContentType
 
Methods inherited from interface org.eclipse.jpt.core.JpaProject
annotatedClassNames, convertToPlatformFile, discoversAnnotatedClasses, dispose, externalJavaResourceCompilationUnits, externalJavaResourceCompilationUnitsSize, getConnectionProfile, getDataSource, getDefaultCatalog, getDefaultDbCatalog, getDefaultDbSchema, getDefaultDbSchemaContainer, getDefaultOrmXmlResource, getDefaultSchema, getExternalJavaResourcePersistentTypeCache, getJavaProject, getJavaResourcePackageFragmentRoot, getJavaResourcePersistentType, getJpaFile, getJpaPlatform, getMappingFileXmlResource, getModifySharedDocumentCommandExecutor, getName, getPersistenceXmlResource, getProject, getRootContextNode, getUpdater, getUserOverrideDefaultCatalog, getUserOverrideDefaultSchema, javaElementChanged, jpaFiles, jpaFilesSize, projectChanged, setDiscoversAnnotatedClasses, setThreadLocalModifySharedDocumentCommandExecutor, setUpdater, setUserOverrideDefaultCatalog, setUserOverrideDefaultSchema, update, update, validationMessages
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addCollectionChangeListener, addCollectionChangeListener, addListChangeListener, addListChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, addTreeChangeListener, removeCollectionChangeListener, removeCollectionChangeListener, removeListChangeListener, removeListChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.core.IResourcePart
getResource
 

Method Detail

getDefaultEclipseLinkOrmXmlResource

JpaXmlResource getDefaultEclipseLinkOrmXmlResource()
Return the resource model object that corresponds to the file 'META-INF/eclipselink-orm.xml' if that file has the eclipselink ContentType

See Also:
JptEclipseLinkCorePlugin.DEFAULT_ECLIPSELINK_ORM_XML_FILE_PATH