Package com.sodius.mdw.metamodel.uml21
Interface ConnectionPointReference
-
- All Superinterfaces:
Comparable<Object>
,Element
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,Vertex
public interface ConnectionPointReference extends Vertex
A representation of the model object 'Connection Point Reference'. A connection point reference represents a usage (as part of a submachine state) of an entry/exit point defined in the statemachine reference by the submachine state.The following features are supported:
- See Also:
UMLPackage.getConnectionPointReference()
-
-
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 MDWEList<Pseudostate>
getEntries()
Returns the value of the 'Entry' reference list.Pseudostate
getEntry(String name)
Retrieves the firstPseudostate
with the specified 'Name' from the ' Entry' reference list.Pseudostate
getEntry(String name, boolean ignoreCase)
Retrieves the firstPseudostate
with the specified 'Name' from the ' Entry' reference list.Pseudostate
getExit(String name)
Retrieves the firstPseudostate
with the specified 'Name' from the 'Exit ' reference list.Pseudostate
getExit(String name, boolean ignoreCase)
Retrieves the firstPseudostate
with the specified 'Name' from the 'Exit ' reference list.MDWEList<Pseudostate>
getExits()
Returns the value of the 'Exit' reference list.State
getState()
Returns the value of the 'State' container reference.void
setState(State value)
Sets the value of the 'State
' container reference.boolean
validateEntryPseudostates(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The entry Pseudostates must be Pseudostates with kind entryPoint.boolean
validateExitPseudostates(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The exit Pseudostates must be Pseudostates with kind exitPoint.-
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
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Vertex
containingStateMachine, getContainer, getIncoming, getIncoming, getIncomings, getOutgoing, getOutgoing, getOutgoings, setContainer
-
-
-
-
Method Detail
-
getEntries
MDWEList<Pseudostate> getEntries()
Returns the value of the 'Entry' reference list. The list contents are of typePseudostate
. The entryPoint kind pseudo states corresponding to this connection point.- Returns:
- the value of the 'Entry' reference list.
- See Also:
UMLPackage.getConnectionPointReference_Entry()
-
getEntry
Pseudostate getEntry(String name)
Retrieves the firstPseudostate
with the specified 'Name' from the ' Entry' reference list.- Parameters:
name
- The 'Name' of thePseudostate
to retrieve, ornull
.- Returns:
- The first
Pseudostate
with the specified 'Name', ornull
. - See Also:
getEntries()
-
getEntry
Pseudostate getEntry(String name, boolean ignoreCase)
Retrieves the firstPseudostate
with the specified 'Name' from the ' Entry' reference list.- Parameters:
name
- The 'Name' of thePseudostate
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.- Returns:
- The first
Pseudostate
with the specified 'Name', ornull
. - See Also:
getEntries()
-
getExits
MDWEList<Pseudostate> getExits()
Returns the value of the 'Exit' reference list. The list contents are of typePseudostate
. The exitPoints kind pseudo states corresponding to this connection point.- Returns:
- the value of the 'Exit' reference list.
- See Also:
UMLPackage.getConnectionPointReference_Exit()
-
getExit
Pseudostate getExit(String name)
Retrieves the firstPseudostate
with the specified 'Name' from the 'Exit ' reference list.- Parameters:
name
- The 'Name' of thePseudostate
to retrieve, ornull
.- Returns:
- The first
Pseudostate
with the specified 'Name', ornull
. - See Also:
getExits()
-
getExit
Pseudostate getExit(String name, boolean ignoreCase)
Retrieves the firstPseudostate
with the specified 'Name' from the 'Exit ' reference list.- Parameters:
name
- The 'Name' of thePseudostate
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.- Returns:
- The first
Pseudostate
with the specified 'Name', ornull
. - See Also:
getExits()
-
getState
State getState()
Returns the value of the 'State' container reference. It is bidirectional and its opposite is 'Connection
'. The State in which the connection point refreshens are defined.- Returns:
- the value of the 'State' container reference.
- See Also:
setState(State)
,UMLPackage.getConnectionPointReference_State()
,State.getConnections()
-
setState
void setState(State value)
Sets the value of the 'State
' container reference.- Parameters:
value
- the new value of the 'State' container reference.- See Also:
getState()
-
validateEntryPseudostates
boolean validateEntryPseudostates(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The entry Pseudostates must be Pseudostates with kind entryPoint. entry->notEmpty() implies entry->forAll(e | e.kind = #entryPoint)
-
validateExitPseudostates
boolean validateExitPseudostates(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The exit Pseudostates must be Pseudostates with kind exitPoint. exit->notEmpty() implies exit->forAll(e | e.kind = #exitPoint)
-
-