01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04:
05: package com.tctest.domain;
06:
07: public class Account {
08:
09: 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: private void setId(Long id) {
29: this .id = id;
30: }
31:
32: public String toString() {
33: return super.toString();
34: }
35: }
|