|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'Interaction'. An interaction is a unit of behavior that focuses on the observable exchange of information between connectable elements.
The following features are supported:
UMLPackage.getInteraction()| Field Summary |
| Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
SEPARATOR |
| Method Summary | |
Action |
createAction(String name,
EClass eClass)
Creates a new Action, with the specified 'Name', and appends it to the 'Action' containment reference list |
Gate |
createFormalGate(String name)
Creates a new Gate, with the specified 'Name', and appends it to the 'Formal Gate' containment reference list |
InteractionFragment |
createFragment(String name,
EClass eClass)
Creates a new InteractionFragment, with the specified 'Name', and appends it to the 'Fragment' containment reference list |
Lifeline |
createLifeline(String name)
Creates a new Lifeline, with the specified 'Name', and appends it to the 'Lifeline' containment reference list |
Message |
createMessage(String name)
Creates a new Message, with the specified 'Name', and appends it to the 'Message' containment reference list |
Action |
getAction(String name)
Retrieves the first Action with the specified 'Name' from the 'Action' containment reference list |
Action |
getAction(String name,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Retrieves the first Action with the specified 'Name' from the 'Action' containment reference list |
EList |
getActions()
Returns the value of the 'Action' containment reference list. |
Gate |
getFormalGate(String name)
Retrieves the first Gate with the specified 'Name' from the 'Formal Gate' containment reference list |
Gate |
getFormalGate(String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first Gate with the specified 'Name' from the 'Formal Gate' containment reference list |
EList |
getFormalGates()
Returns the value of the 'Formal Gate' containment reference list. |
InteractionFragment |
getFragment(String name)
Retrieves the first InteractionFragment with the specified 'Name' from the 'Fragment' containment reference list |
InteractionFragment |
getFragment(String name,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Retrieves the first InteractionFragment with the specified 'Name' from the 'Fragment' containment reference list |
EList |
getFragments()
Returns the value of the 'Fragment' containment reference list. |
Lifeline |
getLifeline(String name)
Retrieves the first Lifeline with the specified 'Name' from the 'Lifeline' containment reference list |
Lifeline |
getLifeline(String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first Lifeline with the specified 'Name' from the 'Lifeline' containment reference list |
EList |
getLifelines()
Returns the value of the 'Lifeline' containment reference list. |
Message |
getMessage(String name)
Retrieves the first Message with the specified 'Name' from the 'Message' containment reference list |
Message |
getMessage(String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first Message with the specified 'Name' from the 'Message' containment reference list |
EList |
getMessages()
Returns the value of the 'Message' containment reference list. |
| Methods inherited from interface org.eclipse.uml2.uml.Class |
createNestedClassifier, createOwnedOperation, createOwnedOperation, createOwnedReception, getExtension, getExtension, getExtensions, getNestedClassifier, getNestedClassifier, getNestedClassifiers, getOwnedOperation, getOwnedOperation, getOwnedOperations, getOwnedReception, getOwnedReception, getOwnedReceptions, getSuperClass, getSuperClass, getSuperClasses, isActive, isMetaclass, setIsActive, validatePassiveClass |
| Methods inherited from interface org.eclipse.uml2.uml.EncapsulatedClassifier |
createOwnedPort, getOwnedPort, getOwnedPort, getOwnedPorts |
| Methods inherited from interface org.eclipse.uml2.uml.StructuredClassifier |
createOwnedAttribute, createOwnedAttribute, createOwnedAttribute, createOwnedConnector, getOwnedAttribute, getOwnedAttribute, getOwnedAttributes, getOwnedConnector, getOwnedConnector, getOwnedConnectors, getPart, getPart, getParts, getRole, getRole, getRoles, validateMultiplicities |
| 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 |
| Methods inherited from interface org.eclipse.uml2.uml.RedefinableElement |
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
| Methods inherited from interface org.eclipse.uml2.uml.Type |
conformsTo, createAssociation, getAssociations, getPackage, setPackage |
| Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement |
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
| Methods inherited from interface org.eclipse.uml2.uml.TemplateableElement |
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature |
| Methods inherited from interface org.eclipse.uml2.uml.InteractionFragment |
createGeneralOrdering, getCovered, getCovered, getCovereds, getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, getGeneralOrdering, getGeneralOrderings, setEnclosingInteraction, setEnclosingOperand |
| Method Detail |
public EList getLifelines()
Lifeline.
It is bidirectional and its opposite is 'Interaction'.
Specifies the participants in this Interaction.
UMLPackage.getInteraction_Lifeline(),
Lifeline.getInteraction()public Lifeline createLifeline(String name)
Lifeline, with the specified 'Name', and appends it to the 'Lifeline' containment reference list.
name - The 'Name' for the new Lifeline, or null.
Lifeline.Interaction.getLifelines()public Lifeline getLifeline(String name)
Lifeline with the specified 'Name' from the 'Lifeline' containment reference list.
name - The 'Name' of the Lifeline to retrieve, or null.
Lifeline with the specified 'Name', or null.Interaction.getLifelines()
public Lifeline getLifeline(String name,
boolean ignoreCase,
boolean createOnDemand)
Lifeline with the specified 'Name' from the 'Lifeline' containment reference list.
name - The 'Name' of the Lifeline to retrieve, or null.ignoreCase - Whether to ignore case in String comparisons.createOnDemand - Whether to create a Lifeline on demand if not found.
Lifeline with the specified 'Name', or null.Interaction.getLifelines()public EList getFragments()
InteractionFragment.
It is bidirectional and its opposite is 'Enclosing Interaction'.
The ordered set of fragments in the Interaction.
UMLPackage.getInteraction_Fragment(),
InteractionFragment.getEnclosingInteraction()
public InteractionFragment createFragment(String name,
EClass eClass)
InteractionFragment, with the specified 'Name', and appends it to the 'Fragment' containment reference list.
name - The 'Name' for the new InteractionFragment, or null.eClass - The Ecore class of the InteractionFragment to create.
InteractionFragment.Interaction.getFragments()public InteractionFragment getFragment(String name)
InteractionFragment with the specified 'Name' from the 'Fragment' containment reference list.
name - The 'Name' of the InteractionFragment to retrieve, or null.
InteractionFragment with the specified 'Name', or null.Interaction.getFragments()
public InteractionFragment getFragment(String name,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
InteractionFragment with the specified 'Name' from the 'Fragment' containment reference list.
name - The 'Name' of the InteractionFragment to retrieve, or null.ignoreCase - Whether to ignore case in String comparisons.eClass - The Ecore class of the InteractionFragment to retrieve, or null.createOnDemand - Whether to create a InteractionFragment on demand if not found.
InteractionFragment with the specified 'Name', or null.Interaction.getFragments()public EList getActions()
Action.
Actions owned by the Interaction.
UMLPackage.getInteraction_Action()
public Action createAction(String name,
EClass eClass)
Action, with the specified 'Name', and appends it to the 'Action' containment reference list.
name - The 'Name' for the new Action, or null.eClass - The Ecore class of the Action to create.
Action.Interaction.getActions()public Action getAction(String name)
Action with the specified 'Name' from the 'Action' containment reference list.
name - The 'Name' of the Action to retrieve, or null.
Action with the specified 'Name', or null.Interaction.getActions()
public Action getAction(String name,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Action with the specified 'Name' from the 'Action' containment reference list.
name - The 'Name' of the Action to retrieve, or null.ignoreCase - Whether to ignore case in String comparisons.eClass - The Ecore class of the Action to retrieve, or null.createOnDemand - Whether to create a Action on demand if not found.
Action with the specified 'Name', or null.Interaction.getActions()public EList getFormalGates()
Gate.
Specifies the gates that form the message interface between this Interaction and any InteractionUses which reference it.
UMLPackage.getInteraction_FormalGate()public Gate createFormalGate(String name)
Gate, with the specified 'Name', and appends it to the 'Formal Gate' containment reference list.
name - The 'Name' for the new Gate, or null.
Gate.Interaction.getFormalGates()public Gate getFormalGate(String name)
Gate with the specified 'Name' from the 'Formal Gate' containment reference list.
name - The 'Name' of the Gate to retrieve, or null.
Gate with the specified 'Name', or null.Interaction.getFormalGates()
public Gate getFormalGate(String name,
boolean ignoreCase,
boolean createOnDemand)
Gate with the specified 'Name' from the 'Formal Gate' containment reference list.
name - The 'Name' of the Gate to retrieve, or null.ignoreCase - Whether to ignore case in String comparisons.createOnDemand - Whether to create a Gate on demand if not found.
Gate with the specified 'Name', or null.Interaction.getFormalGates()public EList getMessages()
Message.
It is bidirectional and its opposite is 'Interaction'.
The Messages contained in this Interaction.
UMLPackage.getInteraction_Message(),
Message.getInteraction()public Message createMessage(String name)
Message, with the specified 'Name', and appends it to the 'Message' containment reference list.
name - The 'Name' for the new Message, or null.
Message.Interaction.getMessages()public Message getMessage(String name)
Message with the specified 'Name' from the 'Message' containment reference list.
name - The 'Name' of the Message to retrieve, or null.
Message with the specified 'Name', or null.Interaction.getMessages()
public Message getMessage(String name,
boolean ignoreCase,
boolean createOnDemand)
Message with the specified 'Name' from the 'Message' containment reference list.
name - The 'Name' of the Message to retrieve, or null.ignoreCase - Whether to ignore case in String comparisons.createOnDemand - Whether to create a Message on demand if not found.
Message with the specified 'Name', or null.Interaction.getMessages()
|
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 | ||||||||||