|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jpt.common.utility.internal.model.AbstractModel
org.eclipse.jpt.jpa.core.internal.AbstractJpaModel<P>
org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextModel<P>
org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceXmlContextModel<Persistence>
org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit
org.eclipse.jpt.jpa.eclipselink.core.context.persistence.EclipseLinkPersistenceUnit
public class EclipseLinkPersistenceUnit
EclipseLink persistence unit
| Nested Class Summary | |
|---|---|
static class |
EclipseLinkPersistenceUnit.ConverterEquivalencyAdapter
|
static interface |
EclipseLinkPersistenceUnit.EquivalencyAdapter<T>
|
static class |
EclipseLinkPersistenceUnit.GeneratorEquivalencyAdapter
|
static class |
EclipseLinkPersistenceUnit.MappingFileConvertersTransformer
|
static class |
EclipseLinkPersistenceUnit.PropertyNameDoesNotEndWith
|
static class |
EclipseLinkPersistenceUnit.QueryEquivalencyAdapter
|
static class |
EclipseLinkPersistenceUnit.TypeMappingConvertersTransformer
|
| Nested classes/interfaces inherited from class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit |
|---|
org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.DoesNotSpecifyManagedType, org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.ImpliedClassRefContainerAdapter, org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.JarFileRefContainerAdapter, org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.NonPersistentMetamodelSourceType, org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.PropertyContainer, org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.PropertyContainerAdapter, org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.SpecifiedClassRefContainerAdapter, org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.SpecifiedMappingFileRefContainer, org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.SpecifiedMappingFileRefContainerAdapter, org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit.TypeIsPersistentType |
| Nested classes/interfaces inherited from class org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextModel |
|---|
org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextModel.AbstractContainerAdapter<C,R>, org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextModel.Container<C,R>, org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextModel.ContextCollectionContainer<C extends JpaContextModel,R>, org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextModel.ContextContainer<C extends JpaContextModel,R>, org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextModel.ContextListContainer<C extends JpaContextModel,R>, org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextModel.SpecifiedContextCollectionContainer<C extends JpaContextModel,R>, org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextModel.SpecifiedContextListContainer<C extends JpaContextModel,R>, org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextModel.ValueListContainer<E>, org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextModel.VirtualContextCollectionContainer<C extends JpaContextModel,R>, org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextModel.VirtualContextListContainer<C extends JpaContextModel,R> |
| Nested classes/interfaces inherited from class org.eclipse.jpt.jpa.core.internal.AbstractJpaModel |
|---|
org.eclipse.jpt.jpa.core.internal.AbstractJpaModel.AspectChangeSupportListener |
| 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.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 |
| 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.JpaMetamodelSynchronizer2_0 |
|---|
JpaMetamodelSynchronizer2_0.MetamodelTools |
| Field Summary | |
|---|---|
protected static EclipseLinkPersistenceUnit.EquivalencyAdapter<EclipseLinkConverter> |
CONVERTER_EQUIVALENCY_ADAPTER
|
protected Vector<EclipseLinkConverter> |
converters
|
static String |
CONVERTERS_COLLECTION
String constant associated with changes to the persistence unit's collection of "global" converters. |
static String |
DEFAULT_GET_METHOD_PROPERTY
String constant associated with changes to the persistence unit's default get method. |
static String |
DEFAULT_SET_METHOD_PROPERTY
String constant associated with changes to the persistence unit's default set method. |
static String |
DEFAULT_TENANT_DISCRIMINATOR_COLUMNS_LIST
String constant associated with changes to the persistence unit's list of default tenant discriminator Columns |
protected String |
defaultGetMethod
|
protected String |
defaultSetMethod
|
protected Vector<EclipseLinkTenantDiscriminatorColumn2_3> |
defaultTenantDiscriminatorColumns
|
protected static EclipseLinkPersistenceUnit.EquivalencyAdapter<Generator> |
GENERATOR_EQUIVALENCY_ADAPTER
|
static String |
IMPLIED_ECLIPSELINK_MAPPING_FILE_REF_PROPERTY
String constant associated with changes to the implied eclipselink mapping file ref |
protected MappingFileRef |
impliedEclipseLinkMappingFileRef
Will be null if the implied EL mapping file should not be part of the context model. |
static org.eclipse.jpt.common.utility.transformer.Transformer<MappingFile,Iterable<EclipseLinkConverter>> |
MAPPING_FILE_CONVERTERS_TRANSFORMER
|
protected MappingFileRef |
potentialImpliedEclipseLinkMappingFileRef
Store the implied EL mapping file ref even if it is not part of the context model. |
protected static EclipseLinkPersistenceUnit.EquivalencyAdapter<Query> |
QUERY_EQUIVALENCY_ADAPTER
|
static org.eclipse.jpt.common.utility.transformer.Transformer<TypeMapping,Iterable<EclipseLinkConverter>> |
TYPE_MAPPING_CONVERTERS_TRANSFORMER
|
| Fields inherited from class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit |
|---|
CLASS_REF_MANAGED_TYPE_TRANSFORMER, connection, defaultAccess, defaultCascadePersist, defaultCatalog, defaultDelimitedIdentifiers, defaultSchema, defaultSharedCacheMode, defaultTransactionType, defaultValidationMode, description, generators, impliedClassRefContainer, impliedMappingFileRef, jarFileRefContainer, jtaDataSource, managedTypeMap, metamodelFiles, name, nonJtaDataSource, options, potentialImpliedMappingFileRef, propertyContainer, provider, queries, schemaGeneration, specifiedClassRefContainer, specifiedExcludeUnlistedClasses, specifiedMappingFileRefContainer, specifiedSharedCacheMode, specifiedTransactionType, specifiedValidationMode, structureChildren, TYPE_IS_PERSISTENT_TYPE, xmlMappingMetadataComplete, xmlPersistenceUnit |
| Fields inherited from class org.eclipse.jpt.jpa.core.internal.AbstractJpaModel |
|---|
parent |
| Fields inherited from class org.eclipse.jpt.common.utility.internal.model.AbstractModel |
|---|
changeSupport |
| Fields inherited from interface org.eclipse.jpt.jpa.core.jpa2.context.persistence.PersistenceUnit2_0 |
|---|
DEFAULT_DELIMITED_IDENTIFIERS_PROPERTY, DEFAULT_SHARED_CACHE_MODE_PROPERTY, DEFAULT_VALIDATION_MODE, DEFAULT_VALIDATION_MODE_PROPERTY, SPECIFIED_SHARED_CACHE_MODE_PROPERTY, SPECIFIED_VALIDATION_MODE_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.jpa.core.JpaStructureNode |
|---|
STRUCTURE_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 |
| Fields inherited from interface org.eclipse.jpt.jpa.core.jpa2.JpaMetamodelSynchronizer2_0 |
|---|
METAMODEL_GENERATED_ANNOTATION_VALUE |
| Constructor Summary | |
|---|---|
EclipseLinkPersistenceUnit(Persistence parent,
org.eclipse.jpt.jpa.core.resource.persistence.XmlPersistenceUnit xmlPersistenceUnit)
|
|
| Method Summary | ||
|---|---|---|
protected
|
allAreEquivalent(ArrayList<T> collection,
EclipseLinkPersistenceUnit.EquivalencyAdapter<T> adapter)
Using the specified adapter, return whether all the specified objects are "equivalent" (i.e. they all have the same state). |
|
protected
|
anyAreInequivalent(ArrayList<T> collection,
EclipseLinkPersistenceUnit.EquivalencyAdapter<T> adapter)
|
|
protected Iterable<EclipseLinkConverter> |
buildConverters()
Converters are much like queries. |
|
protected String |
buildDefaultGetMethod(EclipseLinkPersistenceUnitDefaults defaults)
|
|
protected String |
buildDefaultSetMethod(EclipseLinkPersistenceUnitDefaults defaults)
|
|
protected SharedCacheMode2_0 |
buildDefaultSharedCacheMode()
|
|
protected org.eclipse.jpt.common.utility.iterable.ListIterable<EclipseLinkTenantDiscriminatorColumn2_3> |
buildDefaultTenantDiscriminatorColumns(EclipseLinkPersistenceUnitDefaults defaults)
|
|
protected org.eclipse.jpt.jpa.eclipselink.core.internal.context.persistence.EclipseLinkCaching |
buildEclipseLinkCaching()
|
|
protected EclipseLinkConnection |
buildEclipseLinkConnection1_0()
|
|
protected org.eclipse.jpt.jpa.eclipselink.core.internal.context.persistence.EclipseLinkCustomization |
buildEclipseLinkCustomization()
|
|
protected org.eclipse.jpt.jpa.eclipselink.core.internal.context.persistence.EclipseLinkGeneralProperties |
buildEclipseLinkGeneralProperties()
|
|
protected EclipseLinkLogging |
buildEclipseLinkLogging()
|
|
protected EclipseLinkOptions |
buildEclipseLinkOptions1_0()
|
|
protected EclipseLinkSchemaGeneration |
buildEclipseLinkSchemaGeneration()
|
|
protected int |
calculateCumulativeSize(Collection<? extends Collection<?>> collections)
|
|
boolean |
calculateDefaultCacheable()
|
|
protected void |
checkForConvertersWithSameName(List<IMessage> messages)
|
|
void |
convertJavaConverters(EclipseLinkEntityMappings entityMappings,
IProgressMonitor monitor)
Override the default implementation because EclipseLink allows "equivalent" converters. |
|
protected void |
convertJavaConvertersWithSameName(EclipseLinkOrmConverterContainer ormConverterContainer,
Map.Entry<String,ArrayList<EclipseLinkConverter>> entry,
SubMonitor monitor)
|
|
void |
convertJavaGenerators(EntityMappings entityMappings,
IProgressMonitor monitor)
Override the default implementation because EclipseLink allows "equivalent" generators. |
|
protected void |
convertJavaGeneratorsWithSameName(EntityMappings entityMappings,
Map.Entry<String,ArrayList<Generator>> entry,
SubMonitor monitor)
|
|
void |
convertJavaQueries(EntityMappings entityMappings,
IProgressMonitor monitor)
Override the default implementation because EclipseLink allows "equivalent" queries. |
|
protected void |
convertJavaQueriesWithSameName(OrmQueryContainer queryContainer,
Map.Entry<String,ArrayList<Query>> entry,
SubMonitor monitor)
|
|
JpaJpqlQueryHelper |
createJpqlQueryHelper()
Creates a new JpaJpqlQueryHelper that provides functionality related to JPQL queries. |
|
protected Iterable<ReplaceEdit> |
createPersistenceUnitPropertiesMoveTypeEdits(IType originalType,
IPackageFragment newPackage)
|
|
protected Iterable<ReplaceEdit> |
createPersistenceUnitPropertiesRenamePackageEdits(IPackageFragment originalPackage,
String newName)
|
|
protected Iterable<ReplaceEdit> |
createPersistenceUnitPropertiesRenameTypeEdits(IType originalType,
String newName)
|
|
protected
|
extractEclipseLinkConvertibleJavaModels(Iterable<M> allJavaModels,
Iterable<M> mappingFileModels,
EclipseLinkPersistenceUnit.EquivalencyAdapter<M> adapter)
Return the Java nodes that are neither overridden nor duplicated (by default any Java nodes with the same name are "duplicates"); but, in EclipseLink we return any "equivalent" nodes also. |
|
Iterable<EclipseLinkConverter> |
getAllConverters()
Return the "active" converters defined within the persistence unit's scope, including converters with duplicate names. |
|
Iterable<EclipseLinkConverter> |
getAllJavaConverters()
Include "overridden" Java converters. |
|
org.eclipse.jpt.jpa.eclipselink.core.internal.context.persistence.EclipseLinkCaching |
getCaching()
|
|
EclipseLinkConnection2_0 |
getConnection()
|
|
EclipseLinkPersistenceXmlContextModelFactory |
getContextModelFactory()
|
|
protected Iterable<String> |
getConverterNames()
|
|
Iterable<EclipseLinkConverter> |
getConverters()
|
|
int |
getConvertersSize()
|
|
org.eclipse.jpt.jpa.eclipselink.core.internal.context.persistence.EclipseLinkCustomization |
getCustomization()
|
|
String |
getDefaultCacheSharedPropertyValue()
|
|
String |
getDefaultCacheSizePropertyValue()
|
|
String |
getDefaultCacheTypePropertyValue()
|
|
String |
getDefaultGetMethod()
|
|
String |
getDefaultSetMethod()
|
|
org.eclipse.jpt.common.utility.iterable.ListIterable<EclipseLinkTenantDiscriminatorColumn2_3> |
getDefaultTenantDiscriminatorColumns()
|
|
EclipseLinkConnection |
getEclipseLinkConnection()
|
|
protected HashMap<String,ArrayList<EclipseLinkConverter>> |
getEclipseLinkConvertibleJavaConverters()
|
|
protected HashMap<String,ArrayList<Generator>> |
getEclipseLinkConvertibleJavaGenerators()
|
|
protected HashMap<String,ArrayList<Query>> |
getEclipseLinkConvertibleJavaQueries()
|
|
Iterable<String> |
getEclipseLinkDynamicPersistentTypeNames()
|
|
Iterable<EclipseLinkOrmPersistentType> |
getEclipseLinkDynamicPersistentTypes()
|
|
protected org.eclipse.jpt.jpa.eclipselink.core.internal.context.orm.EclipseLinkOrmPersistenceUnitMetadata |
getEclipseLinkMetadata()
|
|
EclipseLinkOptions |
getEclipseLinkOptions()
|
|
Iterable<EclipseLinkOrmPersistentType> |
getEclipseLinkOrmPersistentTypes()
|
|
EclipseLinkSchemaGeneration |
getEclipseLinkSchemaGeneration()
|
|
org.eclipse.jpt.jpa.eclipselink.core.internal.context.persistence.EclipseLinkGeneralProperties |
getGeneralProperties()
|
|
MappingFileRef |
getImpliedEclipseLinkMappingFileRef()
|
|
EclipseLinkJpaProject |
getJpaProject()
Return the JPA project the node belongs to. |
|
protected ArrayList<PersistenceUnit.Property> |
getLegacyDescriptorCustomizerProperties()
|
|
protected ArrayList<PersistenceUnit.Property> |
getLegacyEntityCachingProperties()
|
|
EclipseLinkLogging |
getLogging()
|
|
protected Iterable<EclipseLinkConverter> |
getMappingFileConverters()
|
|
org.eclipse.jpt.common.utility.iterable.ListIterable<MappingFileRef> |
getMappingFileRefs()
Return the persistence unit's list of mapping file refs, both specified and implied. |
|
int |
getMappingFileRefsSize()
Return the size of the persistence unit's list of mapping file refs, both specified and implied. |
|
protected Iterable<String> |
getNonEmptyConverterNames()
|
|
EclipseLinkOptions2_0 |
getOptions()
|
|
Iterable<String> |
getUniqueConverterNames()
Return the names of the "active" converters defined in the persistence unit's scope, with duplicates removed. |
|
boolean |
hasAnyEquivalentJavaConverters()
Return whether the persistence unit has any equivalent Java generators. |
|
boolean |
hasAnyEquivalentJavaGenerators()
Return whether the persistence unit has any equivalent Java generators. |
|
protected
|
hasAnyEquivalentJavaModels(Iterable<M> allJavaModels,
Iterable<M> mappingFileModels,
EclipseLinkPersistenceUnit.EquivalencyAdapter<M> adapter)
|
|
boolean |
hasAnyEquivalentJavaQueries()
Return whether the persistence unit has any equivalent Java generators. |
|
boolean |
hasConvertibleJavaConverters()
|
|
boolean |
hasConvertibleJavaGenerators()
Return whether the persistence unit contains any "convertible" generators (i.e. |
|
boolean |
hasConvertibleJavaQueries()
Return whether the persistence unit contains any "convertible" queries. |
|
protected boolean |
impliedEclipseLinkMappingFileExists()
|
|
protected boolean |
impliedEclipseLinkMappingFileIsExcluded()
|
|
protected boolean |
impliedEclipseLinkMappingFileIsNotExcluded()
|
|
protected boolean |
impliedEclipseLinkMappingFileIsNotSpecified()
|
|
protected boolean |
impliedEclipseLinkMappingFileIsSpecified()
|
|
protected void |
initializeProperties()
|
|
void |
propertyRemoved(String propertyName)
|
|
void |
propertyValueChanged(String propertyName,
String newValue)
Call back method for Property value changing. |
|
protected void |
setConverters(Iterable<EclipseLinkConverter> converters)
|
|
protected void |
setDefaultGetMethod(String getMethod)
|
|
protected void |
setDefaultSetMethod(String setMethod)
|
|
protected void |
setDefaultTenantDiscriminatorColumns(Iterable<EclipseLinkTenantDiscriminatorColumn2_3> tenantDiscriminatorColumns)
|
|
protected void |
setImpliedEclipseLinkMappingFileRef(MappingFileRef mappingFileRef)
|
|
void |
setSpecifiedSharedCacheMode(SharedCacheMode2_0 specifiedSharedCacheMode)
Set the persistence unit's specified shared cache mode. |
|
protected void |
syncImpliedMappingFileRef()
|
|
void |
update()
Some non-trivial state in the JPA project has changed; update the state of the context model that is dependent on yet other parts of the model's JPA project. |
|
protected void |
updateImpliedMappingFileRef()
|
|
protected void |
updatePersistenceUnitMetadata()
|
|
protected void |
validate(EclipseLinkConverter converter,
List<IMessage> messages,
IReporter reporter)
|
|
void |
validate(List<IMessage> messages,
IReporter reporter)
Add the model's validation messages to the specified "collecting parameter". |
|
protected void |
validateConverters(List<IMessage> messages,
IReporter reporter)
NB: We validate converters here. |
|
protected void |
validateConvertersWithSameName(String converterName,
ArrayList<EclipseLinkConverter> dups,
List<IMessage> messages)
NB: Unlike generators and queries, we do not mark "equivalent" converters with info messages - we just ignore them because they cannot be "portable" (since only EclipseLink has converters). |
|
protected void |
validateDefaultCachingProperty(PersistenceUnit.Property cachingProperty,
List<IMessage> messages)
|
|
protected void |
validateGeneratorsWithSameName(String generatorName,
ArrayList<Generator> dups,
List<IMessage> messages)
If all the generators are "equivalent" add info messages; otherwise mark them all as duplicates. |
|
protected void |
validateLoggerProperty(PersistenceUnit.Property loggerProperty,
List<IMessage> messages)
|
|
protected void |
validateProperties(List<IMessage> messages,
IReporter reporter)
|
|
protected void |
validateQueriesWithSameName(String queryName,
ArrayList<Query> dups,
List<IMessage> messages)
|
|
| Methods inherited from class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit |
|---|
addClasses, addJarFileRef, addJarFileRef, addPersistentTypes, addPersistentTypesTo, addProperty_, addProperty, addProperty, addProperty, addQuery, addRootStructureNodesTo, addSpecifiedClassRef, addSpecifiedClassRef, addSpecifiedClassRefs, addSpecifiedClassRefs, addSpecifiedMappingFileRef, addSpecifiedMappingFileRef, annotateClasses, buildClassRef, buildClassRef, buildConnection, buildDefaultCascadePersist, buildDefaultCatalog, buildDefaultDelimitedIdentifiers, buildDefaultSchema, buildDefaultTransactionType, buildDefaultValidationMode, buildGenerators, buildImpliedClassRefContainer, buildImpliedMappingFileRef, buildJarFileRef, buildJarFileRefContainer, buildNonPersistentMetamodelSourceType, buildOptions, buildProperty, buildPropertyContainer, buildQueries, buildSchemaGeneration, buildSpecifiedClassRefContainer, buildSpecifiedMappingFileRef, buildSpecifiedMappingFileRefContainer, buildSpecifiedSharedCacheMode, buildSpecifiedTransactionType, buildSpecifiedValidationMode, buildXmlJarFileRef, buildXmlJavaClassRef, buildXmlMappingFileRef, buildXmlMappingMetadataComplete, buildXmlProperties, buildXmlProperty, checkForDuplicateClassRefs, checkForDuplicateJarFileRefs, checkForDuplicateMappingFileClasses, checkForDuplicateMappingFileRefs, checkForGeneratorsWithSameName, checkForMultiplePersistenceUnitMetadata, checkForQueriesWithSameName, containsOffset, convertJavaGenerator, convertJavaQuery, convertToClassNames, convertToNames, createDeleteMappingFileEdits, createDeleteTypeEdits, createMappingFileRefMoveFolderReplaceEdits, createMappingFileRefRenameFolderEdits, createMoveFolderEdits, createMoveMappingFileEdits, createMoveTypeEdits, createRenameFolderEdits, createRenameMappingFileEdits, createRenamePackageEdits, createRenameTypeEdits, createSpecifiedClassRefMoveTypeEdits, createSpecifiedClassRefRenamePackageEdits, createSpecifiedClassRefRenameTypeEdits, deleteMetamodelFile_, deleteMetamodelFile, dispose, disposeMetamodel, excludesUnlistedClasses, extractConvertibleJavaModels, fileIsGeneratedMetamodel, filterToEntities_, filterToEntities, findInsertLocationForMappingFileRef, findJdtType, getActiveEntities, getActiveTypeMappings, getAllJavaGenerators, getAllJavaPersistentTypesUnique, getAllJavaQueries, getAllJavaTypeMappingsUnique, getClassRefManagedTypes_, getClassRefManagedTypes, getClassRefPersistentTypes, getClassRefPersistentTypes2_0, getClassRefs, getClassRefsSize, getCombinedMappingFileRefs, getCombinedMappingFileRefsSize, getContextType, getConvertibleJavaGenerators, getConvertibleJavaQueries, getDefaultAccess, getDefaultCascadePersist, getDefaultCatalog, getDefaultDelimitedIdentifiers, getDefaultExcludeUnlistedClasses, getDefaultSchema, getDefaultSharedCacheMode, getDefaultTransactionType, getDefaultValidationMode, getDescription, getEmbeddable, getEntities, getEntity, getFullTextRange, getGeneratedMetamodelFiles, getGeneratedMetamodelTopLevelTypes, getGeneratorNames, getGenerators, getGeneratorsSize, getIdTypeMapping, getImpliedClassRefs, getImpliedClassRefsSize, getImpliedClassResourceTypes_, getImpliedClassResourceTypes, getImpliedMappingFileRef, getJarFileManagedTypes, getJarFilePersistentTypes, getJarFilePersistentTypes2_0, getJarFileRefs, getJarFileRefsSize, getJavaManagedTypes, getJavaPersistentTypes, getJavaTypeMappingDefinition, getJavaTypeMappings, getJtaDataSource, getManagedType, getManagedTypes, getMappingFileGenerators, getMappingFileJavaPersistentTypes_, getMappingFileJavaPersistentTypes, getMappingFileManagedTypes, getMappingFilePersistentTypes, getMappingFilePersistentTypes2_0, getMappingFileQueries, getMappingFileRefsContaining, getMappingFiles_, getMappingFiles, getMappingFileTypeMappings, getMappingFileTypeNames, getMetadata, getMetamodelClassRefPersistentTypes, getMetamodelJarFilePersistentTypes, getMetamodelMappingFilePersistentTypes, getMetamodelPersistentTypes, getName, getNonEmptyGeneratorNames, getNonJtaDataSource, getPackageNames, getPersistence, getPersistenceUnit, getPersistenceUnitMetadataMappingFileRefs, getPersistentType, getPersistentTypes, getProperties, getPropertiesNamed, getPropertiesSize, getPropertiesWithNamePrefix, getProperty, getProvider, getQueries, getQueriesSize, getSchemaGeneration, getSelectionTextRange, getSharedCacheMode, getSpecifiedClassRefs, getSpecifiedClassRefsSize, getSpecifiedExcludeUnlistedClasses, getSpecifiedMappingFileRefs, getSpecifiedMappingFileRefsSize, getSpecifiedSharedCacheMode, getSpecifiedTransactionType, getSpecifiedValidationMode, getStructureChildren, getStructureChildrenSize, getStructureNode, getStructureType, getTransactionType, getTypeMapping, getTypeMappings, getUniqueGeneratorNames, getValidationMode, getValidationTextRange, getXmlClassRefs, getXmlJarFileRefs, getXmlMappingFileRefs, getXmlPersistenceUnit, getXmlProperties, impliedMappingFileExists, impliedMappingFileIsNotSpecified, impliedMappingFileIsSpecified, initializeMetamodel, initializeMetamodelFiles_, initializeMetamodelFiles, initializeStructureChildren, isXmlMappingMetadataComplete, listInPersistenceXml, mapByName, mapClassRefsByName, mapJarFileRefsByName, mapMappingFileManagedTypesByName, mapMappingFileRefsByFileName, mappingFileIsSpecified, mapTypeMappingsByClassName, mapTypeMappingsByName, propertyAdded, propertyNameChanged, rebuildManagedTypeMap, removeJarFileRef_, removeJarFileRef, removeJarFileRef, removeProperty_, removeProperty, removeProperty, removeProperty, removeProperty, removeSpecifiedClassRef_, removeSpecifiedClassRef, removeSpecifiedClassRef, removeSpecifiedClassRefs, removeSpecifiedMappingFileRef_, removeSpecifiedMappingFileRef, removeSpecifiedMappingFileRef, selectSourceType, setDefaultAccess, setDefaultCascadePersist, setDefaultCatalog, setDefaultDelimitedIdentifiers, setDefaultSchema, setDefaultSharedCacheMode, setDefaultTransactionType, setDefaultValidationMode, setDescription_, setDescription, setGenerators, setImpliedMappingFileRef, setJtaDataSource_, setJtaDataSource, setName_, setName, setNonJtaDataSource_, setNonJtaDataSource, setProperty, setProperty, setProvider_, setProvider, setQueries, setSpecifiedExcludeUnlistedClasses_, setSpecifiedExcludeUnlistedClasses, setSpecifiedSharedCacheMode_, setSpecifiedTransactionType_, setSpecifiedTransactionType, setSpecifiedValidationMode_, setSpecifiedValidationMode, setXmlMappingMetadataComplete, specifiesManagedType, synchronizeClasses, synchronizeMetamodel, synchronizeWithResourceModel, syncJarFileRefs, syncProperties, syncSpecifiedClassRefs, syncSpecifiedMappingFileRefs, toString, updateImpliedClassRefs, updateStructureChildren, usesImpliedMappingFile, validate, validate, validateClassRefs, validateEntitiesWithSameName, validateEntityNames, validateGenerators, validateJarFileRefs, validateMappingFiles, validateQueries, validatesAgainstDatabase |
| Methods inherited from class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceXmlContextModel |
|---|
getContextModelFactory2_0, getContextModelFactory2_1, getPersistenceXmlDefinition, getResourceModelFactory, isPersistenceXml2_0Compatible, isPersistenceXml2_1Compatible |
| Methods inherited from class org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextModel |
|---|
addItemsToCollection, addItemsToList, addItemToCollection, addItemToList, buildSpecifiedContextCollectionContainer, buildSpecifiedContextListContainer, buildValidationMessage, buildValidationMessage, buildValidationMessage, buildValidationMessage, buildValidationMessage, buildValidationMessage, buildValidationMessage, buildValidationMessage, buildVirtualContextCollectionContainer, buildVirtualContextListContainer, clearList, getCompletionProposals, getConnectedCompletionProposals, getContextDefaultCatalog, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getContextDefaultSchema, getMappingFileRoot, getResourceType, getValidationTextRange, moveItemInList, moveItemInList, removeItemFromCollection, removeItemFromList, removeItemFromList, removeItemsFromCollection, removeItemsFromList, synchronizeModelsWithResourceModel, updateModels, validateModel, validateModels |
| Methods inherited from class org.eclipse.jpt.jpa.core.internal.AbstractJpaModel |
|---|
addNonUpdateAspectNamesTo, aspectChanged, aspectDoesNotTriggerUpdate, aspectTriggersUpdate, buildChangeSupport, buildChangeSupportListener, checkParent, connectionProfileIsActive, forbidsParent, getAdapter, getDatabase, getDataSource, getJavaProject, getJpaFactory, getJpaFactory2_0, getJpaFactory2_1, getJpaFile, getJpaPlatform, getJpaPlatformVariation, getJpaPlatformVersion, getJpaProjectManager, getResource, isJpa2_0Compatible, isJpa2_1Compatible, nonUpdateAspectNames, requiresParent, resolveDbCatalog, stateChanged |
| Methods inherited from class org.eclipse.jpt.common.utility.internal.model.AbstractModel |
|---|
addChangeListener, addCollectionChangeListener, addItemsToCollection, addItemsToCollection, addItemsToCollection, addItemsToList, addItemsToList, addItemsToList, addItemsToList, addItemsToList, addItemsToList, addItemsToList, addItemToList, addListChangeListener, addPropertyChangeListener, addStateChangeListener, clearCollection, fireCollectionChanged, fireCollectionChanged, fireCollectionCleared, fireCollectionCleared, fireItemAdded, fireItemAdded, fireItemMoved, fireItemRemoved, fireItemRemoved, fireItemReplaced, fireItemsAdded, fireItemsAdded, fireItemsAdded, fireItemsAdded, fireItemsMoved, fireItemsMoved, fireItemsRemoved, fireItemsRemoved, fireItemsRemoved, fireItemsRemoved, fireItemsReplaced, fireItemsReplaced, fireListChanged, fireListChanged, fireListCleared, fireListCleared, firePropertyChanged, firePropertyChanged, firePropertyChanged, firePropertyChanged, firePropertyChanged, fireStateChanged, fireStateChanged, hasAnyChangeListeners, hasAnyCollectionChangeListeners, hasAnyListChangeListeners, hasAnyPropertyChangeListeners, hasAnyStateChangeListeners, hasNoChangeListeners, hasNoCollectionChangeListeners, hasNoListChangeListeners, hasNoPropertyChangeListeners, hasNoStateChangeListeners, moveItemsInList, removeChangeListener, removeCollectionChangeListener, removeItemsFromCollection, removeItemsFromCollection, removeItemsFromCollection, removeItemsFromList, removeItemsFromList, removeItemsFromList, removeItemsFromList, removeItemsFromList, removeListChangeListener, removePropertyChangeListener, removeRangeFromList, removeStateChangeListener, replaceItemInList, retainItemsInCollection, retainItemsInCollection, retainItemsInCollection, retainItemsInCollection, retainItemsInList, retainItemsInList, retainItemsInList, retainItemsInList, setItemInList, setItemsInList, setItemsInList, synchronizeCollection, synchronizeCollection, synchronizeCollection, synchronizeList, synchronizeList, synchronizeList, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel |
|---|
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel |
|---|
getJpaPlatform, 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 |
|---|
protected MappingFileRef impliedEclipseLinkMappingFileRef
potentialImpliedEclipseLinkMappingFileRefpublic static final String IMPLIED_ECLIPSELINK_MAPPING_FILE_REF_PROPERTY
protected final MappingFileRef potentialImpliedEclipseLinkMappingFileRef
impliedEclipseLinkMappingFileRef,
usesImpliedEclipseLinkMappingFile()protected final Vector<EclipseLinkConverter> converters
protected final Vector<EclipseLinkTenantDiscriminatorColumn2_3> defaultTenantDiscriminatorColumns
protected String defaultGetMethod
protected String defaultSetMethod
public static final String DEFAULT_TENANT_DISCRIMINATOR_COLUMNS_LIST
public static final String CONVERTERS_COLLECTION
public static final org.eclipse.jpt.common.utility.transformer.Transformer<MappingFile,Iterable<EclipseLinkConverter>> MAPPING_FILE_CONVERTERS_TRANSFORMER
public static final org.eclipse.jpt.common.utility.transformer.Transformer<TypeMapping,Iterable<EclipseLinkConverter>> TYPE_MAPPING_CONVERTERS_TRANSFORMER
public static final String DEFAULT_GET_METHOD_PROPERTY
public static final String DEFAULT_SET_METHOD_PROPERTY
protected static final EclipseLinkPersistenceUnit.EquivalencyAdapter<EclipseLinkConverter> CONVERTER_EQUIVALENCY_ADAPTER
protected static final EclipseLinkPersistenceUnit.EquivalencyAdapter<Generator> GENERATOR_EQUIVALENCY_ADAPTER
protected static final EclipseLinkPersistenceUnit.EquivalencyAdapter<Query> QUERY_EQUIVALENCY_ADAPTER
| Constructor Detail |
|---|
public EclipseLinkPersistenceUnit(Persistence parent,
org.eclipse.jpt.jpa.core.resource.persistence.XmlPersistenceUnit xmlPersistenceUnit)
| Method Detail |
|---|
public void update()
JpaContextModel
update in interface JpaContextModelupdate in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitprotected org.eclipse.jpt.jpa.eclipselink.core.internal.context.orm.EclipseLinkOrmPersistenceUnitMetadata getEclipseLinkMetadata()
protected void updatePersistenceUnitMetadata()
updatePersistenceUnitMetadata in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic org.eclipse.jpt.jpa.eclipselink.core.internal.context.persistence.EclipseLinkGeneralProperties getGeneralProperties()
public EclipseLinkConnection2_0 getConnection()
getConnection in interface PersistenceUnit2_0getConnection in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic EclipseLinkOptions2_0 getOptions()
getOptions in interface PersistenceUnit2_0getOptions in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic org.eclipse.jpt.jpa.eclipselink.core.internal.context.persistence.EclipseLinkCustomization getCustomization()
public org.eclipse.jpt.jpa.eclipselink.core.internal.context.persistence.EclipseLinkCaching getCaching()
public String getDefaultCacheTypePropertyValue()
public String getDefaultCacheSizePropertyValue()
public String getDefaultCacheSharedPropertyValue()
public EclipseLinkLogging getLogging()
public EclipseLinkSchemaGeneration getEclipseLinkSchemaGeneration()
public EclipseLinkConnection getEclipseLinkConnection()
public EclipseLinkOptions getEclipseLinkOptions()
protected org.eclipse.jpt.jpa.eclipselink.core.internal.context.persistence.EclipseLinkGeneralProperties buildEclipseLinkGeneralProperties()
protected org.eclipse.jpt.jpa.eclipselink.core.internal.context.persistence.EclipseLinkCustomization buildEclipseLinkCustomization()
protected org.eclipse.jpt.jpa.eclipselink.core.internal.context.persistence.EclipseLinkCaching buildEclipseLinkCaching()
protected EclipseLinkLogging buildEclipseLinkLogging()
protected EclipseLinkConnection buildEclipseLinkConnection1_0()
protected EclipseLinkOptions buildEclipseLinkOptions1_0()
protected EclipseLinkSchemaGeneration buildEclipseLinkSchemaGeneration()
protected void initializeProperties()
initializeProperties in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit
public void propertyValueChanged(String propertyName,
String newValue)
PersistenceUnit
propertyValueChanged in interface PersistenceUnitpropertyValueChanged in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic void propertyRemoved(String propertyName)
propertyRemoved in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic org.eclipse.jpt.common.utility.iterable.ListIterable<MappingFileRef> getMappingFileRefs()
PersistenceUnit
getMappingFileRefs in interface PersistenceUnitgetMappingFileRefs in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic int getMappingFileRefsSize()
PersistenceUnit
getMappingFileRefsSize in interface PersistenceUnitgetMappingFileRefsSize in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic MappingFileRef getImpliedEclipseLinkMappingFileRef()
protected void setImpliedEclipseLinkMappingFileRef(MappingFileRef mappingFileRef)
protected void syncImpliedMappingFileRef()
syncImpliedMappingFileRef in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitprotected void updateImpliedMappingFileRef()
updateImpliedMappingFileRef in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitprotected boolean impliedEclipseLinkMappingFileIsNotExcluded()
protected boolean impliedEclipseLinkMappingFileIsExcluded()
protected boolean impliedEclipseLinkMappingFileIsNotSpecified()
protected boolean impliedEclipseLinkMappingFileIsSpecified()
protected boolean impliedEclipseLinkMappingFileExists()
public org.eclipse.jpt.common.utility.iterable.ListIterable<EclipseLinkTenantDiscriminatorColumn2_3> getDefaultTenantDiscriminatorColumns()
protected void setDefaultTenantDiscriminatorColumns(Iterable<EclipseLinkTenantDiscriminatorColumn2_3> tenantDiscriminatorColumns)
protected org.eclipse.jpt.common.utility.iterable.ListIterable<EclipseLinkTenantDiscriminatorColumn2_3> buildDefaultTenantDiscriminatorColumns(EclipseLinkPersistenceUnitDefaults defaults)
public Iterable<EclipseLinkConverter> getAllConverters()
NB: A Java converter defined on a class or attribute whose corresponding mapping file mapping (or mapping file) is marked "metadata complete" is ignored.
public Iterable<EclipseLinkConverter> getConverters()
public int getConvertersSize()
public Iterable<String> getUniqueConverterNames()
protected Iterable<String> getNonEmptyConverterNames()
protected Iterable<String> getConverterNames()
protected void setConverters(Iterable<EclipseLinkConverter> converters)
protected Iterable<EclipseLinkConverter> buildConverters()
AbstractPersistenceUnit.buildQueries()protected Iterable<EclipseLinkConverter> getMappingFileConverters()
public Iterable<EclipseLinkConverter> getAllJavaConverters()
public EclipseLinkJpaProject getJpaProject()
JpaModel
getJpaProject in interface JpaModelgetJpaProject in class org.eclipse.jpt.jpa.core.internal.AbstractJpaModel<Persistence>public EclipseLinkPersistenceXmlContextModelFactory getContextModelFactory()
getContextModelFactory in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceXmlContextModel<Persistence>public void setSpecifiedSharedCacheMode(SharedCacheMode2_0 specifiedSharedCacheMode)
PersistenceUnit2_0
setSpecifiedSharedCacheMode in interface PersistenceUnit2_0setSpecifiedSharedCacheMode in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitprotected SharedCacheMode2_0 buildDefaultSharedCacheMode()
buildDefaultSharedCacheMode in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic boolean calculateDefaultCacheable()
calculateDefaultCacheable in interface PersistenceUnit2_0calculateDefaultCacheable in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic String getDefaultGetMethod()
protected void setDefaultGetMethod(String getMethod)
protected String buildDefaultGetMethod(EclipseLinkPersistenceUnitDefaults defaults)
public String getDefaultSetMethod()
protected void setDefaultSetMethod(String setMethod)
protected String buildDefaultSetMethod(EclipseLinkPersistenceUnitDefaults defaults)
public Iterable<String> getEclipseLinkDynamicPersistentTypeNames()
public Iterable<EclipseLinkOrmPersistentType> getEclipseLinkDynamicPersistentTypes()
public Iterable<EclipseLinkOrmPersistentType> getEclipseLinkOrmPersistentTypes()
public JpaJpqlQueryHelper createJpqlQueryHelper()
PersistenceUnitJpaJpqlQueryHelper that provides functionality related to JPQL queries.
public void validate(List<IMessage> messages,
IReporter reporter)
JpaContextModel
validate in interface JpaContextModelvalidate in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit
protected void validateProperties(List<IMessage> messages,
IReporter reporter)
validateProperties in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit
protected void validateDefaultCachingProperty(PersistenceUnit.Property cachingProperty,
List<IMessage> messages)
protected void validateLoggerProperty(PersistenceUnit.Property loggerProperty,
List<IMessage> messages)
protected ArrayList<PersistenceUnit.Property> getLegacyDescriptorCustomizerProperties()
protected ArrayList<PersistenceUnit.Property> getLegacyEntityCachingProperties()
protected void validateConverters(List<IMessage> messages,
IReporter reporter)
AbstractPersistenceUnit.validateGenerators(List, IReporter)protected void checkForConvertersWithSameName(List<IMessage> messages)
protected void validateConvertersWithSameName(String converterName,
ArrayList<EclipseLinkConverter> dups,
List<IMessage> messages)
protected <T> boolean allAreEquivalent(ArrayList<T> collection,
EclipseLinkPersistenceUnit.EquivalencyAdapter<T> adapter)
protected <T> boolean anyAreInequivalent(ArrayList<T> collection,
EclipseLinkPersistenceUnit.EquivalencyAdapter<T> adapter)
protected void validate(EclipseLinkConverter converter,
List<IMessage> messages,
IReporter reporter)
protected void validateGeneratorsWithSameName(String generatorName,
ArrayList<Generator> dups,
List<IMessage> messages)
validateGeneratorsWithSameName in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit
protected void validateQueriesWithSameName(String queryName,
ArrayList<Query> dups,
List<IMessage> messages)
validateQueriesWithSameName in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitvalidateGeneratorsWithSameName(String, ArrayList, List)
protected Iterable<ReplaceEdit> createPersistenceUnitPropertiesRenameTypeEdits(IType originalType,
String newName)
createPersistenceUnitPropertiesRenameTypeEdits in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit
protected Iterable<ReplaceEdit> createPersistenceUnitPropertiesMoveTypeEdits(IType originalType,
IPackageFragment newPackage)
createPersistenceUnitPropertiesMoveTypeEdits in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit
protected Iterable<ReplaceEdit> createPersistenceUnitPropertiesRenamePackageEdits(IPackageFragment originalPackage,
String newName)
createPersistenceUnitPropertiesRenamePackageEdits in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic boolean hasConvertibleJavaQueries()
PersistenceUnit
hasConvertibleJavaQueries in interface PersistenceUnithasConvertibleJavaQueries in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitconvertJavaQueries(EntityMappings, IProgressMonitor)public boolean hasAnyEquivalentJavaQueries()
public void convertJavaQueries(EntityMappings entityMappings,
IProgressMonitor monitor)
convertJavaQueries in interface PersistenceUnitconvertJavaQueries in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitPersistenceUnit.hasConvertibleJavaQueries()
protected void convertJavaQueriesWithSameName(OrmQueryContainer queryContainer,
Map.Entry<String,ArrayList<Query>> entry,
SubMonitor monitor)
protected HashMap<String,ArrayList<Query>> getEclipseLinkConvertibleJavaQueries()
extractEclipseLinkConvertibleJavaModels(Iterable, Iterable, EquivalencyAdapter)public boolean hasConvertibleJavaGenerators()
PersistenceUnit
hasConvertibleJavaGenerators in interface PersistenceUnithasConvertibleJavaGenerators in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitconvertJavaGenerators(EntityMappings, IProgressMonitor)public boolean hasAnyEquivalentJavaGenerators()
public void convertJavaGenerators(EntityMappings entityMappings,
IProgressMonitor monitor)
convertJavaGenerators in interface PersistenceUnitconvertJavaGenerators in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitPersistenceUnit.hasConvertibleJavaGenerators()
protected void convertJavaGeneratorsWithSameName(EntityMappings entityMappings,
Map.Entry<String,ArrayList<Generator>> entry,
SubMonitor monitor)
protected HashMap<String,ArrayList<Generator>> getEclipseLinkConvertibleJavaGenerators()
extractEclipseLinkConvertibleJavaModels(Iterable, Iterable, EquivalencyAdapter)public boolean hasConvertibleJavaConverters()
convertJavaConverters(EclipseLinkEntityMappings, IProgressMonitor)public boolean hasAnyEquivalentJavaConverters()
public void convertJavaConverters(EclipseLinkEntityMappings entityMappings,
IProgressMonitor monitor)
protected void convertJavaConvertersWithSameName(EclipseLinkOrmConverterContainer ormConverterContainer,
Map.Entry<String,ArrayList<EclipseLinkConverter>> entry,
SubMonitor monitor)
protected HashMap<String,ArrayList<EclipseLinkConverter>> getEclipseLinkConvertibleJavaConverters()
extractEclipseLinkConvertibleJavaModels(Iterable, Iterable, EquivalencyAdapter)protected int calculateCumulativeSize(Collection<? extends Collection<?>> collections)
protected <M extends JpaNamedContextModel> boolean hasAnyEquivalentJavaModels(Iterable<M> allJavaModels,
Iterable<M> mappingFileModels,
EclipseLinkPersistenceUnit.EquivalencyAdapter<M> adapter)
protected <M extends JpaNamedContextModel> HashMap<String,ArrayList<M>> extractEclipseLinkConvertibleJavaModels(Iterable<M> allJavaModels,
Iterable<M> mappingFileModels,
EclipseLinkPersistenceUnit.EquivalencyAdapter<M> adapter)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||