Interface FailureOccurrenceDescription
-
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,Notifier
- All Known Subinterfaces:
ExternalFailureOccurrenceDescription
,InternalFailureOccurrenceDescription
- All Known Implementing Classes:
ExternalFailureOccurrenceDescriptionImpl
,FailureOccurrenceDescriptionImpl
,InternalFailureOccurrenceDescriptionImpl
public interface FailureOccurrenceDescription extends org.eclipse.emf.cdo.CDOObject
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:
ReliabilityPackage.getFailureOccurrenceDescription()
- 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 ensureValidFailureProbabilityRange='(self.failureProbability.oclAsType(Real) <= 1.0) and (self.failureProbability.oclAsType(Real) >= 0.0)'"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getFailureProbability()
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 Detail
-
copyright
static final String copyright
- See Also:
- Constant Field Values
- Generated class or method.
-
-
Method Detail
-
getFailureProbability
double getFailureProbability()
Returns the value of the 'Failure Probability' attribute.- Returns:
- the value of the 'Failure Probability' attribute.
- See Also:
setFailureProbability(double)
,ReliabilityPackage.getFailureOccurrenceDescription_FailureProbability()
- 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:
getFailureProbability()
- Generated class or method.
-
-