1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.commons.chain.impl;
17
18
19 /***
20 * Subclass of <code>ContextBase</code> to exercize the automatic
21 * delegation to properties of the <code>Context</code> class.
22 */
23
24 public class TestContext extends ContextBase {
25
26
27
28 private String readOnly = "readOnly";
29 public String getReadOnly() {
30 return (this.readOnly);
31 }
32
33
34 private String readWrite = "readWrite";
35 public String getReadWrite() {
36 return (this.readWrite);
37 }
38 public void setReadWrite(String readWrite) {
39 this.readWrite = readWrite;
40 }
41
42
43 private String writeOnly = "writeOnly";
44 public String returnWriteOnly() {
45 return (this.writeOnly);
46 }
47 public void setWriteOnly(String writeOnly) {
48 this.writeOnly = writeOnly;
49 }
50
51
52 }
53