01: /* ****************************************************************************
02: * Person.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:
10: package examples;
11:
12: public class Person {
13:
14: public String mName;
15: public String mAddress;
16: public String mCity;
17:
18: public Person(String name, String address, String city) {
19: mName = name;
20: mAddress = address;
21: mCity = city;
22: }
23:
24: public String getName() {
25: return mName;
26: }
27:
28: public void setName(String name) {
29: mName = name;
30: }
31:
32: public String getAddress() {
33: return mAddress;
34: }
35:
36: public void setAddress(String address) {
37: mAddress = address;
38: }
39:
40: public String getCity() {
41: return mCity;
42: }
43:
44: public void setCity(String city) {
45: mCity = city;
46: }
47: }
|