source: branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/IStructuringTemporalRelationship.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.5 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
17import java.util.List;
18
19/**
20 * <p>
21 * A structuring temporal relationship defines a temporal information for
22 * several nodes in the task model. I.e., it has several children and defines an
23 * execution order for them.
24 * </p>
25 *
26 * @author Patrick Harms
27 */
28public interface IStructuringTemporalRelationship extends ITemporalRelationship {
29
30        /**
31         * <p>
32         * returns an exact copy of this temporal relationship. The clone has the
33         * same id. Its children are clones of the children of the cloned task. A
34         * call on the method {@link #equals(ITask)} with the result of this method
35         * must return true.
36         * </p>
37         *
38         * @return as described
39         */
40        @Override
41        public IStructuringTemporalRelationship clone();
42
43        /**
44         * <p>
45         * returns the children of this temporal relationship.
46         * </p>
47         *
48         * @return as described
49         */
50        public List<ITask> getChildren();
51
52}
Note: See TracBrowser for help on using the repository browser.