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 | |
---|
15 | package de.ugoe.cs.autoquest.tasktrees.treeifc; |
---|
16 | |
---|
17 | /** |
---|
18 | * <p> |
---|
19 | * A temporal relationship is a node in a task model which is no leaf node. They |
---|
20 | * are used to structure the tasks in a task model into useful orders. A |
---|
21 | * temporal relationship defines through its type how its children can be |
---|
22 | * executed to fulfill the task they represent themselves. E.g., the task of |
---|
23 | * filling out a form can be subdivided into several subtasks for filling out |
---|
24 | * the different elements of the. The task itself will define the order, in |
---|
25 | * which the fill out process can and must be done. |
---|
26 | * </p> |
---|
27 | * |
---|
28 | * @author Patrick Harms |
---|
29 | */ |
---|
30 | public interface ITemporalRelationship extends ITask { |
---|
31 | |
---|
32 | /** |
---|
33 | * <p> |
---|
34 | * returns an exact copy of this temporal relationship. The clone has the |
---|
35 | * same id. Its children are clones of the children of the cloned task. A |
---|
36 | * call on the method {@link #equals(ITask)} with the result of this method |
---|
37 | * must return true. |
---|
38 | * </p> |
---|
39 | * |
---|
40 | * @return as described |
---|
41 | */ |
---|
42 | @Override |
---|
43 | public ITemporalRelationship clone(); |
---|
44 | |
---|
45 | } |
---|