source: trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeimpl/Sequence.java @ 1167

Last change on this file since 1167 was 1157, checked in by adeicke, 11 years ago

Added Visitor pattern for tasks.

  • Property svn:executable set to *
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.treeimpl;
16
17import de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence;
18import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskVisitor;
19
20/**
21 * TODO comment
22 *
23 * @version $Revision: $ $Date: 19.02.2012$
24 * @author 2012, last modified by $Author: patrick$
25 */
26class Sequence extends StructuringTemporalRelationship implements ISequence {
27   
28    /**  */
29    private static final long serialVersionUID = 1L;
30
31    /**
32     * TODO: comment
33     *
34     * @param name
35     */
36    Sequence() {
37        super("sequence");
38    }
39
40    /*
41     * (non-Javadoc)
42     *
43     * @see de.ugoe.cs.tasktree.treeimpl.TaskTreeNodeImpl#clone()
44     */
45    @Override
46    public Sequence clone() {
47        return (Sequence) super.clone();
48    }
49   
50    /* (non-Javadoc)
51     * @see de.ugoe.cs.autoquest.tasktrees.treeimpl.TaskTreeNode#accept(de.ugoe.cs.autoquest.tasktrees.treeifc.NodeVisitor)
52     */
53    @Override
54    public void accept(ITaskVisitor visitor) {
55        visitor.visit(this);
56    }
57
58}
Note: See TracBrowser for help on using the repository browser.