org.eclipse.uml2
Interface CombinedFragment

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

public interface CombinedFragment
extends InteractionFragment

A representation of the model object 'Combined Fragment'. A combined fragment defines an expression of interaction fragments. A combined fragment is defined by an interaction operator and corresponding interaction operands. Through the use of CombinedFragments the user will be able to describe a number of traces in a compact and concise manner. CombinedFragment is a specialization of InteractionFragment.

The following features are supported:

See Also:
UML2Package.getCombinedFragment()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Gate createCfragmentGate(EClass eClass)
          Creates a Gate and appends it to the 'Cfragment Gate' containment reference list
 InteractionOperand createOperand(EClass eClass)
          Creates a InteractionOperand and appends it to the 'Operand' containment reference list
 Gate getCfragmentGate(String unqualifiedName)
          Retrieves the Gate with the specified name from the 'Cfragment Gate' containment reference list
 EList getCfragmentGates()
          Returns the value of the 'Cfragment Gate' containment reference list.
 InteractionOperator getInteractionOperator()
          Returns the value of the 'Interaction Operator' attribute.
 InteractionOperand getOperand(String unqualifiedName)
          Retrieves the InteractionOperand with the specified name from the 'Operand' containment reference list
 EList getOperands()
          Returns the value of the 'Operand' containment reference list.
 EList getOwnedElements()
           
 void setInteractionOperator(InteractionOperator value)
          Sets the value of the 'Interaction Operator' attribute
 
Methods inherited from interface org.eclipse.uml2.InteractionFragment
createGeneralOrdering, getCovered, getCovereds, getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, getGeneralOrderings, getNamespace, setEnclosingInteraction, setEnclosingOperand
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, 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
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getInteractionOperator

public InteractionOperator getInteractionOperator()
Returns the value of the 'Interaction Operator' attribute. The literals are from the enumeration InteractionOperator.

If the meaning of the 'Interaction Operator' attribute isn't clear, there really should be more of a description here...

Specifies the operation which defines the semantics of this combination of InteractionFragments.

Returns:
the value of the 'Interaction Operator' attribute.
See Also:
InteractionOperator, setInteractionOperator(InteractionOperator), UML2Package.getCombinedFragment_InteractionOperator()

setInteractionOperator

public void setInteractionOperator(InteractionOperator value)
Sets the value of the 'Interaction Operator' attribute.

Parameters:
value - the new value of the 'Interaction Operator' attribute.
See Also:
InteractionOperator, getInteractionOperator()

getOperands

public EList getOperands()
Returns the value of the 'Operand' containment reference list. The list contents are of type InteractionOperand.

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

set of operands of the combined fragment.

Returns:
the value of the 'Operand' containment reference list.
See Also:
UML2Package.getCombinedFragment_Operand()

getOperand

public InteractionOperand getOperand(String unqualifiedName)
Retrieves the InteractionOperand with the specified name from the 'Operand' containment reference list.

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

createOperand

public InteractionOperand createOperand(EClass eClass)
Creates a InteractionOperand and appends it to the 'Operand' containment reference list.

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

getCfragmentGates

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

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

Specifies the gates that form the interface between this CombinedFragment and its surroundings

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

getCfragmentGate

public Gate getCfragmentGate(String unqualifiedName)
Retrieves the Gate with the specified name from the 'Cfragment 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:
getCfragmentGates()

createCfragmentGate

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

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

getOwnedElements

public EList getOwnedElements()

Specified by:
getOwnedElements in interface InteractionFragment

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