KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > wsdl > arrays3 > Address


1 package test.wsdl.arrays3;
2
3 public class Address implements java.io.Serializable JavaDoc {
4     private String JavaDoc city;
5     private Phone phoneNumber;
6     private StateType state;
7     private String JavaDoc streetName;
8     private int streetNum;
9     private int zip;
10     private Phone[] otherPhones;
11
12     public Address() {
13     }
14
15     /**
16      * Gets the city value for this Address.
17      *
18      * @return city
19      */

20     public java.lang.String JavaDoc getCity() {
21         return city;
22     }
23
24
25     /**
26      * Sets the city value for this Address.
27      *
28      * @param city
29      */

30     public void setCity(java.lang.String JavaDoc city) {
31         this.city = city;
32     }
33
34
35     /**
36      * Gets the phoneNumber value for this Address.
37      *
38      * @return phoneNumber
39      */

40     public Phone getPhoneNumber() {
41         return phoneNumber;
42     }
43
44
45     /**
46      * Sets the phoneNumber value for this Address.
47      *
48      * @param phoneNumber
49      */

50     public void setPhoneNumber(Phone phoneNumber) {
51         this.phoneNumber = phoneNumber;
52     }
53
54
55     /**
56      * Gets the state value for this Address.
57      *
58      * @return state
59      */

60     public StateType getState() {
61         return state;
62     }
63
64
65     /**
66      * Sets the state value for this Address.
67      *
68      * @param state
69      */

70     public void setState(StateType state) {
71         this.state = state;
72     }
73
74
75     /**
76      * Gets the streetName value for this Address.
77      *
78      * @return streetName
79      */

80     public java.lang.String JavaDoc getStreetName() {
81         return streetName;
82     }
83
84
85     /**
86      * Sets the streetName value for this Address.
87      *
88      * @param streetName
89      */

90     public void setStreetName(java.lang.String JavaDoc streetName) {
91         this.streetName = streetName;
92     }
93
94
95     /**
96      * Gets the streetNum value for this Address.
97      *
98      * @return streetNum
99      */

100     public int getStreetNum() {
101         return streetNum;
102     }
103
104
105     /**
106      * Sets the streetNum value for this Address.
107      *
108      * @param streetNum
109      */

110     public void setStreetNum(int streetNum) {
111         this.streetNum = streetNum;
112     }
113
114
115     /**
116      * Gets the zip value for this Address.
117      *
118      * @return zip
119      */

120     public int getZip() {
121         return zip;
122     }
123
124
125     /**
126      * Sets the zip value for this Address.
127      *
128      * @param zip
129      */

130     public void setZip(int zip) {
131         this.zip = zip;
132     }
133
134     public void setOtherPhones(Phone[] phones) {
135         otherPhones = phones;
136     }
137
138     public Phone[] getOtherPhones() {
139         return otherPhones;
140     }
141 }
142
Popular Tags