|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface PersistenceUnit2_0
JPA 2.0 persistence-unit
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.jpa.core.context.persistence.PersistenceUnit |
|---|
PersistenceUnit.NameTransformer, PersistenceUnit.Property |
| 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 |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.persistence.MappingFileRefactoringParticipant |
|---|
MappingFileRefactoringParticipant.DeleteMappingFileEditsTransformer, MappingFileRefactoringParticipant.MoveFolderEditsTransformer, MappingFileRefactoringParticipant.MoveMappingFileEditsTransformer, MappingFileRefactoringParticipant.RenameFolderEditsTransformer, MappingFileRefactoringParticipant.RenameMappingFileEditsTransformer |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.DeleteTypeRefactoringParticipant |
|---|
DeleteTypeRefactoringParticipant.DeleteTypeEditsTransformer |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.TypeRefactoringParticipant |
|---|
TypeRefactoringParticipant.MoveTypeEditsTransformer, TypeRefactoringParticipant.RenamePackageEditsTransformer, TypeRefactoringParticipant.RenameTypeEditsTransformer |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.jpa2.MetamodelSynchronizer |
|---|
MetamodelSynchronizer.MetamodelTools, MetamodelSynchronizer.Null |
| Field Summary | |
|---|---|
static String |
DEFAULT_DELIMITED_IDENTIFIERS_PROPERTY
String constant associated with changes to the persistence unit's default "delimited identifiers" flag. |
static String |
DEFAULT_SHARED_CACHE_MODE_PROPERTY
String constant associated with changes to the persistence unit's default shared cache mode (not typically changed). |
static ValidationMode |
DEFAULT_VALIDATION_MODE
|
static String |
DEFAULT_VALIDATION_MODE_PROPERTY
String constant associated with changes to the persistence unit's default validation mode (not typically changed). |
static String |
SPECIFIED_SHARED_CACHE_MODE_PROPERTY
String constant associated with changes to the persistence unit's specified shared cache mode |
static String |
SPECIFIED_VALIDATION_MODE_PROPERTY
String constant associated with changes to the persistence unit's specified validation mode |
| 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 |
| Fields inherited from interface org.eclipse.jpt.jpa.core.jpa2.MetamodelSynchronizer |
|---|
METAMODEL_GENERATED_ANNOTATION_VALUE |
| Method Summary | |
|---|---|
boolean |
calculateDefaultCacheable()
|
PersistenceUnitProperties |
getConnection()
|
boolean |
getDefaultDelimitedIdentifiers()
Return the default "delimited identifiers" flag from the first persistence unit defaults found in the persistence unit's list of mapping files. |
SharedCacheMode |
getDefaultSharedCacheMode()
Return the persistence unit's default shared cache mode. |
ValidationMode |
getDefaultValidationMode()
Return the persistence unit's default validation mode. |
PersistenceUnitProperties |
getOptions()
|
SharedCacheMode |
getSharedCacheMode()
Return the persistence unit's shared cache mode, whether specified or defaulted. |
SharedCacheMode |
getSpecifiedSharedCacheMode()
Return the persistence unit's specified shared cache mode. |
ValidationMode |
getSpecifiedValidationMode()
Return the persistence unit's specified validation mode. |
ValidationMode |
getValidationMode()
Return the persistence unit's validation mode, whether specified or defaulted. |
void |
setSpecifiedSharedCacheMode(SharedCacheMode sharedCacheMode)
Set the persistence unit's specified shared cache mode. |
void |
setSpecifiedValidationMode(ValidationMode validationMode)
Set the persistence unit's specified validation mode. |
| 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 |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.persistence.MappingFileRefactoringParticipant |
|---|
createDeleteMappingFileEdits, createMoveFolderEdits, createMoveMappingFileEdits, createRenameFolderEdits, createRenameMappingFileEdits |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.DeleteTypeRefactoringParticipant |
|---|
createDeleteTypeEdits |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.TypeRefactoringParticipant |
|---|
createMoveTypeEdits, createRenamePackageEdits, createRenameTypeEdits |
| Methods inherited from interface org.eclipse.jpt.jpa.core.jpa2.MetamodelSynchronizer |
|---|
disposeMetamodel, initializeMetamodel, synchronizeMetamodel |
| Field Detail |
|---|
static final String SPECIFIED_SHARED_CACHE_MODE_PROPERTY
static final String DEFAULT_SHARED_CACHE_MODE_PROPERTY
static final String SPECIFIED_VALIDATION_MODE_PROPERTY
static final String DEFAULT_VALIDATION_MODE_PROPERTY
static final ValidationMode DEFAULT_VALIDATION_MODE
static final String DEFAULT_DELIMITED_IDENTIFIERS_PROPERTY
| Method Detail |
|---|
SharedCacheMode getSharedCacheMode()
SharedCacheMode getSpecifiedSharedCacheMode()
void setSpecifiedSharedCacheMode(SharedCacheMode sharedCacheMode)
SharedCacheMode getDefaultSharedCacheMode()
boolean calculateDefaultCacheable()
ValidationMode getValidationMode()
ValidationMode getSpecifiedValidationMode()
void setSpecifiedValidationMode(ValidationMode validationMode)
ValidationMode getDefaultValidationMode()
PersistenceUnitProperties getConnection()
PersistenceUnitProperties getOptions()
boolean getDefaultDelimitedIdentifiers()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||