org.eclipse.uml2
Interface ChangeTrigger

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

public interface ChangeTrigger
extends Trigger

A representation of the model object 'Change Trigger'. A change trigger specifies an event that occurs when a Boolean-valued expression becomes true as a result of a change in value of one or more attributes or associations. A change event is raised implicitly and is not the result of an explicit action.

The following features are supported:

See Also:
UML2Package.getChangeTrigger()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 ValueSpecification createChangeExpression(EClass eClass)
          Creates a ValueSpecification and sets the 'Change Expression' containment reference
 ValueSpecification getChangeExpression()
          Returns the value of the 'Change Expression' containment reference
 EList getOwnedElements()
           
 void setChangeExpression(ValueSpecification value)
          Sets the value of the 'Change Expression' containment reference
 
Methods inherited from interface org.eclipse.uml2.Trigger
getPort, getPorts
 
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
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getChangeExpression

public ValueSpecification getChangeExpression()
Returns the value of the 'Change Expression' containment reference.

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

A Boolean-valued expression that will result in a change event whenever its value changes from false to true.

Returns:
the value of the 'Change Expression' containment reference.
See Also:
setChangeExpression(ValueSpecification), UML2Package.getChangeTrigger_ChangeExpression()

setChangeExpression

public void setChangeExpression(ValueSpecification value)
Sets the value of the 'Change Expression' containment reference.

Parameters:
value - the new value of the 'Change Expression' containment reference.
See Also:
getChangeExpression()

createChangeExpression

public ValueSpecification createChangeExpression(EClass eClass)
Creates a ValueSpecification and sets the 'Change Expression' containment reference.

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

getOwnedElements

public EList getOwnedElements()

Specified by:
getOwnedElements in interface NamedElement

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