KickJava   Java API By Example, From Geeks To Geeks.

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


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