1 package org.hibernate.test.subclasspropertyref; 3 4 7 public class Account { 8 private String accountId; 9 private Customer customer; 10 private Person person; 11 private char type; 12 15 public Customer getCustomer() { 16 return customer; 17 } 18 21 public void setCustomer(Customer user) { 22 this.customer = user; 23 } 24 27 public String getAccountId() { 28 return accountId; 29 } 30 33 public void setAccountId(String accountId) { 34 this.accountId = accountId; 35 } 36 39 public char getType() { 40 return type; 41 } 42 45 public void setType(char type) { 46 this.type = type; 47 } 48 public Person getPerson() { 49 return person; 50 } 51 52 public void setPerson(Person person) { 53 this.person = person; 54 } 55 56 57 } 58 | Popular Tags |