Package com.sodius.mdw.metamodel.uml21
Interface ConditionalNode
-
- All Superinterfaces:
Action,ActivityGroup,ActivityNode,Comparable<Object>,Element,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,ExecutableNode,MDWEObject,MDWObject,NamedElement,Namespace,org.eclipse.emf.common.notify.Notifier,RedefinableElement,StructuredActivityNode
public interface ConditionalNode extends StructuredActivityNode
A representation of the model object 'Conditional Node'. A conditional node is a structured activity node that represents an exclusive choice among some number of alternatives.The following features are supported:
- See Also:
UMLPackage.getConditionalNode()
-
-
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 ClausecreateClause()Creates a newClauseand appends it to the 'Clause' containment reference list.OutputPincreateResult(String name, Type type)Creates a newOutputPin, with the specified 'Name', and 'Type', and appends it to the 'Result' containment reference list.MDWEList<Clause>getClauses()Returns the value of the 'Clause' containment reference list.OutputPingetResult(String name, Type type)Retrieves the firstOutputPinwith the specified 'Name', and 'Type' from the 'Result' containment reference list.OutputPingetResult(String name, Type type, boolean ignoreCase, boolean createOnDemand)Retrieves the firstOutputPinwith the specified 'Name', and 'Type' from the 'Result' containment reference list.MDWEList<OutputPin>getResults()Returns the value of the 'Result' containment reference list.booleanisAssured()Returns the value of the 'Is Assured' attribute.booleanisDeterminate()Returns the value of the 'Is Determinate' attribute.voidsetIsAssured(boolean value)Sets the value of the 'Is Assured' attribute.voidsetIsDeterminate(boolean value)Sets the value of the 'Is Determinate' attribute.booleanvalidateResultNoIncoming(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)The result output pins have no incoming edges.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Action
createLocalPostcondition, createLocalPostcondition, createLocalPrecondition, createLocalPrecondition, getContext, getInput, getInput, getInputs, getLocalPostcondition, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPrecondition, getLocalPreconditions, getOutput, getOutput, getOutputs
-
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.ActivityNode
getActivity, getIncoming, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoing, getOutgoings, getRedefinedNode, getRedefinedNode, getRedefinedNodes, setActivity, setInStructuredNode, validateOwned, validateOwnedStructuredNode
-
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.metamodel.uml21.ExecutableNode
createHandler, getHandlers
-
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
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Namespace
createElementImport, createElementImport, createOwnedDiagram, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImport, getElementImport, getElementImports, getImportedElements, getImportedMember, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMember, getMembers, getNamesOfMember, getOwnedDiagrams, getOwnedDiagrams, getOwnedMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRule, getOwnedRules, getPackageImport, getPackageImport, getPackageImports, importMembers, membersAreDistinguishable, validateMembersDistinguishable
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.RedefinableElement
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.StructuredActivityNode
createEdge, createNode, createStructuredNodeInput, createStructuredNodeInput, createStructuredNodeOutput, createVariable, getEdge, getEdge, getEdges, getNode, getNode, getNodes, getStructuredNodeInput, getStructuredNodeInput, getStructuredNodeInputs, getStructuredNodeOutput, getStructuredNodeOutput, getStructuredNodeOutputs, getVariable, getVariable, getVariables, isMustIsolate, setMustIsolate, validateEdges
-
-
-
-
Method Detail
-
isDeterminate
boolean isDeterminate()
Returns the value of the 'Is Determinate' attribute. The default value is"false". If true, the modeler asserts that at most one test will succeed.- Returns:
- the value of the 'Is Determinate' attribute.
- See Also:
setIsDeterminate(boolean),UMLPackage.getConditionalNode_IsDeterminate()
-
setIsDeterminate
void setIsDeterminate(boolean value)
Sets the value of the 'Is Determinate' attribute.- Parameters:
value- the new value of the 'Is Determinate' attribute.- See Also:
isDeterminate()
-
isAssured
boolean isAssured()
Returns the value of the 'Is Assured' attribute. The default value is"false". If true, the modeler asserts that at least one test will succeed.- Returns:
- the value of the 'Is Assured' attribute.
- See Also:
setIsAssured(boolean),UMLPackage.getConditionalNode_IsAssured()
-
setIsAssured
void setIsAssured(boolean value)
Sets the value of the 'Is Assured' attribute.- Parameters:
value- the new value of the 'Is Assured' attribute.- See Also:
isAssured()
-
getClauses
MDWEList<Clause> getClauses()
Returns the value of the 'Clause' containment reference list. The list contents are of typeClause. Set of clauses composing the conditional.- Returns:
- the value of the 'Clause' containment reference list.
- See Also:
UMLPackage.getConditionalNode_Clause()
-
createClause
Clause createClause()
Creates a newClauseand appends it to the 'Clause' containment reference list.- Returns:
- The new
Clause. - See Also:
getClauses()
-
getResults
MDWEList<OutputPin> getResults()
Returns the value of the 'Result' containment reference list. The list contents are of typeOutputPin. A list of output pins that constitute the data flow outputs of the conditional.- Returns:
- the value of the 'Result' containment reference list.
- See Also:
UMLPackage.getConditionalNode_Result()
-
createResult
OutputPin createResult(String name, Type type)
Creates a newOutputPin, with the specified 'Name', and 'Type', and appends it to the 'Result' containment reference list.- Parameters:
name- The 'Name' for the newOutputPin, ornull.type- The 'Type' for the newOutputPin, ornull.- Returns:
- The new
OutputPin. - See Also:
getResults()
-
getResult
OutputPin getResult(String name, Type type)
Retrieves the firstOutputPinwith the specified 'Name', and 'Type' from the 'Result' containment reference list.- Parameters:
name- The 'Name' of theOutputPinto retrieve, ornull.type- The 'Type' of theOutputPinto retrieve, ornull.- Returns:
- The first
OutputPinwith the specified 'Name', and 'Type', ornull. - See Also:
getResults()
-
getResult
OutputPin getResult(String name, Type type, boolean ignoreCase, boolean createOnDemand)
Retrieves the firstOutputPinwith the specified 'Name', and 'Type' from the 'Result' containment reference list.- Parameters:
name- The 'Name' of theOutputPinto retrieve, ornull.type- The 'Type' of theOutputPinto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.createOnDemand- Whether to create aOutputPinon demand if not found.- Returns:
- The first
OutputPinwith the specified 'Name', and 'Type', ornull. - See Also:
getResults()
-
validateResultNoIncoming
boolean validateResultNoIncoming(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)The result output pins have no incoming edges. true
-
-