Interface Choice
-
- All Known Subinterfaces:
BoolChoice
,ClassChoice
,ContinousRangeChoice
,DiscreteRangeChoice
,FeatureChoice
- All Known Implementing Classes:
BoolChoiceImpl
,ChoiceImpl
,ClassChoiceImpl
,ContinousRangeChoiceImpl
,DiscreteRangeChoiceImpl
,FeatureChoiceImpl
public interface Choice extends EObject
A representation of the model object 'Choice'. A Choice represents the choice of one value from the domain of a DegreeOfFreedom. The Choice links the DegreeOfFreedom for which it makes the choice. Additionally, it links one element of the domain of the DegreeOfFreedom. This linking is realised in subclasses of Choice, as it may be either PCM Entities or numbers.The following features are supported:
- See Also:
designdecisionPackage.getChoice()
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DegreeOfFreedomInstance
getDegreeOfFreedomInstance()
Returns the value of the 'Degree Of Freedom Instance' reference.Object
getValue()
Returns the value of the 'Value' attribute.boolean
isActive()
Returns the value of the 'Is Active' attribute.void
setDegreeOfFreedomInstance(DegreeOfFreedomInstance value)
Sets the value of the 'Degree Of Freedom Instance
' reference.void
setIsActive(boolean value)
Sets the value of the 'Is Active
' attribute.void
setValue(Object value)
Sets the value of the 'Value
' attribute.-
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
-
isActive
boolean isActive()
Returns the value of the 'Is Active' attribute. The default value is"true"
.If the meaning of the 'Is Active' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Is Active' attribute.
- See Also:
setIsActive(boolean)
,designdecisionPackage.getChoice_IsActive()
- Generated class or method.
- EMF model class or method.
- default="true" required="true" ordered="false"
-
setIsActive
void setIsActive(boolean value)
Sets the value of the 'Is Active
' attribute.- Parameters:
value
- the new value of the 'Is Active' attribute.- See Also:
isActive()
- Generated class or method.
-
getValue
Object 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)
,designdecisionPackage.getChoice_Value()
- Generated class or method.
- EMF model class or method.
- required="true" transient="true" volatile="true" derived="true" ordered="false"
-
setValue
void setValue(Object value)
Sets the value of the 'Value
' attribute.- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
getValue()
- Generated class or method.
-
getDegreeOfFreedomInstance
DegreeOfFreedomInstance getDegreeOfFreedomInstance()
Returns the value of the 'Degree Of Freedom Instance' reference.If the meaning of the 'Degree Of Freedom Instance' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Degree Of Freedom Instance' reference.
- See Also:
setDegreeOfFreedomInstance(DegreeOfFreedomInstance)
,designdecisionPackage.getChoice_DegreeOfFreedomInstance()
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setDegreeOfFreedomInstance
void setDegreeOfFreedomInstance(DegreeOfFreedomInstance value)
Sets the value of the 'Degree Of Freedom Instance
' reference.- Parameters:
value
- the new value of the 'Degree Of Freedom Instance' reference.- See Also:
getDegreeOfFreedomInstance()
- Generated class or method.
-
-