public interface ActivityPartition extends NamedElement, ActivityGroup
The following features are supported:
UMLPackage.getActivityPartition()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
ActivityPartition |
createSubpartition(String name)
Creates a new
ActivityPartition , with the specified 'Name', and appends it to the '
Subpartition' containment reference list |
ActivityEdge |
getEdge(String name)
Retrieves the first
ActivityEdge with the specified 'Name' from the '
Edge' reference list |
ActivityEdge |
getEdge(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first
ActivityEdge with the specified 'Name' from the '
Edge' reference list |
MDWEList<ActivityEdge> |
getEdges()
Returns the value of the 'Edge' reference list.
|
ActivityNode |
getNode(String name)
Retrieves the first
ActivityNode with the specified 'Name' from the '
Node' reference list |
ActivityNode |
getNode(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first
ActivityNode with the specified 'Name' from the '
Node' reference list |
MDWEList<ActivityNode> |
getNodes()
Returns the value of the 'Node' reference list.
|
Element |
getRepresents()
Returns the value of the 'Represents' reference
|
ActivityPartition |
getSubpartition(String name)
Retrieves the first
ActivityPartition with the specified 'Name' from the '
Subpartition' containment reference list |
ActivityPartition |
getSubpartition(String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
ActivityPartition with the specified 'Name' from the '
Subpartition' containment reference list |
MDWEList<ActivityPartition> |
getSubpartitions()
Returns the value of the 'Subpartition' containment reference list.
|
ActivityPartition |
getSuperPartition()
Returns the value of the 'Super Partition' container reference.
|
boolean |
isDimension()
Returns the value of the 'Is Dimension' attribute.
|
boolean |
isExternal()
Returns the value of the 'Is External' attribute.
|
void |
setIsDimension(boolean value)
Sets the value of the '
Is Dimension ' attribute |
void |
setIsExternal(boolean value)
Sets the value of the '
Is External ' attribute |
void |
setRepresents(Element value)
Sets the value of the '
Represents ' reference |
void |
setSuperPartition(ActivityPartition value)
Sets the value of the '
Super Partition ' container
reference |
boolean |
validateDimensionNotContained(DiagnosticChain diagnostics,
Map context)
A partition with isDimension = true may not be contained by another partition.
|
boolean |
validateRepresentsClassifier(DiagnosticChain diagnostics,
Map context)
If a non-external partition represents a classifier and is contained in another partition, then the containing partition must represent a
classifier, and the classifier of the subpartition must be nested in the classifier represented by the containing partition, or be at the
contained end of a strong composition association with the classifier represented by the containing partition.
|
boolean |
validateRepresentsPart(DiagnosticChain diagnostics,
Map context)
If a partition represents a part, then all the non-external partitions in the same dimension and at the same level of nesting in that dimension
must represent parts directly contained in the internal structure of the same classifier.
|
boolean |
validateRepresentsPartAndIsContained(DiagnosticChain diagnostics,
Map context)
If a partition represents a part and is contained by another partition, then the part must be of a classifier represented by the containing
partition, or of a classifier that is the type of a part representing the containing partition.
|
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
getContainedEdge, getContainedEdge, getContainedEdges, getContainedNode, getContainedNode, getContainedNodes, getInActivity, getSubgroups, getSuperGroup, setInActivity, validateGroupOwned, validateNodesAndEdges, validateNotContained
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
boolean isDimension()
"false"
.
Tells whether the partition groups other partitions along a dimension.
setIsDimension(boolean)
,
UMLPackage.getActivityPartition_IsDimension()
void setIsDimension(boolean value)
Is Dimension
' attribute.
value
- the new value of the 'Is Dimension' attribute.isDimension()
boolean isExternal()
"false"
.
Tells whether the partition represents an entity to which the partitioning structure does not apply.
setIsExternal(boolean)
,
UMLPackage.getActivityPartition_IsExternal()
void setIsExternal(boolean value)
Is External
' attribute.
value
- the new value of the 'Is External' attribute.isExternal()
MDWEList<ActivityEdge> getEdges()
ActivityEdge
.
It is bidirectional and its opposite is 'In Partition
'.
Edges immediately contained in the group.
UMLPackage.getActivityPartition_Edge()
,
ActivityEdge.getInPartitions()
ActivityEdge getEdge(String name)
ActivityEdge
with the specified 'Name' from the '
Edge' reference list.
name
- The 'Name' of the ActivityEdge
to retrieve, or null
.ActivityEdge
with the specified 'Name', or null
.getEdges()
ActivityEdge getEdge(String name, boolean ignoreCase, EClass eClass)
ActivityEdge
with the specified 'Name' from the '
Edge' 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
.ActivityEdge
with the specified 'Name', or null
.getEdges()
MDWEList<ActivityNode> getNodes()
ActivityNode
.
It is bidirectional and its opposite is 'In Partition
'.
Nodes immediately contained in the group.
UMLPackage.getActivityPartition_Node()
,
ActivityNode.getInPartitions()
ActivityNode getNode(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(String name, boolean ignoreCase, 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()
MDWEList<ActivityPartition> getSubpartitions()
ActivityPartition
.
It is bidirectional and its opposite is 'Super Partition
'.
Partitions immediately contained in the partition.
UMLPackage.getActivityPartition_Subpartition()
,
getSuperPartition()
ActivityPartition createSubpartition(String name)
ActivityPartition
, with the specified 'Name', and appends it to the '
Subpartition' containment reference list.
name
- The 'Name' for the new ActivityPartition
, or null
.ActivityPartition
.getSubpartitions()
ActivityPartition getSubpartition(String name)
ActivityPartition
with the specified 'Name' from the '
Subpartition' containment reference list.
name
- The 'Name' of the ActivityPartition
to retrieve, or null
.ActivityPartition
with the specified 'Name', or null
.getSubpartitions()
ActivityPartition getSubpartition(String name, boolean ignoreCase, boolean createOnDemand)
ActivityPartition
with the specified 'Name' from the '
Subpartition' containment 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
.getSubpartitions()
ActivityPartition getSuperPartition()
Subpartition
'.
Partition immediately containing the partition.
setSuperPartition(ActivityPartition)
,
UMLPackage.getActivityPartition_SuperPartition()
,
getSubpartitions()
void setSuperPartition(ActivityPartition value)
Super Partition
' container
reference.
value
- the new value of the 'Super Partition' container reference.getSuperPartition()
Element getRepresents()
setRepresents(Element)
,
UMLPackage.getActivityPartition_Represents()
void setRepresents(Element value)
Represents
' reference.
value
- the new value of the 'Represents' reference.getRepresents()
boolean validateDimensionNotContained(DiagnosticChain diagnostics, Map context)
boolean validateRepresentsPart(DiagnosticChain diagnostics, Map context)
boolean validateRepresentsClassifier(DiagnosticChain diagnostics, Map context)
boolean validateRepresentsPartAndIsContained(DiagnosticChain diagnostics, Map context)