1 package org.hibernate.test.cuk; 3 4 import java.io.Serializable ; 5 6 9 public class Address implements Serializable { 10 private Long id; 11 private String address; 12 private String zip; 13 private String country; 14 private Person person; 15 18 public Long getId() { 19 return id; 20 } 21 24 public void setId(Long id) { 25 this.id = id; 26 } 27 30 public Person getPerson() { 31 return person; 32 } 33 36 public void setPerson(Person person) { 37 this.person = person; 38 } 39 42 public String getAddress() { 43 return address; 44 } 45 48 public void setAddress(String address) { 49 this.address = address; 50 } 51 54 public String getCountry() { 55 return country; 56 } 57 60 public void setCountry(String country) { 61 this.country = country; 62 } 63 66 public String getZip() { 67 return zip; 68 } 69 72 public void setZip(String zip) { 73 this.zip = zip; 74 } 75 } 76 | Popular Tags |