org.eclipse.uml2
Interface InteractionOperand

All Superinterfaces:
Element, EModelElement, EObject, InteractionFragment, NamedElement, Namespace, Notifier, TemplateableElement

public interface InteractionOperand
extends Namespace, InteractionFragment

A representation of the model object 'Interaction Operand'. An InteractionOperand is contained in a CombinedFragment. An InteractionOperand represent one operand of the expression given by the enclosing CombinedFragment. An InteractionOperand is an InteractionFragment with an optional guard expression. An InteractionOperand may be guarded by a InteractionConstraint. Only InteractionOperands with a guard that evaluates to true at this point in the interaction will be considered for the production of the traces for the enclosing CombinedFragment. InteractionOperand contains an ordered set of InteractionFragments.

The following features are supported:

See Also:
UML2Package.getInteractionOperand()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 InteractionFragment createFragment(EClass eClass)
          Creates a InteractionFragment and appends it to the 'Fragment' containment reference list
 InteractionConstraint createGuard(EClass eClass)
          Creates a InteractionConstraint and sets the 'Guard' containment reference
 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.
 InteractionConstraint getGuard()
          Returns the value of the 'Guard' containment reference
 EList getOwnedElements()
           
 void setGuard(InteractionConstraint value)
          Sets the value of the 'Guard' containment reference
 
Methods inherited from interface org.eclipse.uml2.Namespace
createElementImport, createOwnedRule, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMembers, getNamesOfMember, getOwnedMembers, getOwnedRule, getOwnedRules, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, 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.InteractionFragment
createGeneralOrdering, getCovered, getCovereds, getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, getGeneralOrderings, getNamespace, setEnclosingInteraction, setEnclosingOperand
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getGuard

public InteractionConstraint getGuard()
Returns the value of the 'Guard' containment reference.

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

of the operand

Returns:
the value of the 'Guard' containment reference.
See Also:
setGuard(InteractionConstraint), UML2Package.getInteractionOperand_Guard()

setGuard

public void setGuard(InteractionConstraint value)
Sets the value of the 'Guard' containment reference.

Parameters:
value - the new value of the 'Guard' containment reference.
See Also:
getGuard()

createGuard

public InteractionConstraint createGuard(EClass eClass)
Creates a InteractionConstraint and sets the 'Guard' containment reference.

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

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 Operand'.

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

fragments of the operand.

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

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()

getOwnedElements

public EList getOwnedElements()

Specified by:
getOwnedElements in interface Namespace

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