org.eclipse.uml2
Interface InteractionConstraint

All Superinterfaces:
Constraint, Element, EModelElement, EObject, NamedElement, Notifier, PackageableElement, ParameterableElement, TemplateableElement

public interface InteractionConstraint
extends Constraint

A representation of the model object 'Interaction Constraint'. An InteractionConstraint is a boolean expression that guards an operand in a CombinedFragment. InteractionConstraint is a specialization of Constraint. Furthermore the InteractionConstraint contains two expressions designating the minimum and maximum number of times a loop CombinedFragment should execute.

The following features are supported:

See Also:
UML2Package.getInteractionConstraint()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 ValueSpecification createMaxint(EClass eClass)
          Creates a ValueSpecification and sets the 'Maxint' containment reference
 ValueSpecification createMinint(EClass eClass)
          Creates a ValueSpecification and sets the 'Minint' containment reference
 ValueSpecification getMaxint()
          Returns the value of the 'Maxint' containment reference
 ValueSpecification getMinint()
          Returns the value of the 'Minint' containment reference
 EList getOwnedElements()
           
 void setMaxint(ValueSpecification value)
          Sets the value of the 'Maxint' containment reference
 void setMinint(ValueSpecification value)
          Sets the value of the 'Minint' containment reference
 
Methods inherited from interface org.eclipse.uml2.Constraint
createSpecification, getConstrainedElements, getContext, getNamespace, getSpecification, setNamespace, setSpecification, validateNotApplyToSelf
 
Methods inherited from interface org.eclipse.uml2.PackageableElement
getPackageableElement_visibility, getVisibility, setPackageableElement_visibility, setVisibility
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getOwner, getQualifiedName, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, 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.ParameterableElement
getOwner, getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getMinint

public ValueSpecification getMinint()
Returns the value of the 'Minint' containment reference.

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

minimum number of iterations of a loop

Returns:
the value of the 'Minint' containment reference.
See Also:
setMinint(ValueSpecification), UML2Package.getInteractionConstraint_Minint()

setMinint

public void setMinint(ValueSpecification value)
Sets the value of the 'Minint' containment reference.

Parameters:
value - the new value of the 'Minint' containment reference.
See Also:
getMinint()

createMinint

public ValueSpecification createMinint(EClass eClass)
Creates a ValueSpecification and sets the 'Minint' containment reference.

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

getMaxint

public ValueSpecification getMaxint()
Returns the value of the 'Maxint' containment reference.

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

maximum number of iterations of a loop

Returns:
the value of the 'Maxint' containment reference.
See Also:
setMaxint(ValueSpecification), UML2Package.getInteractionConstraint_Maxint()

setMaxint

public void setMaxint(ValueSpecification value)
Sets the value of the 'Maxint' containment reference.

Parameters:
value - the new value of the 'Maxint' containment reference.
See Also:
getMaxint()

createMaxint

public ValueSpecification createMaxint(EClass eClass)
Creates a ValueSpecification and sets the 'Maxint' containment reference.

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

getOwnedElements

public EList getOwnedElements()

Specified by:
getOwnedElements in interface Constraint

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