Package org.palladiosimulator.pcmtx
Interface Database
-
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject,org.eclipse.emf.cdo.common.id.CDOWithID,org.palladiosimulator.pcm.core.entity.Entity,EObject,de.uka.ipd.sdq.identifier.Identifier,org.palladiosimulator.pcm.core.entity.NamedElement,Notifier,org.palladiosimulator.pcm.PCMBaseClass,org.palladiosimulator.pcm.PCMClass
- All Known Implementing Classes:
DatabaseImpl
public interface Database extends EObject, org.palladiosimulator.pcm.core.entity.Entity
A representation of the model object 'Database'.The following features are supported:
- See Also:
PcmtxPackage.getDatabase()- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransactionIsolationgetIsolation()Returns the value of the 'Isolation' attribute.intgetTimeout()Returns the value of the 'Timeout' attribute.voidsetIsolation(TransactionIsolation value)Sets the value of the 'Isolation' attribute.voidsetTimeout(int value)Sets the value of the 'Timeout' attribute.-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, 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 org.palladiosimulator.pcm.core.entity.NamedElement
getEntityName, setEntityName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getIsolation
TransactionIsolation getIsolation()
Returns the value of the 'Isolation' attribute. The default value is"READ_COMMITTED". The literals are from the enumerationTransactionIsolation.If the meaning of the 'Isolation' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Isolation' attribute.
- See Also:
TransactionIsolation,setIsolation(TransactionIsolation),PcmtxPackage.getDatabase_Isolation()- Generated class or method.
- EMF model class or method.
- default="READ_COMMITTED"
-
setIsolation
void setIsolation(TransactionIsolation value)
Sets the value of the 'Isolation' attribute.- Parameters:
value- the new value of the 'Isolation' attribute.- See Also:
TransactionIsolation,getIsolation()- Generated class or method.
-
getTimeout
int getTimeout()
Returns the value of the 'Timeout' attribute. The default value is"0".If the meaning of the 'Timeout' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Timeout' attribute.
- See Also:
setTimeout(int),PcmtxPackage.getDatabase_Timeout()- Generated class or method.
- EMF model class or method.
- default="0"
-
setTimeout
void setTimeout(int value)
Sets the value of the 'Timeout' attribute.- Parameters:
value- the new value of the 'Timeout' attribute.- See Also:
getTimeout()- Generated class or method.
-
-