KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > idclass > Customer


1 //$Id: Customer.java,v 1.1 2005/06/20 09:44:54 oneovthafew Exp $
2
package org.hibernate.test.idclass;
3
4
5 public class Customer {
6
7     public Customer() {
8         super();
9     }
10
11     public Customer(String JavaDoc orgName, String JavaDoc custName, String JavaDoc add) {
12         this.orgName = orgName;
13         this.customerName = custName;
14         this.address = add;
15     }
16
17     private String JavaDoc orgName;
18     private String JavaDoc customerName;
19     private String JavaDoc address;
20
21     public String JavaDoc getAddress() {
22         return address;
23     }
24
25     public void setAddress(String JavaDoc address) {
26         this.address = address;
27     }
28
29     public String JavaDoc getCustomerName() {
30         return customerName;
31     }
32
33     public void setCustomerName(String JavaDoc customerName) {
34         this.customerName = customerName;
35     }
36
37     public String JavaDoc getOrgName() {
38         return orgName;
39     }
40
41     public void setOrgName(String JavaDoc orgName) {
42         this.orgName = orgName;
43     }
44
45 }
46
Popular Tags