blob: c4f794e8406d86f0f530576840bf8bd61af5a720 [file] [log] [blame]
/*
* Copyright (c) 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - initial API and implementation
*
* $Id: ChangeEvent.java,v 1.1 2005/11/14 22:26:01 khussey Exp $
*/
package org.eclipse.uml2.uml;
import org.eclipse.emf.ecore.EClass;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Change Event</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A change event occurs when a Boolean-valued expression becomes true, for example, as a result of a change in the value held in a slot corresponding to an attribute, or a change in the value referenced by a link corresponding to an association. A change event is raised implicitly and is not the result of an explicit action.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.uml.ChangeEvent#getChangeExpression <em>Change Expression</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.uml.UMLPackage#getChangeEvent()
* @model
* @generated
*/
public interface ChangeEvent
extends Event {
/**
* Returns the value of the '<em><b>Change Expression</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A Boolean-valued expression that will result in a change event whenever its value changes from false to true.
* <!-- end-model-doc -->
* @return the value of the '<em>Change Expression</em>' containment reference.
* @see #setChangeExpression(ValueSpecification)
* @see org.eclipse.uml2.uml.UMLPackage#getChangeEvent_ChangeExpression()
* @model containment="true" resolveProxies="false" required="true" ordered="false"
* @generated
*/
ValueSpecification getChangeExpression();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.ChangeEvent#getChangeExpression <em>Change Expression</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Change Expression</em>' containment reference.
* @see #getChangeExpression()
* @generated
*/
void setChangeExpression(ValueSpecification value);
/**
* Creates a {@link org.eclipse.uml2.uml.ValueSpecification} and sets the '<em><b>Change Expression</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.ValueSpecification} to create.
* @return The new {@link org.eclipse.uml2.uml.ValueSpecification}.
* @see #getChangeExpression()
* @generated
*/
ValueSpecification createChangeExpression(EClass eClass);
} // ChangeEvent