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"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
EnsureValidFailureProbabilityRange(DiagnosticChain diagnostics, Map<Object,Object> context)
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.If the meaning of the 'Failure Probability' attribute isn't clear, there really should be more of a description here...
- 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.
-
EnsureValidFailureProbabilityRange
boolean EnsureValidFailureProbabilityRange(DiagnosticChain diagnostics, Map<Object,Object> context)
- Parameters:
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.- Generated class or method.
- EMF model class or method.
- annotation= "http://www.eclipse.org/uml2/1.1.0/GenModel body='(self.failureProbability.oclAsType(Real) <= 1.0) and (self.failureProbability.oclAsType(Real) >= 0.0)'"
-
-