| Home >> All >> org >> hibernate >> test >> [ idclass Javadoc ] |
Source code: org/hibernate/test/idclass/Customer.java
1 //$Id: Customer.java 7858 2005-08-11 21:46:58Z epbernard $ 2 3 package org.hibernate.test.idclass; 4 5 6 7 8 9 public class Customer { 10 11 12 13 public Customer() { 14 15 super(); 16 17 } 18 19 20 21 public Customer(String orgName, String custName, String add) { 22 23 this.orgName = orgName; 24 25 this.customerName = custName; 26 27 this.address = add; 28 29 } 30 31 32 33 private String orgName; 34 35 private String customerName; 36 37 private String address; 38 39 40 41 public String getAddress() { 42 43 return address; 44 45 } 46 47 48 49 public void setAddress(String address) { 50 51 this.address = address; 52 53 } 54 55 56 57 public String getCustomerName() { 58 59 return customerName; 60 61 } 62 63 64 65 public void setCustomerName(String customerName) { 66 67 this.customerName = customerName; 68 69 } 70 71 72 73 public String getOrgName() { 74 75 return orgName; 76 77 } 78 79 80 81 public void setOrgName(String orgName) { 82 83 this.orgName = orgName; 84 85 } 86 87 88 89 } 90