1 45 package org.openejb.test.object; 46 47 import java.io.Serializable ; 48 49 54 public class ObjectGraph implements Serializable { 55 56 private Serializable object; 57 58 public ObjectGraph(Object obj){ 59 this.object = (Serializable )obj; 60 } 61 62 public ObjectGraph(){ 63 } 64 65 public void setObject(Object obj){ 66 this.object = (Serializable )obj; 67 } 68 69 public Object getObject(){ 70 return object; 71 } 72 73 public String toString(){ 74 return ((Object )object).toString(); 75 } 76 } 77 78 | Popular Tags |