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 java.lang.String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Gate createCfragmentGate()
          Creates a Gate and appends it to the 'Cfragment Gate' containment reference list
 Gate createCfragmentGate(EClass eClass)
          Deprecated. Use #createCfragmentGate() instead.
 InteractionOperand createOperand()
          Creates a InteractionOperand and appends it to the 'Operand' containment reference list
 InteractionOperand createOperand(EClass eClass)
          Deprecated. Use #createOperand() instead.
 Gate getCfragmentGate(java.lang.String name)
          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(java.lang.String name)
          Retrieves the InteractionOperand with the specified 'Name' from the 'Operand' containment reference list
 EList getOperands()
          Returns the value of the 'Operand' containment reference list.
 void setInteractionOperator(InteractionOperator value)
          Sets the value of the 'Interaction Operator' attribute
 
Methods inherited from interface org.eclipse.uml2.InteractionFragment
createGeneralOrdering, createGeneralOrdering, getCovered, getCovereds, getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, getGeneralOrderings, setEnclosingInteraction, setEnclosingOperand
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createDependency, createNameExpression, createNameExpression, getClientDependencies, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, 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 java.lang.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(java.lang.String name)
Retrieves the InteractionOperand with the specified 'Name' from the 'Operand' containment reference list.

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

createOperand

public InteractionOperand createOperand(EClass eClass)
Deprecated. Use #createOperand() instead.

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

createOperand

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

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(java.lang.String name)
Retrieves the Gate with the specified 'Name' from the 'Cfragment Gate' containment reference list.

Parameters:
name - The 'Name' of the Gate to retrieve.
Returns:
The Gate with the specified 'Name', or null.
See Also:
getCfragmentGates()

createCfragmentGate

public Gate createCfragmentGate(EClass eClass)
Deprecated. Use #createCfragmentGate() instead.

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

createCfragmentGate

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

Returns:
The new Gate.
See Also:
getCfragmentGates()

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