Package com.sodius.mdw.metamodel.uml21
Interface ActivityPartition
-
- All Superinterfaces:
ActivityGroup,Comparable<Object>,Element,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,MDWEObject,MDWObject,NamedElement,org.eclipse.emf.common.notify.Notifier
public interface ActivityPartition extends NamedElement, ActivityGroup
A representation of the model object 'Activity Partition'. An activity partition is a kind of activity group for identifying actions that have some characteristic in common.The following features are supported:
- See Also:
UMLPackage.getActivityPartition()
-
-
Field Summary
-
Fields inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
SEPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivityPartitioncreateSubpartition(String name)Creates a newActivityPartition, with the specified 'Name', and appends it to the ' Subpartition' containment reference list.ActivityEdgegetEdge(String name)Retrieves the firstActivityEdgewith the specified 'Name' from the ' Edge' reference list.ActivityEdgegetEdge(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)Retrieves the firstActivityEdgewith the specified 'Name' from the ' Edge' reference list.MDWEList<ActivityEdge>getEdges()Returns the value of the 'Edge' reference list.ActivityNodegetNode(String name)Retrieves the firstActivityNodewith the specified 'Name' from the ' Node' reference list.ActivityNodegetNode(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)Retrieves the firstActivityNodewith the specified 'Name' from the ' Node' reference list.MDWEList<ActivityNode>getNodes()Returns the value of the 'Node' reference list.ElementgetRepresents()Returns the value of the 'Represents' reference.ActivityPartitiongetSubpartition(String name)Retrieves the firstActivityPartitionwith the specified 'Name' from the ' Subpartition' containment reference list.ActivityPartitiongetSubpartition(String name, boolean ignoreCase, boolean createOnDemand)Retrieves the firstActivityPartitionwith the specified 'Name' from the ' Subpartition' containment reference list.MDWEList<ActivityPartition>getSubpartitions()Returns the value of the 'Subpartition' containment reference list.ActivityPartitiongetSuperPartition()Returns the value of the 'Super Partition' container reference.booleanisDimension()Returns the value of the 'Is Dimension' attribute.booleanisExternal()Returns the value of the 'Is External' attribute.voidsetIsDimension(boolean value)Sets the value of the 'Is Dimension' attribute.voidsetIsExternal(boolean value)Sets the value of the 'Is External' attribute.voidsetRepresents(Element value)Sets the value of the 'Represents' reference.voidsetSuperPartition(ActivityPartition value)Sets the value of the 'Super Partition' container reference.booleanvalidateDimensionNotContained(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)A partition with isDimension = true may not be contained by another partition.booleanvalidateRepresentsClassifier(org.eclipse.emf.common.util.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.booleanvalidateRepresentsPart(org.eclipse.emf.common.util.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.booleanvalidateRepresentsPartAndIsContained(org.eclipse.emf.common.util.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.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.ActivityGroup
getContainedEdge, getContainedEdge, getContainedEdges, getContainedNode, getContainedNode, getContainedNodes, getInActivity, getSubgroups, getSuperGroup, setInActivity, validateGroupOwned, validateNodesAndEdges, validateNotContained
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Element
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
-
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 com.sodius.mdw.core.model.MDWObject
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
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
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
-
-
-
-
Method Detail
-
isDimension
boolean isDimension()
Returns the value of the 'Is Dimension' attribute. The default value is"false". Tells whether the partition groups other partitions along a dimension.- Returns:
- the value of the 'Is Dimension' attribute.
- See Also:
setIsDimension(boolean),UMLPackage.getActivityPartition_IsDimension()
-
setIsDimension
void setIsDimension(boolean value)
Sets the value of the 'Is Dimension' attribute.- Parameters:
value- the new value of the 'Is Dimension' attribute.- See Also:
isDimension()
-
isExternal
boolean isExternal()
Returns the value of the 'Is External' attribute. The default value is"false". Tells whether the partition represents an entity to which the partitioning structure does not apply.- Returns:
- the value of the 'Is External' attribute.
- See Also:
setIsExternal(boolean),UMLPackage.getActivityPartition_IsExternal()
-
setIsExternal
void setIsExternal(boolean value)
Sets the value of the 'Is External' attribute.- Parameters:
value- the new value of the 'Is External' attribute.- See Also:
isExternal()
-
getEdges
MDWEList<ActivityEdge> getEdges()
Returns the value of the 'Edge' reference list. The list contents are of typeActivityEdge. It is bidirectional and its opposite is 'In Partition'. Edges immediately contained in the group.- Returns:
- the value of the 'Edge' reference list.
- See Also:
UMLPackage.getActivityPartition_Edge(),ActivityEdge.getInPartitions()
-
getEdge
ActivityEdge getEdge(String name)
Retrieves the firstActivityEdgewith the specified 'Name' from the ' Edge' reference list.- Parameters:
name- The 'Name' of theActivityEdgeto retrieve, ornull.- Returns:
- The first
ActivityEdgewith the specified 'Name', ornull. - See Also:
getEdges()
-
getEdge
ActivityEdge getEdge(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityEdgewith the specified 'Name' from the ' Edge' reference list.- Parameters:
name- The 'Name' of theActivityEdgeto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.eClass- The Ecore class of theActivityEdgeto retrieve, ornull.- Returns:
- The first
ActivityEdgewith the specified 'Name', ornull. - See Also:
getEdges()
-
getNodes
MDWEList<ActivityNode> getNodes()
Returns the value of the 'Node' reference list. The list contents are of typeActivityNode. It is bidirectional and its opposite is 'In Partition'. Nodes immediately contained in the group.- Returns:
- the value of the 'Node' reference list.
- See Also:
UMLPackage.getActivityPartition_Node(),ActivityNode.getInPartitions()
-
getNode
ActivityNode getNode(String name)
Retrieves the firstActivityNodewith the specified 'Name' from the ' Node' reference list.- Parameters:
name- The 'Name' of theActivityNodeto retrieve, ornull.- Returns:
- The first
ActivityNodewith the specified 'Name', ornull. - See Also:
getNodes()
-
getNode
ActivityNode getNode(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityNodewith the specified 'Name' from the ' Node' reference list.- Parameters:
name- The 'Name' of theActivityNodeto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.eClass- The Ecore class of theActivityNodeto retrieve, ornull.- Returns:
- The first
ActivityNodewith the specified 'Name', ornull. - See Also:
getNodes()
-
getSubpartitions
MDWEList<ActivityPartition> getSubpartitions()
Returns the value of the 'Subpartition' containment reference list. The list contents are of typeActivityPartition. It is bidirectional and its opposite is 'Super Partition'. Partitions immediately contained in the partition.- Returns:
- the value of the 'Subpartition' containment reference list.
- See Also:
UMLPackage.getActivityPartition_Subpartition(),getSuperPartition()
-
createSubpartition
ActivityPartition createSubpartition(String name)
Creates a newActivityPartition, with the specified 'Name', and appends it to the ' Subpartition' containment reference list.- Parameters:
name- The 'Name' for the newActivityPartition, ornull.- Returns:
- The new
ActivityPartition. - See Also:
getSubpartitions()
-
getSubpartition
ActivityPartition getSubpartition(String name)
Retrieves the firstActivityPartitionwith the specified 'Name' from the ' Subpartition' containment reference list.- Parameters:
name- The 'Name' of theActivityPartitionto retrieve, ornull.- Returns:
- The first
ActivityPartitionwith the specified 'Name', ornull. - See Also:
getSubpartitions()
-
getSubpartition
ActivityPartition getSubpartition(String name, boolean ignoreCase, boolean createOnDemand)
Retrieves the firstActivityPartitionwith the specified 'Name' from the ' Subpartition' containment reference list.- Parameters:
name- The 'Name' of theActivityPartitionto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.createOnDemand- Whether to create aActivityPartitionon demand if not found.- Returns:
- The first
ActivityPartitionwith the specified 'Name', ornull. - See Also:
getSubpartitions()
-
getSuperPartition
ActivityPartition getSuperPartition()
Returns the value of the 'Super Partition' container reference. It is bidirectional and its opposite is 'Subpartition'. Partition immediately containing the partition.- Returns:
- the value of the 'Super Partition' container reference.
- See Also:
setSuperPartition(ActivityPartition),UMLPackage.getActivityPartition_SuperPartition(),getSubpartitions()
-
setSuperPartition
void setSuperPartition(ActivityPartition value)
Sets the value of the 'Super Partition' container reference.- Parameters:
value- the new value of the 'Super Partition' container reference.- See Also:
getSuperPartition()
-
getRepresents
Element getRepresents()
Returns the value of the 'Represents' reference. An element constraining behaviors invoked by nodes in the partition.- Returns:
- the value of the 'Represents' reference.
- See Also:
setRepresents(Element),UMLPackage.getActivityPartition_Represents()
-
setRepresents
void setRepresents(Element value)
Sets the value of the 'Represents' reference.- Parameters:
value- the new value of the 'Represents' reference.- See Also:
getRepresents()
-
validateDimensionNotContained
boolean validateDimensionNotContained(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)A partition with isDimension = true may not be contained by another partition. true
-
validateRepresentsPart
boolean validateRepresentsPart(org.eclipse.emf.common.util.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. true
-
validateRepresentsClassifier
boolean validateRepresentsClassifier(org.eclipse.emf.common.util.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. true
-
validateRepresentsPartAndIsContained
boolean validateRepresentsPartAndIsContained(org.eclipse.emf.common.util.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. true
-
-