01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tctest;
05:
06: import java.io.Serializable;
07:
08: /**
09: * @author steve To change the template for this generated type comment go to Window>Preferences>Java>Code
10: * Generation>Code and Comments
11: */
12: public class FooObject1 implements Serializable {
13: private long value = 0;
14: private String name = "Default name";
15: private FooObject1 foo;
16:
17: public FooObject1 getFooObject1() {
18: return foo;
19: }
20:
21: public void setFooObject1(FooObject1 foo) {
22: this .foo = foo;
23: }
24:
25: /**
26: * @return
27: */
28: public String getName() {
29: return name;
30: }
31:
32: /**
33: * @return
34: */
35: public long getValue() {
36: return value;
37: }
38:
39: /**
40: * @param string
41: */
42: public void setName(String string) {
43: name = string;
44: }
45:
46: /**
47: * @param l
48: */
49: public void setValue(long l) {
50: value = l;
51: }
52:
53: public String toString() {
54: return "FooObject name:" + name + " value:" + value;
55: }
56: }
|