Changeset 809 for trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees/temporalrelation/RuleApplicationResult.java
- Timestamp:
- 09/12/12 10:57:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees/temporalrelation/RuleApplicationResult.java
r655 r809 7 7 8 8 /** 9 * TODO comment 9 * <p> 10 * The rule application result describes the result of applying a {@link TemporalRelationshipRule} 11 * on a task tree node. It contains a {@link RuleApplicationStatus} and a list of all parent 12 * task tree nodes that were created during a rule application. See the description of 13 * {@link TemporalRelationshipRule} for more details. 14 * </p> 10 15 * 11 * @version $Revision: $ $Date: 18.03.2012$ 12 * @author 2012, last modified by $Author: patrick$ 16 * @author Patrick Harms 13 17 */ 14 publicclass RuleApplicationResult {18 class RuleApplicationResult { 15 19 16 20 /** */ … … 21 25 22 26 /** 23 * TODO: comment24 * 25 * @param b27 * <p> 28 * create a rule application result with a status {@link RuleApplicationStatus#RULE_NOT_APPLIED} 29 * </p> 26 30 */ 27 publicRuleApplicationResult() {31 RuleApplicationResult() { 28 32 // this is the default indicating nothing so far 29 33 } 30 34 31 35 /** 32 * TODO: comment33 * 34 * @param b36 * <p> 37 * set the rule application status 38 * </p> 35 39 */ 36 publicvoid setRuleApplicationStatus(RuleApplicationStatus status) {40 void setRuleApplicationStatus(RuleApplicationStatus status) { 37 41 this.status = status; 38 42 } 39 43 40 44 /** 41 * TODO: comment42 * 43 * @return45 * <p> 46 * return the rule application status 47 * </p> 44 48 */ 45 publicRuleApplicationStatus getRuleApplicationStatus() {49 RuleApplicationStatus getRuleApplicationStatus() { 46 50 return status; 47 51 } 48 52 49 53 /** 50 * TODO: comment51 * 52 * @param sequence54 * <p> 55 * add a further parent node created during the rule application 56 * </p> 53 57 */ 54 publicvoid addNewlyCreatedParentNode(ITaskTreeNode newParent) {58 void addNewlyCreatedParentNode(ITaskTreeNode newParent) { 55 59 newParents.add(newParent); 56 60 } 57 61 58 62 /** 59 * TODO: comment60 * 61 * @return63 * <p> 64 * return all parent nodes created during the rule application 65 * </p> 62 66 */ 63 publicList<ITaskTreeNode> getNewlyCreatedParentNodes() {67 List<ITaskTreeNode> getNewlyCreatedParentNodes() { 64 68 return newParents; 65 69 }
Note: See TracChangeset
for help on using the changeset viewer.