Class RepositoryImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
org.eclipse.emf.internal.cdo.CDOObjectImpl
de.uka.ipd.sdq.identifier.impl.IdentifierImpl
org.palladiosimulator.edp2.models.Repository.impl.RepositoryImplGen
org.palladiosimulator.edp2.models.Repository.impl.RepositoryImpl
- All Implemented Interfaces:
de.uka.ipd.sdq.identifier.Identifier
,org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,org.eclipse.emf.cdo.common.model.CDOPackageTypeRegistry.CDOObjectMarker
,Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,org.eclipse.emf.spi.cdo.InternalCDOLoadable
,org.eclipse.emf.spi.cdo.InternalCDOObject
,Edp2Dao
,MetaDao
,Repository
- Direct Known Subclasses:
LocalDirectoryRepositoryImpl
,LocalMemoryRepositoryImplGen
An implementation of the model object 'Repository'.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
Field Summary
Modifier and TypeFieldDescriptionprotected MetaDao
The DAO to load/access/store the data handled by this repository.Fields inherited from class org.palladiosimulator.edp2.models.Repository.impl.RepositoryImplGen
READ_ONLY_EDEFAULT
Fields inherited from class de.uka.ipd.sdq.identifier.impl.IdentifierImpl
ID_EDEFAULT
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canClose()
Checks if the connection of this DAO to the data store can be closed.boolean
Checks if the data managed by this DAO can be permanently deleted.boolean
canOpen()
Checks if the data store which is accessed by this DAO is available and can be opened usingEdp2Dao.open()
.void
close()
Closes the connection to the data store.void
delete()
Deletes all of the stored data.void
flush()
Write all non-persisted data to disk.Returns the factory for measurement DAOs in order to get access to the measurements.boolean
Returns if the referenced data has been deleted.boolean
isOpen()
Returns if data is accessible or not.void
open()
Opens the connection to the data store and makes it's data accessible.void
Resets the experiment groups attribute.Methods inherited from class org.palladiosimulator.edp2.models.Repository.impl.RepositoryImplGen
basicSetRepositories, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, getDescriptions, getExperimentGroups, getRepositories, isReadOnly, setReadOnly, setRepositories
Methods inherited from class de.uka.ipd.sdq.identifier.impl.IdentifierImpl
eStaticFeatureCount, getId, setId
Methods inherited from class org.eclipse.emf.internal.cdo.CDOObjectImpl
cdoClassInfo, cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, cdoInternalPostDetach, cdoInternalPostDetach, cdoInternalPostInvalidate, cdoInternalPostLoad, cdoInternalPostRollback, cdoInternalPreAttach, cdoInternalPreCommit, cdoInternalPreLoad, cdoInternalSetID, cdoInternalSetResource, cdoInternalSetRevision, cdoInternalSetState, cdoInternalSetView, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption, createFeatureMap, createList, createLock, createMap, createOrderedList, createUnorderedList, dynamicGet, dynamicSet, dynamicUnset, eAdapterAdded, eAdapterRemoved, eAdapters, eBasicAdapterListeners, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetSettings, eBasicSettings, eClass, eContainerAdapterArray, eContainerFeatureID, eDirectResource, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicIsSet, eHasSettings, eInternalContainer, eInternalResource, eIsCaching, emfToString, equals, eSetClass, eSetDirectResource, eSetResource, eSettings, eStore, getLockState, hashCode, instanceToRevisionFeature, revisionToInstanceFeature, toString
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURI
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoState, cdoWriteLock, cdoWriteOption
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface de.uka.ipd.sdq.identifier.Identifier
getId, setId
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eInverseAdd, eInverseRemove, eInvoke, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetProxyURI, eSetStore, eSetting, eURIFragmentSegment
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
metaDao
The DAO to load/access/store the data handled by this repository.
-
-
Constructor Details
-
RepositoryImpl
protected RepositoryImpl()
-
-
Method Details
-
resetExperimentGroups
public void resetExperimentGroups()Resets the experiment groups attribute.- Specified by:
resetExperimentGroups
in interfaceRepository
- Overrides:
resetExperimentGroups
in classRepositoryImplGen
-
getMeasurementsDaoFactory
Description copied from interface:MetaDao
Returns the factory for measurement DAOs in order to get access to the measurements.- Returns:
- The measurements DAO factory.
-
canClose
public boolean canClose()Description copied from interface:Edp2Dao
Checks if the connection of this DAO to the data store can be closed.- Returns:
true
if it can be closed, false otherwise.
-
canDelete
public boolean canDelete()Description copied from interface:Edp2Dao
Checks if the data managed by this DAO can be permanently deleted.- Returns:
true
ifEdp2Dao.delete()
can be called, false otherwise.
-
canOpen
public boolean canOpen()Description copied from interface:Edp2Dao
Checks if the data store which is accessed by this DAO is available and can be opened usingEdp2Dao.open()
.- Returns:
true
if the data store is available, false otherwise.
-
close
Description copied from interface:Edp2Dao
Closes the connection to the data store. If necessary, data is persisted before closing.- Throws:
DataNotAccessibleException
- Errors when accessing data.
-
delete
Description copied from interface:Edp2Dao
Deletes all of the stored data.- Throws:
DataNotAccessibleException
- Errors when accessing data.
-
isDeleted
public boolean isDeleted()Description copied from interface:Edp2Dao
Returns if the referenced data has been deleted.- Returns:
true
if the data has been delete.
-
isOpen
public boolean isOpen()Description copied from interface:Edp2Dao
Returns if data is accessible or not.- Returns:
true
if the connection is open and data is accessible.
-
open
Description copied from interface:Edp2Dao
Opens the connection to the data store and makes it's data accessible.- Throws:
DataNotAccessibleException
- Errors when initializing the data access.
-
flush
public void flush()Description copied from interface:Edp2Dao
Write all non-persisted data to disk.
-