Skip to main content
summaryrefslogtreecommitdiffstats
blob: b3718f37db8bb171603e9e660638c4ea844223c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/*
 * 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: TimeObservationAction.java,v 1.1 2005/11/14 22:26:01 khussey Exp $
 */
package org.eclipse.uml2.uml;

import java.util.Map;

import org.eclipse.emf.common.util.DiagnosticChain;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Time Observation Action</b></em>'.
 * <!-- end-user-doc -->
 *
 * <!-- begin-model-doc -->
 * A TimeObservationAction defines an action that observes the current point in time and writes this value to a structural feature.
 * <!-- end-model-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.eclipse.uml2.uml.TimeObservationAction#getNow <em>Now</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.eclipse.uml2.uml.UMLPackage#getTimeObservationAction()
 * @model
 * @generated
 */
public interface TimeObservationAction
		extends WriteStructuralFeatureAction {

	/**
	 * Returns the value of the '<em><b>Now</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * <!-- begin-model-doc -->
	 * Represents the current point in time and the value which is observed given by the keyword now.
	 * <!-- end-model-doc -->
	 * @return the value of the '<em>Now</em>' reference.
	 * @see #setNow(TimeExpression)
	 * @see org.eclipse.uml2.uml.UMLPackage#getTimeObservationAction_Now()
	 * @model resolveProxies="false" required="true" transient="true" volatile="true" derived="true" ordered="false"
	 * @generated
	 */
	TimeExpression getNow();

	/**
	 * Sets the value of the '{@link org.eclipse.uml2.uml.TimeObservationAction#getNow <em>Now</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Now</em>' reference.
	 * @see #getNow()
	 * @generated
	 */
	void setNow(TimeExpression value);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * <!-- begin-model-doc -->
	 * The value of a TimeObservationAction’s input must be a TimeExpression.
	 * self.value.value.oclIsKindOf(TimeExpression)
	 * <!-- end-model-doc -->
	 * @model
	 * @generated
	 */
	boolean validateInputValueTimeExpression(DiagnosticChain diagnostics,
			Map context);

} // TimeObservationAction

Back to the top