org.eclipse.uml2
Interface Interaction

All Superinterfaces:
Behavior, BehavioredClassifier, Class, Classifier, Element, EModelElement, EncapsulatedClassifier, EObject, InteractionFragment, NamedElement, Namespace, Notifier, PackageableElement, ParameterableElement, RedefinableElement, StructuredClassifier, TemplateableElement, Type

public interface Interaction
extends Behavior, InteractionFragment

A representation of the model object 'Interaction'. The point is that the InteractionConstraint "received" from StructuralArchitecture will consist of a set of such units described by sequence diagrams (or collaboration diagrams).

The following features are supported:

See Also:
UML2Package.getInteraction()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Gate createFormalGate(EClass eClass)
          Creates a Gate and appends it to the 'Formal Gate' containment reference list
 InteractionFragment createFragment(EClass eClass)
          Creates a InteractionFragment and appends it to the 'Fragment' containment reference list
 Lifeline createLifeline(EClass eClass)
          Creates a Lifeline and appends it to the 'Lifeline' containment reference list
 Message createMessage(EClass eClass)
          Creates a Message and appends it to the 'Message' containment reference list
 Gate getFormalGate(String unqualifiedName)
          Retrieves the 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 unqualifiedName)
          Retrieves the 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 unqualifiedName)
          Retrieves the 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 unqualifiedName)
          Retrieves the Message with the specified name from the 'Message' containment reference list
 EList getMessages()
          Returns the value of the 'Message' containment reference list.
 EList getOwnedMembers()
           
 
Methods inherited from interface org.eclipse.uml2.Behavior
createOwnedParameterSet, createParameter, getContext, getFormalParameter, getFormalParameters, getOwnedParameterSet, getOwnedParameterSets, getOwnedRules, getParameter, getParameters, getPostcondition, getPostconditions, getPrecondition, getPreconditions, getRedefinedBehavior, getRedefinedBehaviors, getRedefinedElements, getReturnResult, getReturnResults, getSpecification, isReentrant, setContext, setIsReentrant, setSpecification
 
Methods inherited from interface org.eclipse.uml2.Class
createNestedClassifier, createOwnedOperation, createOwnedReception, getAttributes, getExtension, getExtensions, getFeatures, getGenerals, getNestedClassifier, getNestedClassifiers, getOwnedAttributes, getOwnedOperation, getOwnedOperations, getOwnedReception, getOwnedReceptions, getSuperClass, getSuperClasses, inherit, isAbstract, isActive, isMetaclass, setIsAbstract, setIsActive
 
Methods inherited from interface org.eclipse.uml2.BehavioredClassifier
createImplementation, createOwnedBehavior, createOwnedStateMachine, createOwnedTrigger, getClassifierBehavior, getClientDependencies, getImplementation, getImplementations, getImplementedInterfaces, getOwnedBehavior, getOwnedBehaviors, getOwnedElements, getOwnedStateMachine, getOwnedStateMachines, getOwnedTrigger, getOwnedTriggers, setClassifierBehavior
 
Methods inherited from interface org.eclipse.uml2.Classifier
allFeatures, allParents, conformsTo, createGeneralization, createGeneralization, createOccurrence, createOwnedUseCase, createSubstitution, general, getAttribute, getFeature, getGeneral, getGeneralizations, getInheritedMember, getInheritedMembers, getMembers, getOccurrence, getOccurrences, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifiers, getRepresentation, getSubstitution, getSubstitutions, getUseCase, getUseCases, getUsedInterfaces, hasVisibilityOf, inheritableMembers, inheritedMember, maySpecializeType, parents, setRepresentation, validateGeneralEqualsParents, validateInheritedMember, validateNoCyclesInGeneralization, validateSpecializeType
 
Methods inherited from interface org.eclipse.uml2.Namespace
createElementImport, createOwnedRule, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getNamesOfMember, getOwnedRule, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependency, getName, getNameExpression, getNamespace, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, 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, 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.Type
conformsTo, createAssociation, getNamespace, getPackage
 
Methods inherited from interface org.eclipse.uml2.PackageableElement
getPackageableElement_visibility, getVisibility, setPackageableElement_visibility, setVisibility
 
Methods inherited from interface org.eclipse.uml2.ParameterableElement
getOwner, getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter
 
Methods inherited from interface org.eclipse.uml2.RedefinableElement
getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
 
Methods inherited from interface org.eclipse.uml2.EncapsulatedClassifier
createOwnedPort, getOwnedPort, getOwnedPorts
 
Methods inherited from interface org.eclipse.uml2.StructuredClassifier
createOwnedAttribute, createOwnedConnector, getMembers, getOwnedAttribute, getOwnedConnector, getOwnedConnectors, getPart, getParts, getRole, getRoles
 
Methods inherited from interface org.eclipse.uml2.InteractionFragment
createGeneralOrdering, getCovered, getCovereds, getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, getGeneralOrderings, getNamespace, getOwnedElements, setEnclosingInteraction, setEnclosingOperand
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getLifelines

public EList getLifelines()
Returns the value of the 'Lifeline' containment reference list. The list contents are of type Lifeline. It is bidirectional and its opposite is 'Interaction'.

If the meaning of the 'Lifeline' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Lifeline' containment reference list.
See Also:
UML2Package.getInteraction_Lifeline(), Lifeline.getInteraction()

getLifeline

public Lifeline getLifeline(String unqualifiedName)
Retrieves the Lifeline with the specified name from the 'Lifeline' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the Lifeline to retrieve.
Returns:
The Lifeline with the specified name, or null.
See Also:
getLifelines()

createLifeline

public Lifeline createLifeline(EClass eClass)
Creates a Lifeline and appends it to the 'Lifeline' containment reference list.

Parameters:
eClass - The Ecore class of the Lifeline to create.
Returns:
The new Lifeline.
See Also:
getLifelines()

getMessages

public EList getMessages()
Returns the value of the 'Message' containment reference list. The list contents are of type Message. It is bidirectional and its opposite is 'Interaction'.

If the meaning of the 'Message' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Message' containment reference list.
See Also:
UML2Package.getInteraction_Message(), Message.getInteraction()

getMessage

public Message getMessage(String unqualifiedName)
Retrieves the Message with the specified name from the 'Message' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the Message to retrieve.
Returns:
The Message with the specified name, or null.
See Also:
getMessages()

createMessage

public Message createMessage(EClass eClass)
Creates a Message and appends it to the 'Message' containment reference list.

Parameters:
eClass - The Ecore class of the Message to create.
Returns:
The new Message.
See Also:
getMessages()

getFragments

public EList getFragments()
Returns the value of the 'Fragment' containment reference list. The list contents are of type InteractionFragment. It is bidirectional and its opposite is 'Enclosing Interaction'.

If the meaning of the 'Fragment' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Fragment' containment reference list.
See Also:
UML2Package.getInteraction_Fragment(), InteractionFragment.getEnclosingInteraction()

getFragment

public InteractionFragment getFragment(String unqualifiedName)
Retrieves the InteractionFragment with the specified name from the 'Fragment' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the InteractionFragment to retrieve.
Returns:
The InteractionFragment with the specified name, or null.
See Also:
getFragments()

createFragment

public InteractionFragment createFragment(EClass eClass)
Creates a InteractionFragment and appends it to the 'Fragment' containment reference list.

Parameters:
eClass - The Ecore class of the InteractionFragment to create.
Returns:
The new InteractionFragment.
See Also:
getFragments()

getFormalGates

public EList getFormalGates()
Returns the value of the 'Formal Gate' containment reference list. The list contents are of type Gate.

If the meaning of the 'Formal Gate' containment reference list isn't clear, there really should be more of a description here...

Specifies the gates that form the message interface between this Interaction and any InteractionOccurrences which reference it.

Returns:
the value of the 'Formal Gate' containment reference list.
See Also:
UML2Package.getInteraction_FormalGate()

getFormalGate

public Gate getFormalGate(String unqualifiedName)
Retrieves the Gate with the specified name from the 'Formal Gate' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the Gate to retrieve.
Returns:
The Gate with the specified name, or null.
See Also:
getFormalGates()

createFormalGate

public Gate createFormalGate(EClass eClass)
Creates a Gate and appends it to the 'Formal Gate' containment reference list.

Parameters:
eClass - The Ecore class of the Gate to create.
Returns:
The new Gate.
See Also:
getFormalGates()

getOwnedMembers

public EList getOwnedMembers()

Specified by:
getOwnedMembers in interface Behavior

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.