1 package org.kuali.rice.krms.tree.node;
2
3 import org.kuali.rice.krms.dto.PropositionEditor;
4
5 import java.io.Serializable;
6
7
8
9
10
11
12
13
14 public class RuleEditorTreeNode implements Serializable {
15
16 private static final long serialVersionUID = 8038174553531544943L;
17
18 public static final String NODE_TYPE = "ruleTreeNode";
19
20 public static final String COMPOUND_NODE_TYPE = RuleEditorTreeNode.NODE_TYPE + " compound";
21
22 public static final String COMPOUND_OP_NODE_TYPE = RuleEditorTreeNode.NODE_TYPE + " compoundOpCodeNode";
23
24 protected PropositionEditor proposition;
25
26 public RuleEditorTreeNode(){}
27
28 public RuleEditorTreeNode(PropositionEditor proposition){
29 this.proposition = proposition;
30 }
31
32 public PropositionEditor getProposition() {
33 return this.proposition;
34 }
35
36 public void setProposition(PropositionEditor proposition) {
37 this.proposition = proposition;
38 }
39
40 }