source: branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/IMarkingTemporalRelationship.java @ 1733

Last change on this file since 1733 was 1733, checked in by rkrimmel, 10 years ago

Used Eclipse code cleanup

File size: 1.6 KB
Line 
1//   Copyright 2012 Georg-August-Universität Göttingen, Germany
2//
3//   Licensed under the Apache License, Version 2.0 (the "License");
4//   you may not use this file except in compliance with the License.
5//   You may obtain a copy of the License at
6//
7//       http://www.apache.org/licenses/LICENSE-2.0
8//
9//   Unless required by applicable law or agreed to in writing, software
10//   distributed under the License is distributed on an "AS IS" BASIS,
11//   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//   See the License for the specific language governing permissions and
13//   limitations under the License.
14
15package de.ugoe.cs.autoquest.tasktrees.treeifc;
16
17/**
18 * <p>
19 * A marking temporal relationship defines a temporal information for exactly
20 * one node in the task model. I.e., it has only one child for which it defines
21 * a special execution characteristic.
22 * </p>
23 *
24 * @author Patrick Harms
25 */
26public interface IMarkingTemporalRelationship extends ITemporalRelationship {
27
28        /**
29         * <p>
30         * returns an exact copy of this temporal relationship. The clone has the
31         * same id. Its child is a clone of the child of the cloned task. A call on
32         * the method {@link #equals(ITask)} with the result of this method must
33         * return true.
34         * </p>
35         *
36         * @return as described
37         */
38        @Override
39        public IMarkingTemporalRelationship clone();
40
41        /**
42         * <p>
43         * returns the task for which this relationship defines the execution
44         * characteristic. The task can be seen as the child node of this node.
45         * </p>
46         *
47         * @return as described
48         */
49        public ITask getMarkedTask();
50
51}
Note: See TracBrowser for help on using the repository browser.