public interface ObjectNode extends ActivityNode, TypedElement
The following features are supported:
UMLPackage.getObjectNode()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
ValueSpecification |
createUpperBound(String name,
Type type,
EClass eClass)
Creates a new
ValueSpecification , with the specified 'Name', and 'Type',
and sets the 'Upper Bound' containment reference |
State |
getInState(String name)
Retrieves the first
State with the specified 'Name' from the 'In State'
reference list |
State |
getInState(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first
State with the specified 'Name' from the 'In State'
reference list |
MDWEList<State> |
getInStates()
Returns the value of the 'In State' reference list.
|
ObjectNodeOrderingKind |
getOrdering()
Returns the value of the 'Ordering' attribute.
|
Behavior |
getSelection()
Returns the value of the 'Selection' reference
|
ValueSpecification |
getUpperBound()
Returns the value of the 'Upper Bound' containment reference
|
boolean |
isControlType()
Returns the value of the 'Is Control Type' attribute.
|
void |
setIsControlType(boolean value)
Sets the value of the '
Is Control Type ' attribute |
void |
setOrdering(ObjectNodeOrderingKind value)
Sets the value of the '
Ordering ' attribute |
void |
setSelection(Behavior value)
Sets the value of the '
Selection ' reference |
void |
setUpperBound(ValueSpecification value)
Sets the value of the '
Upper Bound ' containment reference |
boolean |
validateInputOutputParameter(DiagnosticChain diagnostics,
Map context)
A selection behavior has one input parameter and one output parameter.
|
boolean |
validateNotUnique(DiagnosticChain diagnostics,
Map context)
Object nodes are not unique typed elements
isUnique = false
|
boolean |
validateObjectFlowEdges(DiagnosticChain diagnostics,
Map context)
All edges coming into or going out of object nodes must be object flow edges.
|
boolean |
validateSelectionBehavior(DiagnosticChain diagnostics,
Map context)
If an object node has a selection behavior, then the ordering of the object node is ordered, and vice versa.
|
getActivity, getIncoming, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoing, getOutgoings, getRedefinedNode, getRedefinedNode, getRedefinedNodes, setActivity, setInStructuredNode, validateOwned, validateOwnedStructuredNode
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
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
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
getType, setType
ObjectNodeOrderingKind getOrdering()
"FIFO"
.
The literals are from the enumeration ObjectNodeOrderingKind
.
Tells whether and how the tokens in the object node are ordered for selection to traverse edges outgoing from the object node.
ObjectNodeOrderingKind
,
setOrdering(ObjectNodeOrderingKind)
,
UMLPackage.getObjectNode_Ordering()
void setOrdering(ObjectNodeOrderingKind value)
Ordering
' attribute.
value
- the new value of the 'Ordering' attribute.ObjectNodeOrderingKind
,
getOrdering()
boolean isControlType()
"false"
.
Tells whether the type of the object node is to be treated as control.
setIsControlType(boolean)
,
UMLPackage.getObjectNode_IsControlType()
void setIsControlType(boolean value)
Is Control Type
' attribute.
value
- the new value of the 'Is Control Type' attribute.isControlType()
ValueSpecification getUpperBound()
setUpperBound(ValueSpecification)
,
UMLPackage.getObjectNode_UpperBound()
void setUpperBound(ValueSpecification value)
Upper Bound
' containment reference.
value
- the new value of the 'Upper Bound' containment reference.getUpperBound()
ValueSpecification createUpperBound(String name, Type type, EClass eClass)
ValueSpecification
, with the specified 'Name', and 'Type',
and sets the 'Upper Bound' containment reference.
name
- The 'Name' for the new ValueSpecification
, or null
.type
- The 'Type' for the new ValueSpecification
, or null
.eClass
- The Ecore class of the ValueSpecification
to create.ValueSpecification
.getUpperBound()
MDWEList<State> getInStates()
State
.
The required states of the object available at this point in the activity.
UMLPackage.getObjectNode_InState()
State getInState(String name)
State
with the specified 'Name' from the 'In State'
reference list.
name
- The 'Name' of the State
to retrieve, or null
.State
with the specified 'Name', or null
.getInStates()
State getInState(String name, boolean ignoreCase, EClass eClass)
State
with the specified 'Name' from the 'In State'
reference list.
name
- The 'Name' of the State
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the State
to retrieve, or null
.State
with the specified 'Name', or null
.getInStates()
Behavior getSelection()
setSelection(Behavior)
,
UMLPackage.getObjectNode_Selection()
void setSelection(Behavior value)
Selection
' reference.
value
- the new value of the 'Selection' reference.getSelection()
boolean validateObjectFlowEdges(DiagnosticChain diagnostics, Map context)
boolean validateNotUnique(DiagnosticChain diagnostics, Map context)
boolean validateSelectionBehavior(DiagnosticChain diagnostics, Map context)
boolean validateInputOutputParameter(DiagnosticChain diagnostics, Map context)