source: trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees/temporalrelation/RuleApplicationResult.java @ 655

Last change on this file since 655 was 655, checked in by pharms, 12 years ago
  • removed old copyright file header
  • Property svn:executable set to *
File size: 1.3 KB
Line 
1package de.ugoe.cs.quest.tasktrees.temporalrelation;
2
3import java.util.ArrayList;
4import java.util.List;
5
6import de.ugoe.cs.quest.tasktrees.treeifc.ITaskTreeNode;
7
8/**
9 * TODO comment
10 *
11 * @version $Revision: $ $Date: 18.03.2012$
12 * @author 2012, last modified by $Author: patrick$
13 */
14public class RuleApplicationResult {
15
16    /** */
17    private RuleApplicationStatus status = RuleApplicationStatus.RULE_NOT_APPLIED;
18
19    /** */
20    private List<ITaskTreeNode> newParents = new ArrayList<ITaskTreeNode>();
21
22    /**
23     * TODO: comment
24     *
25     * @param b
26     */
27    public RuleApplicationResult() {
28        // this is the default indicating nothing so far
29    }
30
31    /**
32     * TODO: comment
33     *
34     * @param b
35     */
36    public void setRuleApplicationStatus(RuleApplicationStatus status) {
37        this.status = status;
38    }
39
40    /**
41     * TODO: comment
42     *
43     * @return
44     */
45    public RuleApplicationStatus getRuleApplicationStatus() {
46        return status;
47    }
48
49    /**
50     * TODO: comment
51     *
52     * @param sequence
53     */
54    public void addNewlyCreatedParentNode(ITaskTreeNode newParent) {
55        newParents.add(newParent);
56    }
57
58    /**
59     * TODO: comment
60     *
61     * @return
62     */
63    public List<ITaskTreeNode> getNewlyCreatedParentNodes() {
64        return newParents;
65    }
66
67}
Note: See TracBrowser for help on using the repository browser.