View Javadoc

1   /*
2    * All content copyright (c) 2003-2008 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice.  All rights reserved.
3    */
4   
5   package net.sf.ehcache.hibernate.domain;
6   
7   public class Account {
8   
9     private Long   id;
10    private Person person;
11  
12    public Account() {
13      // 
14    }
15    
16    public Person getPerson() {
17      return person;
18    }
19  
20    public void setPerson(Person person) {
21      this.person = person;
22    }
23  
24    public Long getId() {
25      return id;
26    }
27  
28    public void setId(Long id) {
29      this.id = id;
30    }
31  
32    public String toString() {
33      return super.toString();
34    }
35  }