Interface Variable
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,ConnectableElement
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,MultiplicityElement
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,ParameterableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
,TypedElement
public interface Variable extends ConnectableElement, MultiplicityElement
A representation of the model object 'Variable'.A Variable is a ConnectableElement that may store values during the execution of an Activity. Reading and writing the values of a Variable provides an alternative means for passing data than the use of ObjectFlows. A Variable may be owned directly by an Activity, in which case it is accessible from anywhere within that activity, or it may be owned by a StructuredActivityNode, in which case it is only accessible within that node.
The following features are supported:
- See Also:
UMLPackage.getVariable()
- Model:
- annotation="MOF package='activities.mdstructuredactivities'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<VariableAction>
get_variableActionOfVariable()
Returns the value of the 'variable Action Of Variable' reference list.Activity
getActivityScope()
Returns the value of the 'Activity Scope' container reference.StructuredActivityNode
getScope()
Returns the value of the 'Scope' container reference.boolean
has_variableActionOfVariable()
void
setActivityScope(Activity value)
Sets the value of the 'Activity Scope
' container reference.void
setScope(StructuredActivityNode value)
Sets the value of the 'Scope
' container reference.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, clone, dispose, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, isParentOf, removeAllPropertyChangeListeners, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.compositestructures.mdinternalstructures.ConnectableElement
get_collaborationOfCollaborationRole, get_lifelineOfRepresents, get_structuredClassifierOfRole, getEnd, getTemplateParameter, has_collaborationOfCollaborationRole, has_lifelineOfRepresents, has_structuredClassifierOfRole, hasEnd, setTemplateParameter
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
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 com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.MultiplicityElement
getLower, getLowerValue, getUpper, getUpperValue, isOrdered, isUnique, setLowerValue, setOrdered, setUnique, setUpperValue
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.ParameterableElement
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
-
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.TypedElement
getType, setType
-
-
-
-
Method Detail
-
getScope
@CheckForNull StructuredActivityNode getScope()
Returns the value of the 'Scope' container reference. It is bidirectional and its opposite is 'Variable
'. A StructuredActivityNode that owns the Variable.- Returns:
- the value of the 'Scope' container reference.
- See Also:
setScope(StructuredActivityNode)
,UMLPackage.getVariable_Scope()
,StructuredActivityNode.getVariable()
- Model:
- opposite="variable" transient="false" ordered="false"
- Generated:
-
setScope
void setScope(@CheckForNull StructuredActivityNode value)
Sets the value of the 'Scope
' container reference.- Parameters:
value
- the new value of the 'Scope' container reference.- See Also:
getScope()
- Generated:
-
getActivityScope
@CheckForNull Activity getActivityScope()
Returns the value of the 'Activity Scope' container reference. It is bidirectional and its opposite is 'Variable
'. An Activity that owns the Variable.- Returns:
- the value of the 'Activity Scope' container reference.
- See Also:
setActivityScope(Activity)
,UMLPackage.getVariable_ActivityScope()
,Activity.getVariable()
- Model:
- opposite="variable" transient="false" ordered="false"
- Generated:
-
setActivityScope
void setActivityScope(@CheckForNull Activity value)
Sets the value of the 'Activity Scope
' container reference.- Parameters:
value
- the new value of the 'Activity Scope' container reference.- See Also:
getActivityScope()
- Generated:
-
get_variableActionOfVariable
java.util.Collection<VariableAction> get_variableActionOfVariable()
Returns the value of the 'variable Action Of Variable' reference list. The list contents are of typeVariableAction
. It is bidirectional and its opposite is 'Variable
'.If the meaning of the 'variable Action Of Variable' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'variable Action Of Variable' reference list.
- See Also:
UMLPackage.getVariable__variableActionOfVariable()
,VariableAction.getVariable()
- Model:
- opposite="variable" ordered="false"
- Generated:
-
has_variableActionOfVariable
boolean has_variableActionOfVariable() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-