KickJava   Java API By Example, From Geeks To Geeks.

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


1 package test.wsdl.arrays3;
2
3 public class Phone implements java.io.Serializable JavaDoc {
4     private int areaCode;
5     private java.lang.String JavaDoc exchange;
6     private java.lang.String JavaDoc number;
7
8     public Phone() {
9     }
10
11     /**
12      * Gets the areaCode value for this Phone.
13      *
14      * @return areaCode
15      */

16     public int getAreaCode() {
17         return areaCode;
18     }
19
20
21     /**
22      * Sets the areaCode value for this Phone.
23      *
24      * @param areaCode
25      */

26     public void setAreaCode(int areaCode) {
27         this.areaCode = areaCode;
28     }
29
30
31     /**
32      * Gets the exchange value for this Phone.
33      *
34      * @return exchange
35      */

36     public java.lang.String JavaDoc getExchange() {
37         return exchange;
38     }
39
40
41     /**
42      * Sets the exchange value for this Phone.
43      *
44      * @param exchange
45      */

46     public void setExchange(java.lang.String JavaDoc exchange) {
47         this.exchange = exchange;
48     }
49
50
51     /**
52      * Gets the number value for this Phone.
53      *
54      * @return number
55      */

56     public java.lang.String JavaDoc getNumber() {
57         return number;
58     }
59
60
61     /**
62      * Sets the number value for this Phone.
63      *
64      * @param number
65      */

66     public void setNumber(java.lang.String JavaDoc number) {
67         this.number = number;
68     }
69
70 }
71
Popular Tags