|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Variable
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.
From package UML::Activities.
The following features are supported:
UMLPackage.getVariable()
Field Summary |
---|
Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
SEPARATOR |
Method Summary | |
---|---|
Activity |
getActivityScope()
Returns the value of the 'Activity Scope' container reference. |
StructuredActivityNode |
getScope()
Returns the value of the 'Scope' container reference. |
boolean |
isAccessibleBy(Action a)
A Variable is accessible by Actions within its scope (the Activity or StructuredActivityNode that owns it). |
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 org.eclipse.uml2.uml.ConnectableElement |
---|
getEnds |
Methods inherited from interface org.eclipse.uml2.uml.TypedElement |
---|
getType, setType |
Methods inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
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 |
Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement |
---|
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
Methods inherited from interface org.eclipse.uml2.uml.MultiplicityElement |
---|
compatibleWith, createLowerValue, createUpperValue, getLower, getLowerValue, getUpper, getUpperValue, includesMultiplicity, is, isMultivalued, isOrdered, isUnique, lowerBound, setIsOrdered, setIsUnique, setLower, setLowerValue, setUpper, setUpperValue, upperBound, validateLowerGe0, validateLowerIsInteger, validateUpperGeLower, validateUpperIsUnlimitedNatural, validateValueSpecificationConstant, validateValueSpecificationNoSideEffects |
Method Detail |
---|
Activity getActivityScope()
Variable
'.
This feature subsets the following features:
An Activity that owns the Variable.From package UML::Activities.
setActivityScope(Activity)
,
UMLPackage.getVariable_ActivityScope()
,
Activity.getVariables()
void setActivityScope(Activity value)
Activity Scope
' container reference.
value
- the new value of the 'Activity Scope' container reference.getActivityScope()
StructuredActivityNode getScope()
Variable
'.
This feature subsets the following features:
A StructuredActivityNode that owns the Variable.From package UML::Activities.
setScope(StructuredActivityNode)
,
UMLPackage.getVariable_Scope()
,
StructuredActivityNode.getVariables()
void setScope(StructuredActivityNode value)
Scope
' container reference.
value
- the new value of the 'Scope' container reference.getScope()
boolean isAccessibleBy(Action a)
From package UML::Activities.
|
Copyright 2003, 2014 IBM Corporation, CEA, and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |