public interface ConsiderIgnoreFragment extends CombinedFragment
The following features are supported:
UMLPackage.getConsiderIgnoreFragment()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
NamedElement |
getMessage(String name)
Retrieves the first
NamedElement with the specified 'Name' from the '
Message' reference list |
NamedElement |
getMessage(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first
NamedElement with the specified 'Name' from the '
Message' reference list |
MDWEList<NamedElement> |
getMessages()
Returns the value of the 'Message' reference list.
|
boolean |
validateConsiderOrIgnore(DiagnosticChain diagnostics,
Map context)
The interaction operator of a ConsiderIgnoreFragment must be either 'consider' or 'ignore'.
|
boolean |
validateType(DiagnosticChain diagnostics,
Map context)
The NamedElements must be of a type of element that identifies a message (e.g., an Operation, Reception, or a Signal).
|
createCfragmentGate, createOperand, getCfragmentGate, getCfragmentGate, getCfragmentGates, getInteractionOperator, getOperand, getOperand, getOperands, setInteractionOperator, validateBreak, validateConsiderAndIgnore, validateMinintAndMaxint, validateOptLoopBreakNeg
createGeneralOrdering, getCovered, getCovered, getCovereds, getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, getGeneralOrdering, getGeneralOrderings, setEnclosingInteraction, setEnclosingOperand
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
MDWEList<NamedElement> getMessages()
NamedElement
.
The set of messages that apply to this fragment
UMLPackage.getConsiderIgnoreFragment_Message()
NamedElement getMessage(String name)
NamedElement
with the specified 'Name' from the '
Message' reference list.
name
- The 'Name' of the NamedElement
to retrieve, or null
.NamedElement
with the specified 'Name', or null
.getMessages()
NamedElement getMessage(String name, boolean ignoreCase, EClass eClass)
NamedElement
with the specified 'Name' from the '
Message' reference list.
name
- The 'Name' of the NamedElement
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the NamedElement
to retrieve, or null
.NamedElement
with the specified 'Name', or null
.getMessages()
boolean validateConsiderOrIgnore(DiagnosticChain diagnostics, Map context)
boolean validateType(DiagnosticChain diagnostics, Map context)