Interface FailureOccurrenceDescription
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,Notifier
,PCMBaseClass
,PCMClass
- All Known Subinterfaces:
ExternalFailureOccurrenceDescription
,InternalFailureOccurrenceDescription
- All Known Implementing Classes:
ExternalFailureOccurrenceDescriptionImpl
,FailureOccurrenceDescriptionImpl
,InternalFailureOccurrenceDescriptionImpl
A representation of the model object 'Failure Occurrence Description'.
Abstract superclass that connects a failure type definition to an occurrence probability. Used to describe the failure potential of certain points of failure within the control and data flow (i.e. Actions within ResourceDemandingBehaviours).
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='ensureValidFailureProbabilityRange'" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/LPG ensureValidFailureProbabilityRange='(self.failureProbability.oclAsType(Real) <= 1.0) and (self.failureProbability.oclAsType(Real) >= 0.0)'"
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the value of the 'Failure Probability' attribute.void
setFailureProbability
(double value) Sets the value of the 'Failure Probability
' 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.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
copyright
- See Also:
- Generated class or method.
-
-
Method Details
-
getFailureProbability
double getFailureProbability()Returns the value of the 'Failure Probability' attribute.- Returns:
- the value of the 'Failure Probability' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setFailureProbability
void setFailureProbability(double value) Sets the value of the 'Failure Probability
' attribute.- Parameters:
value
- the new value of the 'Failure Probability' attribute.- See Also:
- Generated class or method.
-