Interface Choice
- All Known Subinterfaces:
BoolChoice
,ClassChoice
,ContinousRangeChoice
,DiscreteRangeChoice
,FeatureChoice
- All Known Implementing Classes:
BoolChoiceImpl
,ChoiceImpl
,ClassChoiceImpl
,ContinousRangeChoiceImpl
,DiscreteRangeChoiceImpl
,FeatureChoiceImpl
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:
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Degree Of Freedom Instance' reference.getValue()
Returns the value of the 'Value' attribute.boolean
isActive()
Returns the value of the 'Is Active' attribute.void
Sets the value of the 'Degree Of Freedom Instance
' reference.void
setIsActive
(boolean value) Sets the value of the 'Is Active
' attribute.void
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 Details
-
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:
- 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:
- 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:
- Generated class or method.
- EMF model class or method.
- required="true" transient="true" volatile="true" derived="true" ordered="false"
-
setValue
Sets the value of the 'Value
' attribute.- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
- 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:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setDegreeOfFreedomInstance
Sets the value of the 'Degree Of Freedom Instance
' reference.- Parameters:
value
- the new value of the 'Degree Of Freedom Instance' reference.- See Also:
- Generated class or method.
-