|
||||||||||
| 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.AbstractJpaNode
org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextNode
org.eclipse.jpt.jpa.core.internal.context.AbstractXmlContextNode
org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceXmlContextNode
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 |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.persistence.PersistenceUnit |
|---|
PersistenceUnit.Property |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.jpa2.MetamodelSynchronizer |
|---|
MetamodelSynchronizer.Null |
| Field Summary | |
|---|---|
static java.lang.String |
CONVERTERS_COLLECTION
Identifier for changes to the list of global converter definitions. |
static java.lang.String |
IMPLIED_ECLIPSELINK_MAPPING_FILE_REF_PROPERTY
String constant associated with changes to the implied eclipselink mapping file ref |
| Fields inherited from class org.eclipse.jpt.jpa.core.internal.AbstractJpaNode |
|---|
EMPTY_STRING_ARRAY |
| 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.context.persistence.PersistentTypeContainer |
|---|
TRANSFORMER |
| Constructor Summary | |
|---|---|
EclipseLinkPersistenceUnit(Persistence parent,
XmlPersistenceUnit xmlPersistenceUnit)
|
|
| Method Summary | |
|---|---|
void |
addConverter(EclipseLinkConverter converter)
Add the converter definition (defined elsewhere) to the list of converters defined within this persistence unit. |
java.util.ListIterator<EclipseLinkConverter> |
allConverters()
Return an iterator on all converters defined within this persistence unit, included duplicately named converters definitions. |
boolean |
calculateDefaultCacheable()
|
int |
convertersSize()
|
Caching |
getCaching()
|
Connection |
getConnection()
|
EclipseLinkPersistenceXmlContextNodeFactory |
getContextNodeFactory()
|
Customization |
getCustomization()
|
GeneralProperties |
getGeneralProperties()
|
MappingFileRef |
getImpliedEclipseLinkMappingFileRef()
|
EclipseLinkJpaProject |
getJpaProject()
Return the JPA project the node belongs to. |
Logging |
getLogging()
|
Options |
getOptions()
|
SchemaGeneration |
getSchemaGeneration()
|
java.lang.Iterable<java.lang.String> |
getUniqueConverterNames()
Return the names of the converters defined in the persistence unit, with duplicates removed. |
int |
mappingFileRefsSize()
Return the size of the persistence unit's list of mapping file refs, both specified and implied. |
void |
propertyRemoved(java.lang.String propertyName)
|
void |
propertyValueChanged(java.lang.String propertyName,
java.lang.String newValue)
Call back method for Property value changing. |
void |
setSpecifiedSharedCacheMode(SharedCacheMode specifiedSharedCacheMode)
Set the persistence unit's specified shared cache mode. |
void |
update()
Some non-trivial state in the JPA project has changed; update the parts of the context node that are dependent on yet other parts of the node's JPA project. |
| Methods inherited from class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit |
|---|
addGenerator, addJarFileRef, addJarFileRef, addProperty, addProperty, addQuery, addSpecifiedClassRef, addSpecifiedClassRef, addSpecifiedMappingFileRef, addSpecifiedMappingFileRef, classRefs, classRefsSize, containsOffset, createDeleteMappingFileEdits, createDeleteTypeEdits, createMoveFolderEdits, createMoveMappingFileEdits, createMoveTypeEdits, createRenameFolderEdits, createRenameMappingFileEdits, createRenamePackageEdits, createRenameTypeEdits, dispose, disposeMetamodel, excludesUnlistedClasses, findInsertLocationForMappingFileRef, generators, generatorsSize, getDefaultAccess, getDefaultCascadePersist, getDefaultCatalog, getDefaultDelimitedIdentifiers, getDefaultExcludeUnlistedClasses, getDefaultSchema, getDefaultSharedCacheMode, getDefaultTransactionType, getDefaultValidationMode, getDescription, getEmbeddable, getEntities, getEntity, getId, getImpliedMappingFileRef, getJavaEntities, getJtaDataSource, getName, getNonJtaDataSource, getOrmEntities, getOrmMappedClassNames, getParent, getPersistenceUnit, getPersistentType, getPersistentTypes, getPropertiesNamed, getProperty, getProvider, getSelectionTextRange, getSharedCacheMode, getSpecifiedExcludeUnlistedClasses, getSpecifiedSharedCacheMode, getSpecifiedTransactionType, getSpecifiedValidationMode, getStructureNode, getTransactionType, getUniqueGeneratorNames, getValidationMode, getValidationTextRange, getXmlPersistenceUnit, impliedClassRefs, impliedClassRefsSize, initializeMetamodel, isXmlMappingMetadataComplete, jarFileRefs, jarFileRefsSize, javaEntityNames, javaEntityNamesExclOverridden, mapEntityNameToClassNames, mappingFileRefs, mappingFileRefsContaining, ormEntityNames, properties, propertiesSize, propertiesWithNamePrefix, propertyNameChanged, queries, queriesSize, removeJarFileRef, removeJarFileRef, removeProperty, removeProperty, removeProperty, removeSpecifiedClassRef, removeSpecifiedClassRef, removeSpecifiedMappingFileRef, removeSpecifiedMappingFileRef, setDescription, setJtaDataSource, setName, setNonJtaDataSource, setProperty, setProperty, setProvider, setSpecifiedExcludeUnlistedClasses, setSpecifiedTransactionType, setSpecifiedValidationMode, specifiedClassRefs, specifiedClassRefsSize, specifiedMappingFileRefs, specifiedMappingFileRefsSize, specifiesPersistentType, synchronizeMetamodel, synchronizeWithResourceModel, toString, validate, validatesAgainstDatabase |
| Methods inherited from class org.eclipse.jpt.jpa.core.internal.context.AbstractJpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getResourceType |
| Methods inherited from class org.eclipse.jpt.jpa.core.internal.AbstractJpaNode |
|---|
getAdapter, getResource, stateChanged |
| Methods inherited from class org.eclipse.jpt.common.utility.internal.model.AbstractModel |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, hasAnyChangeListeners, hasAnyCollectionChangeListeners, hasAnyListChangeListeners, hasAnyPropertyChangeListeners, hasAnyStateChangeListeners, hasAnyTreeChangeListeners, hasNoChangeListeners, hasNoCollectionChangeListeners, hasNoListChangeListeners, hasNoPropertyChangeListeners, hasNoStateChangeListeners, hasNoTreeChangeListeners, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getResourceType |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode |
|---|
stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.common.core.IResourcePart |
|---|
getResource |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaStructureNode |
|---|
getResourceType |
| Field Detail |
|---|
public static final java.lang.String IMPLIED_ECLIPSELINK_MAPPING_FILE_REF_PROPERTY
public static final java.lang.String CONVERTERS_COLLECTION
| Constructor Detail |
|---|
public EclipseLinkPersistenceUnit(Persistence parent,
XmlPersistenceUnit xmlPersistenceUnit)
| Method Detail |
|---|
public void update()
JpaContextNode
update in interface JpaContextNodeupdate in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic GeneralProperties getGeneralProperties()
public Connection getConnection()
getConnection in interface PersistenceUnit2_0getConnection in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic Customization getCustomization()
public Caching getCaching()
public Logging getLogging()
public Options getOptions()
getOptions in interface PersistenceUnit2_0getOptions in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic SchemaGeneration getSchemaGeneration()
public void propertyValueChanged(java.lang.String propertyName,
java.lang.String newValue)
PersistenceUnit
propertyValueChanged in interface PersistenceUnitpropertyValueChanged in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic void propertyRemoved(java.lang.String propertyName)
propertyRemoved in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic int mappingFileRefsSize()
PersistenceUnit
mappingFileRefsSize in interface PersistenceUnitmappingFileRefsSize in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnitpublic MappingFileRef getImpliedEclipseLinkMappingFileRef()
public void addConverter(EclipseLinkConverter converter)
public java.util.ListIterator<EclipseLinkConverter> allConverters()
public int convertersSize()
public java.lang.Iterable<java.lang.String> getUniqueConverterNames()
public EclipseLinkJpaProject getJpaProject()
JpaNode
getJpaProject in interface JpaNodegetJpaProject in class org.eclipse.jpt.jpa.core.internal.AbstractJpaNodepublic EclipseLinkPersistenceXmlContextNodeFactory getContextNodeFactory()
getContextNodeFactory in class org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceXmlContextNodepublic void setSpecifiedSharedCacheMode(SharedCacheMode specifiedSharedCacheMode)
PersistenceUnit2_0
setSpecifiedSharedCacheMode in interface PersistenceUnit2_0setSpecifiedSharedCacheMode 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.AbstractPersistenceUnit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||