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.ContainerNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImplNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MetaDaoThe DAO to load/access/store the data handled by this repository.Fields inherited from class org.palladiosimulator.edp2.models.Repository.impl.RepositoryImplGen
READ_ONLY_EDEFAULTFields inherited from class de.uka.ipd.sdq.identifier.impl.IdentifierImpl
ID_EDEFAULTFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanClose()Checks if the connection of this DAO to the data store can be closed.booleanChecks if the data managed by this DAO can be permanently deleted.booleancanOpen()Checks if the data store which is accessed by this DAO is available and can be opened usingEdp2Dao.open().voidclose()Closes the connection to the data store.voiddelete()Deletes all of the stored data.voidflush()Write all non-persisted data to disk.Returns the factory for measurement DAOs in order to get access to the measurements.booleanReturns if the referenced data has been deleted.booleanisOpen()Returns if data is accessible or not.voidopen()Opens the connection to the data store and makes it's data accessible.voidResets 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, setRepositoriesMethods inherited from class de.uka.ipd.sdq.identifier.impl.IdentifierImpl
eStaticFeatureCount, getId, setIdMethods 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, toStringMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureIDMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURIMethods 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, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoState, cdoWriteLock, cdoWriteOptionMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface de.uka.ipd.sdq.identifier.Identifier
getId, setIdMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eInverseAdd, eInverseRemove, eInvoke, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetProxyURI, eSetStore, eSetting, eURIFragmentSegmentMethods 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:
resetExperimentGroupsin interfaceRepository- Overrides:
resetExperimentGroupsin classRepositoryImplGen
-
getMeasurementsDaoFactory
Description copied from interface:MetaDaoReturns 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:Edp2DaoChecks if the connection of this DAO to the data store can be closed.- Returns:
trueif it can be closed, false otherwise.
-
canDelete
public boolean canDelete()Description copied from interface:Edp2DaoChecks if the data managed by this DAO can be permanently deleted.- Returns:
trueifEdp2Dao.delete()can be called, false otherwise.
-
canOpen
public boolean canOpen()Description copied from interface:Edp2DaoChecks if the data store which is accessed by this DAO is available and can be opened usingEdp2Dao.open().- Returns:
trueif the data store is available, false otherwise.
-
close
Description copied from interface:Edp2DaoCloses the connection to the data store. If necessary, data is persisted before closing.- Throws:
DataNotAccessibleException- Errors when accessing data.
-
delete
Description copied from interface:Edp2DaoDeletes all of the stored data.- Throws:
DataNotAccessibleException- Errors when accessing data.
-
isDeleted
public boolean isDeleted()Description copied from interface:Edp2DaoReturns if the referenced data has been deleted.- Returns:
trueif the data has been delete.
-
isOpen
public boolean isOpen()Description copied from interface:Edp2DaoReturns if data is accessible or not.- Returns:
trueif the connection is open and data is accessible.
-
open
Description copied from interface:Edp2DaoOpens 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:Edp2DaoWrite all non-persisted data to disk.
-