org.eclipse.uml2.uml.ChangeEvent Maven / Gradle / Ivy
/*
* Copyright (c) 2005, 2007 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.7 2007/10/23 16:12:32 jbruck Exp $
*/
package org.eclipse.uml2.uml;
import org.eclipse.emf.ecore.EClass;
/**
*
* A representation of the model object 'Change Event'.
*
*
*
* A change event models a change in the system configuration that makes a condition true.
*
*
*
* The following features are supported:
*
* - {@link org.eclipse.uml2.uml.ChangeEvent#getChangeExpression Change Expression}
*
*
*
* @see org.eclipse.uml2.uml.UMLPackage#getChangeEvent()
* @model
* @generated
*/
public interface ChangeEvent
extends Event {
/**
* Returns the value of the 'Change Expression' containment reference.
*
* This feature subsets the following features:
*
* - '{@link org.eclipse.uml2.uml.Element#getOwnedElements() Owned Element}'
*
*
*
*
*
* A Boolean-valued expression that will result in a change event whenever its value changes from false to true.
*
* @return the value of the 'Change Expression' containment reference.
* @see #setChangeExpression(ValueSpecification)
* @see org.eclipse.uml2.uml.UMLPackage#getChangeEvent_ChangeExpression()
* @model containment="true" resolveProxies="true" required="true" ordered="false"
* @generated
*/
ValueSpecification getChangeExpression();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.ChangeEvent#getChangeExpression Change Expression}' containment reference.
*
*
* @param value the new value of the 'Change Expression' containment reference.
* @see #getChangeExpression()
* @generated
*/
void setChangeExpression(ValueSpecification value);
/**
* Creates a new {@link org.eclipse.uml2.uml.ValueSpecification}, with the specified 'Name', and 'Type', and sets the 'Change Expression' containment reference.
*
*
* @param name The 'Name' for the new {@link org.eclipse.uml2.uml.ValueSpecification}, or null
.
* @param type The 'Type' for the new {@link org.eclipse.uml2.uml.ValueSpecification}, or null
.
* @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(String name, Type type,
EClass eClass);
} // ChangeEvent
© 2015 - 2025 Weber Informatics LLC | Privacy Policy