01: /*
02: * Copyright 2007 Dan Shellman
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.iscreen.impl;
17:
18: /**
19: * An OGNL contextBean used for testing.
20: *
21: *
22: * @author Shellman, Dan
23: */
24: public class TestContextBean {
25: private Object value;
26: private String stringValue;
27: private TestContextBean contextBean;
28:
29: /**
30: * Default constructor.
31: */
32: public TestContextBean() {
33: }
34:
35: public void setValue(Object theValue) {
36: value = theValue;
37: }
38:
39: public Object getValue() {
40: return value;
41: }
42:
43: public void setStringValue(String theValue) {
44: stringValue = theValue;
45: }
46:
47: public String getStringValue() {
48: return stringValue;
49: }
50:
51: public void setRoot(TestContextBean theRoot) {
52: contextBean = theRoot;
53: }
54:
55: public TestContextBean getRoot() {
56: return contextBean;
57: }
58: }
|