1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krms.tree.node;
17
18 import org.kuali.rice.krms.dto.PropositionEditor;
19
20 import java.io.Serializable;
21
22
23
24
25 public class RuleEditorTreeNode implements Serializable {
26
27 private static final long serialVersionUID = 8038174553531544943L;
28
29 public static final String ROOT_TYPE = "treeRoot";
30 public static final String NODE_TYPE = "ruleTreeNode";
31
32 public static final String COMPOUND_NODE_TYPE = RuleEditorTreeNode.NODE_TYPE + " compoundNode";
33 public static final String COMPOUND_OP_NODE_TYPE = RuleEditorTreeNode.NODE_TYPE + " compoundOpCodeNode";
34
35 public static final String FIRST_IN_GROUP = "firstInGroup";
36 public static final String LAST_IN_GROUP = "lastInGroup";
37
38 public static final String DISABLE_MOVE_IN = "disableMoveRight";
39 public static final String DISABLE_MOVE_OUT = "disableMoveLeft";
40
41 protected PropositionEditor proposition;
42
43 public RuleEditorTreeNode(){}
44
45 public RuleEditorTreeNode(PropositionEditor proposition){
46 this.proposition = proposition;
47 }
48
49 public PropositionEditor getProposition() {
50 return this.proposition;
51 }
52
53 public void setProposition(PropositionEditor proposition) {
54 this.proposition = proposition;
55 }
56
57 }