|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Activity
A representation of the model object 'Activity'. An Activity is the specification of parameterized Behavior as the coordinated sequencing of subordinate units.
From package UML::Activities.
The following features are supported:
Owned Group
Edge
Node
Variable
Group
Owned Node
Is Read Only
Is Single Execution
Partition
Structured Node
UMLPackage.getActivity()
Field Summary |
---|
Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
SEPARATOR |
Method Summary | |
---|---|
ActivityEdge |
createEdge(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new ActivityEdge , with the specified 'Name', and appends it to the 'Edge' containment reference list |
ActivityGroup |
createOwnedGroup(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new ActivityGroup , with the specified 'Name', and appends it to the 'Owned Group' containment reference list |
ActivityNode |
createOwnedNode(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new ActivityNode , with the specified 'Name', and appends it to the 'Owned Node' containment reference list |
ActivityPartition |
createPartition(java.lang.String name)
Creates a new ActivityPartition , with the specified 'Name', and appends it to the 'Partition' reference list |
StructuredActivityNode |
createStructuredNode(java.lang.String name)
Creates a new StructuredActivityNode , with the specified 'Name', and appends it to the 'Structured Node' containment reference list |
StructuredActivityNode |
createStructuredNode(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new StructuredActivityNode , with the specified 'Name', and appends it to the 'Structured Node' containment reference list |
Variable |
createVariable(java.lang.String name,
Type type)
Creates a new Variable , with the specified 'Name', and 'Type', and appends it to the 'Variable' containment reference list |
ActivityEdge |
getEdge(java.lang.String name)
Retrieves the first ActivityEdge with the specified 'Name' from the 'Edge' containment reference list |
ActivityEdge |
getEdge(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first ActivityEdge with the specified 'Name' from the 'Edge' containment reference list |
org.eclipse.emf.common.util.EList<ActivityEdge> |
getEdges()
Returns the value of the 'Edge' containment reference list. |
ActivityGroup |
getGroup(java.lang.String name)
Retrieves the first ActivityGroup with the specified 'Name' from the 'Group' reference list |
ActivityGroup |
getGroup(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first ActivityGroup with the specified 'Name' from the 'Group' reference list |
org.eclipse.emf.common.util.EList<ActivityGroup> |
getGroups()
Returns the value of the 'Group' reference list. |
ActivityNode |
getNode(java.lang.String name)
Retrieves the first ActivityNode with the specified 'Name' from the 'Node' reference list |
ActivityNode |
getNode(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first ActivityNode with the specified 'Name' from the 'Node' reference list |
org.eclipse.emf.common.util.EList<ActivityNode> |
getNodes()
Returns the value of the 'Node' reference list. |
ActivityGroup |
getOwnedGroup(java.lang.String name)
Retrieves the first ActivityGroup with the specified 'Name' from the 'Owned Group' containment reference list |
ActivityGroup |
getOwnedGroup(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first ActivityGroup with the specified 'Name' from the 'Owned Group' containment reference list |
org.eclipse.emf.common.util.EList<ActivityGroup> |
getOwnedGroups()
Returns the value of the 'Owned Group' containment reference list. |
ActivityNode |
getOwnedNode(java.lang.String name)
Retrieves the first ActivityNode with the specified 'Name' from the 'Owned Node' containment reference list |
ActivityNode |
getOwnedNode(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first ActivityNode with the specified 'Name' from the 'Owned Node' containment reference list |
org.eclipse.emf.common.util.EList<ActivityNode> |
getOwnedNodes()
Returns the value of the 'Owned Node' containment reference list. |
ActivityPartition |
getPartition(java.lang.String name)
Retrieves the first ActivityPartition with the specified 'Name' from the 'Partition' reference list |
ActivityPartition |
getPartition(java.lang.String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first ActivityPartition with the specified 'Name' from the 'Partition' reference list |
org.eclipse.emf.common.util.EList<ActivityPartition> |
getPartitions()
Returns the value of the 'Partition' reference list. |
StructuredActivityNode |
getStructuredNode(java.lang.String name)
Retrieves the first StructuredActivityNode with the specified 'Name' from the 'Structured Node' containment reference list |
StructuredActivityNode |
getStructuredNode(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first StructuredActivityNode with the specified 'Name' from the 'Structured Node' reference list |
StructuredActivityNode |
getStructuredNode(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first StructuredActivityNode with the specified 'Name' from the 'Structured Node' containment reference list |
org.eclipse.emf.common.util.EList<StructuredActivityNode> |
getStructuredNodes()
Returns the value of the 'Structured Node' containment reference list. |
Variable |
getVariable(java.lang.String name,
Type type)
Retrieves the first Variable with the specified 'Name', and 'Type' from the 'Variable' containment reference list |
Variable |
getVariable(java.lang.String name,
Type type,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first Variable with the specified 'Name', and 'Type' from the 'Variable' containment reference list |
org.eclipse.emf.common.util.EList<Variable> |
getVariables()
Returns the value of the 'Variable' containment reference list. |
boolean |
isReadOnly()
Returns the value of the 'Is Read Only' attribute. |
boolean |
isSingleExecution()
Returns the value of the 'Is Single Execution' attribute. |
void |
setIsReadOnly(boolean value)
Sets the value of the ' Is Read Only ' attribute |
void |
setIsSingleExecution(boolean value)
Sets the value of the ' Is Single Execution ' attribute |
boolean |
validateMaximumOneParameterNode(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
A Parameter with direction other than inout must have exactly one ActivityParameterNode in an Activity. |
boolean |
validateMaximumTwoParameterNodes(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
A Parameter with direction inout must have exactly two ActivityParameterNodes in an Activity, at most one with incoming ActivityEdges and at most one with outgoing ActivityEdges. |
Methods inherited from interface org.eclipse.uml2.uml.Class |
---|
createNestedClassifier, createOwnedOperation, createOwnedOperation, createOwnedReception, getExtension, getExtension, getExtensions, getNestedClassifier, getNestedClassifier, getNestedClassifiers, getOwnedOperation, getOwnedOperation, getOwnedOperations, getOwnedReception, getOwnedReception, getOwnedReceptions, getSuperClass, getSuperClass, getSuperClasses, isActive, isMetaclass, setIsActive, validatePassiveClass |
Methods inherited from interface org.eclipse.uml2.uml.EncapsulatedClassifier |
---|
createOwnedPort, getOwnedPort, getOwnedPort, getOwnedPort, getOwnedPorts |
Methods inherited from interface org.eclipse.uml2.uml.StructuredClassifier |
---|
allRoles, createOwnedAttribute, createOwnedAttribute, createOwnedAttribute, createOwnedConnector, getOwnedAttribute, getOwnedAttribute, getOwnedAttributes, getOwnedConnector, getOwnedConnector, getOwnedConnectors, getPart, getPart, getParts, getRole, getRole, getRoles |
Methods inherited from interface org.eclipse.uml2.uml.RedefinableElement |
---|
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateNonLeafRedefinition, validateRedefinitionConsistent, validateRedefinitionContextValid |
Methods inherited from interface org.eclipse.uml2.uml.Type |
---|
conformsTo, createAssociation, getAssociations, getPackage, setPackage |
Methods inherited from interface org.eclipse.uml2.uml.PackageableElement |
---|
validateNamespaceNeedsVisibility |
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.uml2.uml.ParameterableElement |
---|
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
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.TemplateableElement |
---|
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature |
Methods inherited from interface org.eclipse.uml2.uml.BehavioredClassifier |
---|
createClassifierBehavior, createInterfaceRealization, createOwnedBehavior, getAllImplementedInterfaces, getClassifierBehavior, getImplementedInterfaces, getInterfaceRealization, getInterfaceRealization, getInterfaceRealizations, getOwnedBehavior, getOwnedBehavior, getOwnedBehaviors, setClassifierBehavior, validateClassBehavior |
Method Detail |
---|
org.eclipse.emf.common.util.EList<ActivityGroup> getOwnedGroups()
ActivityGroup
.
This feature subsets the following features:
Group
'If the meaning of the 'Owned Group' containment reference list isn't clear, there really should be more of a description here...
UMLPackage.getActivity_OwnedGroup()
ActivityGroup createOwnedGroup(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
ActivityGroup
, with the specified 'Name', and appends it to the 'Owned Group' containment reference list.
name
- The 'Name' for the new ActivityGroup
, or null
.eClass
- The Ecore class of the ActivityGroup
to create.
ActivityGroup
.getOwnedGroups()
ActivityGroup getOwnedGroup(java.lang.String name)
ActivityGroup
with the specified 'Name' from the 'Owned Group' containment reference list.
name
- The 'Name' of the ActivityGroup
to retrieve, or null
.
ActivityGroup
with the specified 'Name', or null
.getOwnedGroups()
ActivityGroup getOwnedGroup(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
ActivityGroup
with the specified 'Name' from the 'Owned Group' containment reference list.
name
- The 'Name' of the ActivityGroup
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ActivityGroup
to retrieve, or null
.createOnDemand
- Whether to create a ActivityGroup
on demand if not found.
ActivityGroup
with the specified 'Name', or null
.getOwnedGroups()
boolean isReadOnly()
"false"
.
If true, this Activity must not make any changes to objects. The default is false (an Activity may make nonlocal changes). (This is an assertion, not an executable property. It may be used by an execution engine to optimize model execution. If the assertion is violated by the Activity, then the model is ill-formed.)
From package UML::Activities.
setIsReadOnly(boolean)
,
UMLPackage.getActivity_IsReadOnly()
void setIsReadOnly(boolean value)
Is Read Only
' attribute.
value
- the new value of the 'Is Read Only' attribute.isReadOnly()
org.eclipse.emf.common.util.EList<ActivityGroup> getGroups()
ActivityGroup
.
It is bidirectional and its opposite is 'In Activity
'.
This feature subsets the following features:
Top-level ActivityGroups in the Activity.From package UML::Activities.
UMLPackage.getActivity_Group()
,
ActivityGroup.getInActivity()
ActivityGroup getGroup(java.lang.String name)
ActivityGroup
with the specified 'Name' from the 'Group' reference list.
name
- The 'Name' of the ActivityGroup
to retrieve, or null
.
ActivityGroup
with the specified 'Name', or null
.getGroups()
ActivityGroup getGroup(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
ActivityGroup
with the specified 'Name' from the 'Group' reference list.
name
- The 'Name' of the ActivityGroup
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ActivityGroup
to retrieve, or null
.
ActivityGroup
with the specified 'Name', or null
.getGroups()
org.eclipse.emf.common.util.EList<ActivityNode> getOwnedNodes()
ActivityNode
.
This feature subsets the following features:
Node
'If the meaning of the 'Owned Node' containment reference list isn't clear, there really should be more of a description here...
UMLPackage.getActivity_OwnedNode()
ActivityNode createOwnedNode(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
ActivityNode
, with the specified 'Name', and appends it to the 'Owned Node' containment reference list.
name
- The 'Name' for the new ActivityNode
, or null
.eClass
- The Ecore class of the ActivityNode
to create.
ActivityNode
.getOwnedNodes()
ActivityNode getOwnedNode(java.lang.String name)
ActivityNode
with the specified 'Name' from the 'Owned Node' containment reference list.
name
- The 'Name' of the ActivityNode
to retrieve, or null
.
ActivityNode
with the specified 'Name', or null
.getOwnedNodes()
ActivityNode getOwnedNode(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
ActivityNode
with the specified 'Name' from the 'Owned Node' containment reference list.
name
- The 'Name' of the ActivityNode
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ActivityNode
to retrieve, or null
.createOnDemand
- Whether to create a ActivityNode
on demand if not found.
ActivityNode
with the specified 'Name', or null
.getOwnedNodes()
boolean isSingleExecution()
"false"
.
If true, all invocations of the Activity are handled by the same execution.
From package UML::Activities.
setIsSingleExecution(boolean)
,
UMLPackage.getActivity_IsSingleExecution()
void setIsSingleExecution(boolean value)
Is Single Execution
' attribute.
value
- the new value of the 'Is Single Execution' attribute.isSingleExecution()
org.eclipse.emf.common.util.EList<StructuredActivityNode> getStructuredNodes()
StructuredActivityNode
.
This feature subsets the following features:
Top-level StructuredActivityNodes in the Activity.From package UML::Activities.
UMLPackage.getActivity_StructuredNode()
StructuredActivityNode createStructuredNode(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
StructuredActivityNode
, with the specified 'Name', and appends it to the 'Structured Node' containment reference list.
name
- The 'Name' for the new StructuredActivityNode
, or null
.eClass
- The Ecore class of the StructuredActivityNode
to create.
StructuredActivityNode
.getStructuredNodes()
StructuredActivityNode createStructuredNode(java.lang.String name)
StructuredActivityNode
, with the specified 'Name', and appends it to the 'Structured Node' containment reference list.
name
- The 'Name' for the new StructuredActivityNode
, or null
.
StructuredActivityNode
.getStructuredNodes()
StructuredActivityNode getStructuredNode(java.lang.String name)
StructuredActivityNode
with the specified 'Name' from the 'Structured Node' containment reference list.
name
- The 'Name' of the StructuredActivityNode
to retrieve, or null
.
StructuredActivityNode
with the specified 'Name', or null
.getStructuredNodes()
StructuredActivityNode getStructuredNode(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
StructuredActivityNode
with the specified 'Name' from the 'Structured Node' containment reference list.
name
- The 'Name' of the StructuredActivityNode
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the StructuredActivityNode
to retrieve, or null
.createOnDemand
- Whether to create a StructuredActivityNode
on demand if not found.
StructuredActivityNode
with the specified 'Name', or null
.getStructuredNodes()
boolean validateMaximumOneParameterNode(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateMaximumTwoParameterNodes(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
StructuredActivityNode getStructuredNode(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
StructuredActivityNode
with the specified 'Name' from the 'Structured Node' reference list.
name
- The 'Name' of the StructuredActivityNode
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the StructuredActivityNode
to retrieve, or null
.
StructuredActivityNode
with the specified 'Name', or null
.getStructuredNodes()
org.eclipse.emf.common.util.EList<Variable> getVariables()
Variable
.
It is bidirectional and its opposite is 'Activity Scope
'.
This feature subsets the following features:
Top-level Variables defined by the Activity.From package UML::Activities.
UMLPackage.getActivity_Variable()
,
Variable.getActivityScope()
Variable createVariable(java.lang.String name, Type type)
Variable
, with the specified 'Name', and 'Type', and appends it to the 'Variable' containment reference list.
name
- The 'Name' for the new Variable
, or null
.type
- The 'Type' for the new Variable
, or null
.
Variable
.getVariables()
Variable getVariable(java.lang.String name, Type type)
Variable
with the specified 'Name', and 'Type' from the 'Variable' containment reference list.
name
- The 'Name' of the Variable
to retrieve, or null
.type
- The 'Type' of the Variable
to retrieve, or null
.
Variable
with the specified 'Name', and 'Type', or null
.getVariables()
Variable getVariable(java.lang.String name, Type type, boolean ignoreCase, boolean createOnDemand)
Variable
with the specified 'Name', and 'Type' from the 'Variable' containment reference list.
name
- The 'Name' of the Variable
to retrieve, or null
.type
- The 'Type' of the Variable
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a Variable
on demand if not found.
Variable
with the specified 'Name', and 'Type', or null
.getVariables()
org.eclipse.emf.common.util.EList<ActivityNode> getNodes()
ActivityNode
.
It is bidirectional and its opposite is 'Activity
'.
This feature subsets the following features:
ActivityNodes coordinated by the Activity.From package UML::Activities.
UMLPackage.getActivity_Node()
,
ActivityNode.getActivity()
ActivityNode getNode(java.lang.String name)
ActivityNode
with the specified 'Name' from the 'Node' reference list.
name
- The 'Name' of the ActivityNode
to retrieve, or null
.
ActivityNode
with the specified 'Name', or null
.getNodes()
ActivityNode getNode(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
ActivityNode
with the specified 'Name' from the 'Node' reference list.
name
- The 'Name' of the ActivityNode
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ActivityNode
to retrieve, or null
.
ActivityNode
with the specified 'Name', or null
.getNodes()
org.eclipse.emf.common.util.EList<ActivityEdge> getEdges()
ActivityEdge
.
It is bidirectional and its opposite is 'Activity
'.
This feature subsets the following features:
ActivityEdges expressing flow between the nodes of the Activity.From package UML::Activities.
UMLPackage.getActivity_Edge()
,
ActivityEdge.getActivity()
ActivityEdge createEdge(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
ActivityEdge
, with the specified 'Name', and appends it to the 'Edge' containment reference list.
name
- The 'Name' for the new ActivityEdge
, or null
.eClass
- The Ecore class of the ActivityEdge
to create.
ActivityEdge
.getEdges()
ActivityEdge getEdge(java.lang.String name)
ActivityEdge
with the specified 'Name' from the 'Edge' containment reference list.
name
- The 'Name' of the ActivityEdge
to retrieve, or null
.
ActivityEdge
with the specified 'Name', or null
.getEdges()
ActivityEdge getEdge(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
ActivityEdge
with the specified 'Name' from the 'Edge' containment reference list.
name
- The 'Name' of the ActivityEdge
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ActivityEdge
to retrieve, or null
.createOnDemand
- Whether to create a ActivityEdge
on demand if not found.
ActivityEdge
with the specified 'Name', or null
.getEdges()
org.eclipse.emf.common.util.EList<ActivityPartition> getPartitions()
ActivityPartition
.
This feature subsets the following features:
Group
'Owned Group
'From package UML::Activities.
UMLPackage.getActivity_Partition()
ActivityPartition createPartition(java.lang.String name)
ActivityPartition
, with the specified 'Name', and appends it to the 'Partition' reference list.
name
- The 'Name' for the new ActivityPartition
, or null
.
ActivityPartition
.getPartitions()
ActivityPartition getPartition(java.lang.String name)
ActivityPartition
with the specified 'Name' from the 'Partition' reference list.
name
- The 'Name' of the ActivityPartition
to retrieve, or null
.
ActivityPartition
with the specified 'Name', or null
.getPartitions()
ActivityPartition getPartition(java.lang.String name, boolean ignoreCase, boolean createOnDemand)
ActivityPartition
with the specified 'Name' from the 'Partition' reference list.
name
- The 'Name' of the ActivityPartition
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a ActivityPartition
on demand if not found.
ActivityPartition
with the specified 'Name', or null
.getPartitions()
|
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 |