001 package org.kuali.rice.krms.tree.node; 002 003 import org.kuali.rice.krms.dto.PropositionEditor; 004 005 import java.io.Serializable; 006 007 /** 008 * Created with IntelliJ IDEA. 009 * User: SW 010 * Date: 2012/12/03 011 * Time: 3:45 PM 012 * To change this template use File | Settings | File Templates. 013 */ 014 public class RuleEditorTreeNode implements Serializable { 015 016 private static final long serialVersionUID = 8038174553531544943L; 017 018 public static final String NODE_TYPE = "ruleTreeNode"; 019 020 public static final String COMPOUND_NODE_TYPE = RuleEditorTreeNode.NODE_TYPE + " compound"; 021 022 public static final String COMPOUND_OP_NODE_TYPE = RuleEditorTreeNode.NODE_TYPE + " compoundOpCodeNode"; 023 024 protected PropositionEditor proposition; 025 026 public RuleEditorTreeNode(){} 027 028 public RuleEditorTreeNode(PropositionEditor proposition){ 029 this.proposition = proposition; 030 } 031 032 public PropositionEditor getProposition() { 033 return this.proposition; 034 } 035 036 public void setProposition(PropositionEditor proposition) { 037 this.proposition = proposition; 038 } 039 040 }