2009/05/20 - Apache Shale has been retired.
For more information, please explore the Attic.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.shale.test.mock;
19
20 import java.io.Serializable;
21
22 /***
23 * <p>Test JavaBean for testing mock objects themselves.</p>
24 *
25 * $Id$
26 */
27 public class TestMockBean implements Serializable {
28
29 private static final long serialVersionUID = 8879968751506858610L;
30 private String command;
31 public String getCommand() {
32 return (this.command);
33 }
34 public void setCommand(String command) {
35 this.command = command;
36 }
37
38 private String input;
39 public String getInput() {
40 return (this.input);
41 }
42 public void setInput(String input) {
43 this.input = input;
44 }
45
46 private String output;
47 public String getOutput() {
48 return (this.output);
49 }
50 public void setOutput(String output) {
51 this.output = output;
52 }
53
54 public String combine() {
55 return ((command == null ? "" : command) + ":" +
56 (input == null ? "" : input) + ":" +
57 (output == null ? "" : output));
58 }
59
60 }