Interface Option
-
- All Known Implementing Classes:
OptionImpl
public interface Option extends EObject
A representation of the model object 'Option'.The following features are supported:
- See Also:
ResourceModelPackage.getOption()- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetProbability()Returns the value of the 'Probability' attribute.AbstractResourceUsagegetResourceUsage()Returns the value of the 'Resource Usage' containment reference.voidsetProbability(double value)Sets the value of the 'Probability' attribute.voidsetResourceUsage(AbstractResourceUsage value)Sets the value of the 'Resource Usage' containment reference.-
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 Detail
-
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),ResourceModelPackage.getOption_Probability()- Generated class or method.
- EMF model class or method.
- unique="false" required="true"
-
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.
-
getResourceUsage
AbstractResourceUsage getResourceUsage()
Returns the value of the 'Resource Usage' containment reference.If the meaning of the 'Resource Usage' containment reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Resource Usage' containment reference.
- See Also:
setResourceUsage(AbstractResourceUsage),ResourceModelPackage.getOption_ResourceUsage()- Generated class or method.
- EMF model class or method.
- containment="true" required="true"
-
setResourceUsage
void setResourceUsage(AbstractResourceUsage value)
Sets the value of the 'Resource Usage' containment reference.- Parameters:
value- the new value of the 'Resource Usage' containment reference.- See Also:
getResourceUsage()- Generated class or method.
-
-