blob: 9361da37440ce9b15d405fb53f3202ee8aa198ae [file] [log] [blame]
/*
* Copyright (c) 2003, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
*
* $Id: DurationObservationAction.java,v 1.4 2004/06/06 01:35:03 khussey Exp $
*/
package org.eclipse.uml2;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Duration Observation Action</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A DurationObservationAction defines an action that observes duration in time.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.DurationObservationAction#getDurations <em>Duration</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.UML2Package#getDurationObservationAction()
* @model
* @generated
*/
public interface DurationObservationAction extends WriteStructuralFeatureAction{
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String copyright = "Copyright (c) 2003, 2004 IBM Corporation and others."; //$NON-NLS-1$
/**
* Returns the value of the '<em><b>Duration</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.uml2.Duration}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Duration</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* represent the measured Duration
* <!-- end-model-doc -->
* @return the value of the '<em>Duration</em>' containment reference list.
* @see org.eclipse.uml2.UML2Package#getDurationObservationAction_Duration()
* @model type="org.eclipse.uml2.Duration" containment="true"
* @generated
*/
EList getDurations();
/**
* Retrieves the {@link org.eclipse.uml2.Duration} with the specified name from the '<em><b>Duration</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param unqualifiedName The unqualified name of the {@link org.eclipse.uml2.Duration} to retrieve.
* @return The {@link org.eclipse.uml2.Duration} with the specified name, or <code>null</code>.
* @see #getDurations()
* @generated
*/
Duration getDuration(String unqualifiedName);
/**
* Creates a {@link org.eclipse.uml2.Duration} and appends it to the '<em><b>Duration</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param eClass The Ecore class of the {@link org.eclipse.uml2.Duration} to create.
* @return The new {@link org.eclipse.uml2.Duration}.
* @see #getDurations()
* @generated
*/
Duration createDuration(EClass eClass);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model parameters=""
* @generated
*/
InputPin getValue();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model
* @generated
*/
void setValue(InputPin value);
} // DurationObservationAction