public interface Variable extends ConnectableElement, MultiplicityElement
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:
UMLPackage.getVariable()
Modifier and Type | Method and 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. |
get_collaborationOfCollaborationRole, get_lifelineOfRepresents, get_structuredClassifierOfRole, getEnd, getTemplateParameter, has_collaborationOfCollaborationRole, has_lifelineOfRepresents, has_structuredClassifierOfRole, hasEnd, setTemplateParameter
getType, setType
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
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
getLower, getLowerValue, getUpper, getUpperValue, isOrdered, isUnique, setLowerValue, setOrdered, setUnique, setUpperValue
@CheckForNull StructuredActivityNode getScope()
Variable
'.
A StructuredActivityNode that owns the Variable.
setScope(StructuredActivityNode)
,
UMLPackage.getVariable_Scope()
,
StructuredActivityNode.getVariable()
void setScope(@CheckForNull StructuredActivityNode value)
Scope
' container reference.
value
- the new value of the 'Scope' container reference.getScope()
@CheckForNull Activity getActivityScope()
Variable
'.
An Activity that owns the Variable.
setActivityScope(Activity)
,
UMLPackage.getVariable_ActivityScope()
,
Activity.getVariable()
void setActivityScope(@CheckForNull Activity value)
Activity Scope
' container
reference.
value
- the new value of the 'Activity Scope' container reference.getActivityScope()
java.util.Collection<VariableAction> get_variableActionOfVariable()
VariableAction
.
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...
UMLPackage.getVariable__variableActionOfVariable()
,
VariableAction.getVariable()
boolean has_variableActionOfVariable() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException