01: /* ****************************************************************************
02: * MyJavaBean.java
03: * ****************************************************************************/
04:
05: /* J_LZ_COPYRIGHT_BEGIN *******************************************************
06: * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
07: * Use is subject to license terms. *
08: * J_LZ_COPYRIGHT_END *********************************************************/
09: package examples;
10:
11: /**
12: * Class used in ReturnJavaBeanExample.java.
13: */
14: public class MyJavaBean {
15: String name;
16: String city;
17: String state;
18: String secret;
19:
20: public MyJavaBean(String name, String city, String state,
21: String secret) {
22: this .name = name;
23: this .city = city;
24: this .state = state;
25: this .secret = secret;
26: }
27:
28: public String getName() {
29: return name;
30: }
31:
32: public String getCity() {
33: return city;
34: }
35:
36: public String getState() {
37: return state;
38: }
39: }
|