| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Interaction
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()| Method Summary | |
|---|---|
|  Action | createAction(java.lang.String name,
             org.eclipse.emf.ecore.EClass eClass)Creates a new Action, with the specified 'Name', and appends it to the 'Action' containment reference list | 
|  Gate | createFormalGate(java.lang.String name)Creates a new Gate, with the specified 'Name', and appends it to the 'Formal Gate' containment reference list | 
|  InteractionFragment | createFragment(java.lang.String name,
               org.eclipse.emf.ecore.EClass eClass)Creates a new InteractionFragment, with the specified 'Name', and appends it to the 'Fragment' containment reference list | 
|  Lifeline | createLifeline(java.lang.String name)Creates a new Lifeline, with the specified 'Name', and appends it to the 'Lifeline' containment reference list | 
|  Message | createMessage(java.lang.String name)Creates a new Message, with the specified 'Name', and appends it to the 'Message' containment reference list | 
|  Action | getAction(java.lang.String name)Retrieves the first Actionwith the specified 'Name' from the 'Action' containment reference list | 
|  Action | getAction(java.lang.String name,
          boolean ignoreCase,
          org.eclipse.emf.ecore.EClass eClass,
          boolean createOnDemand)Retrieves the first Actionwith the specified 'Name' from the 'Action' containment reference list | 
|  org.eclipse.emf.common.util.EList<Action> | getActions()Returns the value of the 'Action' containment reference list. | 
|  Gate | getFormalGate(java.lang.String name)Retrieves the first Gatewith the specified 'Name' from the 'Formal Gate' containment reference list | 
|  Gate | getFormalGate(java.lang.String name,
              boolean ignoreCase,
              boolean createOnDemand)Retrieves the first Gatewith the specified 'Name' from the 'Formal Gate' containment reference list | 
|  org.eclipse.emf.common.util.EList<Gate> | getFormalGates()Returns the value of the 'Formal Gate' containment reference list. | 
|  InteractionFragment | getFragment(java.lang.String name)Retrieves the first InteractionFragmentwith the specified 'Name' from the 'Fragment' containment reference list | 
|  InteractionFragment | getFragment(java.lang.String name,
            boolean ignoreCase,
            org.eclipse.emf.ecore.EClass eClass,
            boolean createOnDemand)Retrieves the first InteractionFragmentwith the specified 'Name' from the 'Fragment' containment reference list | 
|  org.eclipse.emf.common.util.EList<InteractionFragment> | getFragments()Returns the value of the 'Fragment' containment reference list. | 
|  Lifeline | getLifeline(java.lang.String name)Retrieves the first Lifelinewith the specified 'Name' from the 'Lifeline' containment reference list | 
|  Lifeline | getLifeline(java.lang.String name,
            boolean ignoreCase,
            boolean createOnDemand)Retrieves the first Lifelinewith the specified 'Name' from the 'Lifeline' containment reference list | 
|  org.eclipse.emf.common.util.EList<Lifeline> | getLifelines()Returns the value of the 'Lifeline' containment reference list. | 
|  Message | getMessage(java.lang.String name)Retrieves the first Messagewith the specified 'Name' from the 'Message' containment reference list | 
|  Message | getMessage(java.lang.String name,
           boolean ignoreCase,
           boolean createOnDemand)Retrieves the first Messagewith the specified 'Name' from the 'Message' containment reference list | 
|  org.eclipse.emf.common.util.EList<Message> | 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.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 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.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 org.eclipse.emf.common.notify.Notifier | 
|---|
| eAdapters, eDeliver, eNotify, eSetDeliver | 
| Methods inherited from interface org.eclipse.uml2.uml.Type | 
|---|
| conformsTo, createAssociation, getAssociations, getPackage, setPackage | 
| 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 org.eclipse.emf.common.notify.Notifier | 
|---|
| eAdapters, eDeliver, eNotify, eSetDeliver | 
| Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement | 
|---|
| getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter | 
| 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 org.eclipse.emf.common.notify.Notifier | 
|---|
| eAdapters, eDeliver, eNotify, eSetDeliver | 
| 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 | 
|---|
org.eclipse.emf.common.util.EList<Lifeline> getLifelines()
Lifeline.
 It is bidirectional and its opposite is 'Interaction'.
 This feature subsets the following features:
Specifies the participants in this Interaction.
UMLPackage.getInteraction_Lifeline(), 
Lifeline.getInteraction()Lifeline createLifeline(java.lang.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.getLifelines()Lifeline getLifeline(java.lang.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.getLifelines()
Lifeline getLifeline(java.lang.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.getLifelines()org.eclipse.emf.common.util.EList<InteractionFragment> getFragments()
InteractionFragment.
 It is bidirectional and its opposite is 'Enclosing Interaction'.
 This feature subsets the following features:
The ordered set of fragments in the Interaction.
UMLPackage.getInteraction_Fragment(), 
InteractionFragment.getEnclosingInteraction()
InteractionFragment createFragment(java.lang.String name,
                                   org.eclipse.emf.ecore.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.getFragments()InteractionFragment getFragment(java.lang.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.getFragments()
InteractionFragment getFragment(java.lang.String name,
                                boolean ignoreCase,
                                org.eclipse.emf.ecore.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.getFragments()org.eclipse.emf.common.util.EList<Action> getActions()
Action.
 This feature subsets the following features:
Actions owned by the Interaction.
UMLPackage.getInteraction_Action()
Action createAction(java.lang.String name,
                    org.eclipse.emf.ecore.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.getActions()Action getAction(java.lang.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.getActions()
Action getAction(java.lang.String name,
                 boolean ignoreCase,
                 org.eclipse.emf.ecore.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.getActions()org.eclipse.emf.common.util.EList<Gate> getFormalGates()
Gate.
 This feature subsets the following features:
Specifies the gates that form the message interface between this Interaction and any InteractionUses which reference it.
UMLPackage.getInteraction_FormalGate()Gate createFormalGate(java.lang.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.getFormalGates()Gate getFormalGate(java.lang.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.getFormalGates()
Gate getFormalGate(java.lang.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.getFormalGates()org.eclipse.emf.common.util.EList<Message> getMessages()
Message.
 It is bidirectional and its opposite is 'Interaction'.
 This feature subsets the following features:
The Messages contained in this Interaction.
UMLPackage.getInteraction_Message(), 
Message.getInteraction()Message createMessage(java.lang.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.getMessages()Message getMessage(java.lang.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.getMessages()
Message getMessage(java.lang.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.getMessages()| 
 | Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||