blob: 23a057619778384e6aeaa78c747df8d0f1cd2f65 (
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
/*
* 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: TimeEvent.java,v 1.1 2005/11/14 22:25:59 khussey Exp $
*/
package org.eclipse.uml2.uml;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.ecore.EClass;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Time Event</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A time event specifies a point in time by an expression. The expression might be absolute or might be relative to some other point in time.
* Extends TimeEvent to be defined relative to entering the current state of the executing state machine.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.uml.TimeEvent#isRelative <em>Is Relative</em>}</li>
* <li>{@link org.eclipse.uml2.uml.TimeEvent#getWhen <em>When</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.uml.UMLPackage#getTimeEvent()
* @model
* @generated
*/
public interface TimeEvent
extends Event {
/**
* Returns the value of the '<em><b>Is Relative</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Specifies whether it is relative or absolute time.
* <!-- end-model-doc -->
* @return the value of the '<em>Is Relative</em>' attribute.
* @see #setIsRelative(boolean)
* @see org.eclipse.uml2.uml.UMLPackage#getTimeEvent_IsRelative()
* @model required="true" ordered="false"
* @generated
*/
boolean isRelative();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.TimeEvent#isRelative <em>Is Relative</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Relative</em>' attribute.
* @see #isRelative()
* @generated
*/
void setIsRelative(boolean value);
/**
* Returns the value of the '<em><b>When</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Specifies the corresponding time deadline.
* <!-- end-model-doc -->
* @return the value of the '<em>When</em>' containment reference.
* @see #setWhen(ValueSpecification)
* @see org.eclipse.uml2.uml.UMLPackage#getTimeEvent_When()
* @model containment="true" resolveProxies="false" required="true" ordered="false"
* @generated
*/
ValueSpecification getWhen();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.TimeEvent#getWhen <em>When</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>When</em>' containment reference.
* @see #getWhen()
* @generated
*/
void setWhen(ValueSpecification value);
/**
* Creates a {@link org.eclipse.uml2.uml.ValueSpecification} and sets the '<em><b>When</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 #getWhen()
* @generated
*/
ValueSpecification createWhen(EClass eClass);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The starting time for a relative time event may only be omitted for a time event that is the trigger of a state machine.
* true
* <!-- end-model-doc -->
* @model
* @generated
*/
boolean validateStartingTime(DiagnosticChain diagnostics, Map context);
} // TimeEvent
|