Package de.uka.ipd.sdq.probfunction
Interface Sample<T>
-
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,Notifier
- All Known Subinterfaces:
BoolSample
,DoubleSample
,IntSample
,StringSample
- All Known Implementing Classes:
BoolSampleImpl
,DoubleSampleImpl
,IntSampleImpl
,SampleImpl
,StringSampleImpl
public interface Sample<T> extends org.eclipse.emf.cdo.CDOObject
A representation of the model object 'Sample'.The following features are supported:
- See Also:
ProbfunctionPackage.getSample()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getProbability()
Returns the value of the 'Probability' attribute.T
getValue()
Returns the value of the 'Value' attribute.void
setProbability(double value)
Sets the value of the 'Probability
' attribute.void
setValue(T value)
Sets the value of the 'Value
' 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
-
getValue
T getValue()
Returns the value of the 'Value' attribute.If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Value' attribute.
- See Also:
setValue(Object)
,ProbfunctionPackage.getSample_Value()
- Generated class or method.
- EMF model class or method.
-
setValue
void setValue(T value)
Sets the value of the 'Value
' attribute.- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
getValue()
- Generated class or method.
-
getProbability
double getProbability()
Returns the value of the 'Probability' attribute.If the meaning of the 'Probability' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Probability' attribute.
- See Also:
setProbability(double)
,ProbfunctionPackage.getSample_Probability()
- Generated class or method.
- EMF model class or method.
- unique="false" ordered="false"
-
setProbability
void setProbability(double value)
Sets the value of the 'Probability
' attribute.- Parameters:
value
- the new value of the 'Probability' attribute.- See Also:
getProbability()
- Generated class or method.
-
-