01: /**
02: * Copyright 2008 Jens Dietrich Licensed under the Apache License, Version 2.0 (the "License");
03: * you may not use this file except in compliance with the License.
04: * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
05: * Unless required by applicable law or agreed to in writing, software distributed under the
06: * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
07: * either express or implied. See the License for the specific language governing permissions
08: * and limitations under the License.
09: */package test.nz.org.take.nscript;
10:
11: /**
12: * Bean class used in test cases.
13: * @author <a href="http://www-ist.massey.ac.nz/JBDietrich/">Jens Dietrich</a>
14: */
15:
16: public class TestBean {
17: private String name = "";
18: private int id = 0;
19: private TestProperty property = null;
20: private boolean cool = false;
21:
22: public String getName() {
23: return name;
24: }
25:
26: public void setName(String name) {
27: this .name = name;
28: }
29:
30: public int getId() {
31: return id;
32: }
33:
34: public void setId(int id) {
35: this .id = id;
36: }
37:
38: public TestProperty getProperty() {
39: return property;
40: }
41:
42: public void setProperty(TestProperty property) {
43: this .property = property;
44: }
45:
46: public boolean isCool() {
47: return cool;
48: }
49:
50: public void setCool(boolean cool) {
51: this.cool = cool;
52: }
53: }
|