1 30 package com.genimen.djeneric.tools.scriptengine.core.nodes; 31 32 import java.util.ArrayList ; 33 34 import com.genimen.djeneric.tools.scriptengine.core.DjScriptParserEngine; 35 import com.genimen.djeneric.tools.scriptengine.core.SimpleNode; 36 37 public class EventMappingNode extends SimpleNode 38 { 39 40 private String _path = null; 41 private ArrayList _actions = new ArrayList (); 42 43 public EventMappingNode(int i) 44 { 45 super(i); 46 } 47 48 public EventMappingNode(DjScriptParserEngine p, int i) 49 { 50 super(p, i); 51 } 52 53 public String getName() 54 { 55 return "eventmapping"; 56 } 57 58 public String getNodeTitle() 59 { 60 return toString(); 61 } 62 63 public String toString() 64 { 65 return _path + "->" + _actions; 66 } 67 68 public String getPath() 69 { 70 return _path; 71 } 72 73 public void setPath(String string) 74 { 75 _path = string; 76 } 77 78 public ArrayList getActions() 79 { 80 return _actions; 81 } 82 83 public void addAction(String action) 84 { 85 _actions.add(action); 86 } 87 88 } | Popular Tags |