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.usability.util;
|
---|
16 |
|
---|
17 | import java.util.Collections;
|
---|
18 | import java.util.List;
|
---|
19 |
|
---|
20 | import org.apache.commons.lang.StringUtils;
|
---|
21 |
|
---|
22 | import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask;
|
---|
23 |
|
---|
24 | /**
|
---|
25 | * <p>
|
---|
26 | * TODO comment
|
---|
27 | * </p>
|
---|
28 | *
|
---|
29 | * @author Alexander Deicke
|
---|
30 | */
|
---|
31 | public class NullNode implements ITask {
|
---|
32 |
|
---|
33 | /* (non-Javadoc)
|
---|
34 | * @see de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskTreeNode#getName()
|
---|
35 | */
|
---|
36 | public String getName() {
|
---|
37 | return StringUtils.EMPTY;
|
---|
38 | }
|
---|
39 |
|
---|
40 | /* (non-Javadoc)
|
---|
41 | * @see de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskTreeNode#getDescription()
|
---|
42 | */
|
---|
43 | public String getDescription() {
|
---|
44 | return StringUtils.EMPTY;
|
---|
45 | }
|
---|
46 |
|
---|
47 | /* (non-Javadoc)
|
---|
48 | * @see de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskTreeNode#equals(de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskTreeNode)
|
---|
49 | */
|
---|
50 | public boolean equals(ITask task) {
|
---|
51 | return false;
|
---|
52 | }
|
---|
53 |
|
---|
54 | /* (non-Javadoc)
|
---|
55 | * @see java.lang.Object#clone()
|
---|
56 | */
|
---|
57 | @Override
|
---|
58 | public NullNode clone() {
|
---|
59 | return (NullNode) this;
|
---|
60 | }
|
---|
61 |
|
---|
62 | /* (non-Javadoc)
|
---|
63 | * @see de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskTreeNode#accept(de.ugoe.cs.autoquest.tasktrees.treeifc.NodeVisitor)
|
---|
64 | */
|
---|
65 | public void accept(NodeVisitor visitor) {
|
---|
66 |
|
---|
67 | }
|
---|
68 |
|
---|
69 | }
|
---|
70 |
|
---|