1 4 package com.tctest; 5 6 import com.tc.object.TCObject; 7 8 import java.io.Serializable ; 9 10 13 public class FooObject implements Serializable { 14 private String one; 15 private long two; 16 private FooObject three; 17 public FooObject four; 18 private FooObject[] five; 19 public TCObject __tcObjecta; 20 21 public void test() { 22 synchronized (this) { 23 throw new Error (); 24 } 25 } 26 27 public FooObject(Object t) { 28 super(); 29 } 30 31 public FooObject() { 32 this(new Object ()); 33 } 34 35 public static class InnerClassTest { 36 public InnerClassTest(Object t) { 37 super(); 38 } 39 } 40 41 public FooObject(String one, long two, FooObject three, FooObject four, FooObject[] five) { 42 43 this.one = one; 44 this.two = two; 45 this.three = three; 46 this.four = four; 47 this.five = five; 48 } 49 50 53 public FooObject getFour() { 54 return four; 55 } 56 57 60 public String getOne() { 61 return one; 62 } 63 64 67 public FooObject getThree() { 68 return three; 69 } 70 71 74 public long getTwo() { 75 return two; 76 } 77 78 81 public void setFour(FooObject object) { 82 four = object; 83 } 84 85 88 public void setOne(String string) { 89 one = string; 90 } 91 92 95 public void setThree(FooObject object) { 96 three = object; 97 } 98 99 102 public void setTwo(long l) { 103 two = l; 104 } 105 106 109 public FooObject[] getFive() { 110 return five; 111 } 112 113 116 public void setFive(FooObject[] objects) { 117 five = objects; 118 } 119 120 } | Popular Tags |