[1146] | 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> |
---|
[1180] | 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. |
---|
[1146] | 21 | * </p> |
---|
| 22 | * |
---|
| 23 | * @author Patrick Harms |
---|
| 24 | */ |
---|
| 25 | public interface IMarkingTemporalRelationship extends ITemporalRelationship { |
---|
| 26 | |
---|
| 27 | /** |
---|
[1180] | 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 |
---|
[1146] | 34 | */ |
---|
| 35 | public ITask getMarkedTask(); |
---|
| 36 | |
---|
| 37 | /** |
---|
[1180] | 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 |
---|
[1146] | 45 | */ |
---|
| 46 | public IMarkingTemporalRelationship clone(); |
---|
| 47 | |
---|
| 48 | } |
---|