Interface Variable
- All Superinterfaces:
BaseElement,Cloneable,Comparable,ConnectableElement,Element,org.eclipse.emf.ecore.EObject,MDObject,com.dassault_systemes.modeler.foundation.model.ModelElement,ModelObject,MultiplicityElement,NamedElement,org.eclipse.emf.common.notify.Notifier,ParameterableElement,javax.jmi.reflect.RefBaseObject,javax.jmi.reflect.RefFeatured,javax.jmi.reflect.RefObject,TypedElement
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:
- Model:
- annotation="MOF package='activities.mdstructuredactivities'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'variable Action Of Variable' reference list.Returns the value of the 'Activity Scope' container reference.getScope()Returns the value of the 'Scope' container reference.booleanvoidsetActivityScope(Activity value) Sets the value of the 'Activity Scope' container reference.voidsetScope(StructuredActivityNode value) Sets the value of the 'Scope' container reference.Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetIDMethods inherited from interface java.lang.Comparable
compareToMethods 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, setTemplateParameterMethods 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, setSyncElementMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setIDMethods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, selfDispose, setLocalID, sGetLocalIDMethods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationTextMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.MultiplicityElement
getLower, getLowerValue, getUpper, getUpperValue, isOrdered, isUnique, setLowerValue, setOrdered, setUnique, setUpperValueMethods 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, setVisibilityMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods 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, setTemplateParameterMethods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraintsMethods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValueMethods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostCompositeMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.TypedElement
getType, setType
-
Method Details
-
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:
- Model:
- opposite="variable" transient="false" ordered="false"
- Generated:
-
setScope
Sets the value of the 'Scope' container reference.- Parameters:
value- the new value of the 'Scope' container reference.- See Also:
- Generated:
-
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:
- Model:
- opposite="variable" transient="false" ordered="false"
- Generated:
-
setActivityScope
Sets the value of the 'Activity Scope' container reference.- Parameters:
value- the new value of the 'Activity Scope' container reference.- See Also:
- Generated:
-
get_variableActionOfVariable
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:
- Model:
- opposite="variable" ordered="false"
- Generated:
-
has_variableActionOfVariable
boolean has_variableActionOfVariable() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-