de.uka.ipd.sdq.spa.resourcemodel
Interface Option

All Known Implementing Classes:
OptionImpl

public interface Option

A representation of the model object 'Option'.

The following features are supported:

See Also:
ResourceModelPackage.getOption()

Method Summary
 double getProbability()
          Returns the value of the 'Probability' attribute.
 AbstractResourceUsage getResourceUsage()
          Returns the value of the 'Resource Usage' containment reference.
 void setProbability(double value)
          Sets the value of the 'Probability' attribute.
 void setResourceUsage(AbstractResourceUsage value)
          Sets the value of the 'Resource Usage' containment reference.
 

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()

setProbability

void setProbability(double value)
Sets the value of the 'Probability' attribute.

Parameters:
value - the new value of the 'Probability' attribute.
See Also:
getProbability()

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()

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()