Interface Byzantine<Failuretype extends Failure>
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,Mode
,Notifier
- All Known Subinterfaces:
HWByzantineFailure
,LinkByzantineFailure
,SWByzantineFailure
- All Known Implementing Classes:
ByzantineImpl
,HWByzantineFailureImpl
,LinkByzantineFailureImpl
,SWByzantineFailureImpl
A representation of the model object 'Byzantine'.
Generates the stored failure type and triggers it every time with the probability of occurrence.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
- abstract="true" annotation="http://www.eclipse.org/emf/2002/Ecore constraints='noByzantineOrTransientFailureAllowedForInternalFailureDescription'" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL noByzantineOrTransientFailureAllowedForInternalFailureDescription='not ( self.decoratedFailure.oclIsKindOf(Byzantine) or self.decoratedFailure.oclIsKindOf(Transient) )'"
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Decorated Failure' reference.org.palladiosimulator.pcm.core.PCMRandomVariable
Returns the value of the 'Probability Of Occurrence' containment reference.void
setDecoratedFailure
(Failuretype value) Sets the value of the 'Decorated Failure
' reference.void
setProbabilityOfOccurrence
(org.palladiosimulator.pcm.core.PCMRandomVariable value) Sets the value of the 'Probability Of Occurrence
' containment reference.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.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getProbabilityOfOccurrence
org.palladiosimulator.pcm.core.PCMRandomVariable getProbabilityOfOccurrence()Returns the value of the 'Probability Of Occurrence' containment reference.- Returns:
- the value of the 'Probability Of Occurrence' containment reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- containment="true" required="true"
-
setProbabilityOfOccurrence
void setProbabilityOfOccurrence(org.palladiosimulator.pcm.core.PCMRandomVariable value) Sets the value of the 'Probability Of Occurrence
' containment reference.- Parameters:
value
- the new value of the 'Probability Of Occurrence' containment reference.- See Also:
- Generated class or method.
-
getDecoratedFailure
Failuretype getDecoratedFailure()Returns the value of the 'Decorated Failure' reference.- Returns:
- the value of the 'Decorated Failure' reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true"
-
setDecoratedFailure
Sets the value of the 'Decorated Failure
' reference.- Parameters:
value
- the new value of the 'Decorated Failure' reference.- See Also:
- Generated class or method.
-