|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'Consider Ignore Fragment'. A consider ignore fragment is a kind of combined fragment that is used for the consider and ignore cases, which require lists of pertinent messages to be specified.
The following features are supported:
UMLPackage.getConsiderIgnoreFragment()| Field Summary |
| Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
SEPARATOR |
| Method Summary | |
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 |
EList |
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). |
| Methods inherited from interface org.eclipse.uml2.uml.CombinedFragment |
createCfragmentGate, createOperand, getCfragmentGate, getCfragmentGate, getCfragmentGates, getInteractionOperator, getOperand, getOperand, getOperands, setInteractionOperator, validateBreak, validateConsiderAndIgnore, validateMinintAndMaxint, validateOptLoopBreakNeg |
| Methods inherited from interface org.eclipse.uml2.uml.InteractionFragment |
createGeneralOrdering, getCovered, getCovered, getCovereds, getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, getGeneralOrdering, getGeneralOrderings, setEnclosingInteraction, setEnclosingOperand |
| Methods inherited from interface org.eclipse.uml2.uml.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.ecore.EModelElement |
getEAnnotation, getEAnnotations |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
public EList getMessages()
NamedElement.
The set of messages that apply to this fragment
UMLPackage.getConsiderIgnoreFragment_Message()public 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.ConsiderIgnoreFragment.getMessages()
public 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.ConsiderIgnoreFragment.getMessages()
public boolean validateConsiderOrIgnore(DiagnosticChain diagnostics,
Map context)
public boolean validateType(DiagnosticChain diagnostics,
Map context)
|
Copyright 2003, 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||