source: branches/ralph/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/IMarkingTemporalRelationship.java @ 1617

Last change on this file since 1617 was 1180, checked in by pharms, 11 years ago
  • improved java doc
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 one node in the task
20 * model. I.e., it has only one child for which it defines a special execution characteristic.
21 * </p>
22 *
23 * @author Patrick Harms
24 */
25public interface IMarkingTemporalRelationship extends ITemporalRelationship {
26
27    /**
28     * <p>
29     * returns the task for which this relationship defines the execution characteristic. The
30     * task can be seen as the child node of this node.
31     * </p>
32     *
33     * @return as described
34     */
35    public ITask getMarkedTask();
36
37    /**
38     * <p>
39     * returns an exact copy of this temporal relationship. The clone has the same id. Its child
40     * is a clone of the child of the cloned task. A call on the method {@link #equals(ITask)}
41     * with the result of this method must return true.
42     * </p>
43     *
44     * @return as described
45     */
46    public IMarkingTemporalRelationship clone();
47
48}
Note: See TracBrowser for help on using the repository browser.