01: /*
02: * ChainBuilder ESB
03: * Visual Enterprise Integration
04: *
05: * Copyright (C) 2006 Bostech Corporation
06: *
07: * This program is free software; you can redistribute it and/or modify
08: * it under the terms of the GNU General Public License as published by
09: * the Free Software Foundation; either version 2 of the License, or
10: * (at your option) any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public License
18: * along with this program; if not, write to the Free Software
19: * Foundation, Inc.,59 Temple Place, Suite 330, Boston, MA 02111-1307
20: * USA
21: *
22: *
23: * $Id: Command.java 3523 2006-12-08 07:18:35Z jzhang $
24: */
25: package com.bostechcorp.cbesb.runtime.ftp.interpreter;
26:
27: import java.util.Map;
28:
29: /**
30: * @author j.zhang
31: * @version 1.0.0
32: */
33: public class Command {
34:
35: private String cmdKey;
36: private Map<String, String> paramMap;
37:
38: /**
39: * Get the cmdKey.
40: *
41: * @return the cmdKey
42: */
43: public String getCmdKey() {
44: return cmdKey;
45: }
46:
47: /**
48: * Set the cmdKey.
49: *
50: * @param cmdKey the cmdKey to set
51: */
52: public void setCmdKey(String cmdKey) {
53: this .cmdKey = cmdKey;
54: }
55:
56: /**
57: * Get the paramMap.
58: *
59: * @return the paramMap
60: */
61: public Map<String, String> getParamMap() {
62: return paramMap;
63: }
64:
65: /**
66: * Set the paramMap.
67: *
68: * @param paramMap the paramMap to set
69: */
70: public void setParamMap(Map<String, String> paramMap) {
71: this.paramMap = paramMap;
72: }
73: }
|