KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > je > gettingStarted > Vendor


1 // file Vendor.java
2
// $Id: Vendor.java,v 1.3 2005/06/09 17:20:54 mark Exp $
3
package je.gettingStarted;
4
5 import java.io.Serializable JavaDoc;
6
7 public class Vendor implements Serializable JavaDoc {
8
9     private String JavaDoc repName;
10     private String JavaDoc address;
11     private String JavaDoc city;
12     private String JavaDoc state;
13     private String JavaDoc zipcode;
14     private String JavaDoc bizPhoneNumber;
15     private String JavaDoc repPhoneNumber;
16     private String JavaDoc vendor;
17
18     public void setRepName(String JavaDoc data) {
19         repName = data;
20     }
21
22     public void setAddress(String JavaDoc data) {
23         address = data;
24     }
25
26     public void setCity(String JavaDoc data) {
27         city = data;
28     }
29
30     public void setState(String JavaDoc data) {
31         state = data;
32     }
33
34     public void setZipcode(String JavaDoc data) {
35         zipcode = data;
36     }
37
38     public void setBusinessPhoneNumber(String JavaDoc data) {
39         bizPhoneNumber = data;
40     }
41
42     public void setRepPhoneNumber(String JavaDoc data) {
43         repPhoneNumber = data;
44     }
45
46     public void setVendorName(String JavaDoc data) {
47         vendor = data;
48     }
49
50     public String JavaDoc getRepName() {
51         return repName;
52     }
53
54     public String JavaDoc getAddress() {
55         return address;
56     }
57
58     public String JavaDoc getCity() {
59         return city;
60     }
61
62     public String JavaDoc getState() {
63         return state;
64     }
65
66     public String JavaDoc getZipcode() {
67         return zipcode;
68     }
69
70     public String JavaDoc getBusinessPhoneNumber() {
71         return bizPhoneNumber;
72     }
73
74     public String JavaDoc getRepPhoneNumber() {
75         return repPhoneNumber;
76     }
77
78     public String JavaDoc getVendorName() {
79         return vendor;
80     }
81
82 }
83
84
Popular Tags