1 package org.apache.ojb.broker; 2 3 import java.io.Serializable ; 4 5 10 public class FarAwayClass implements Serializable 11 { 12 private String name; 13 private int id; 14 private String description; 15 private Integer referenceId; 16 private FarAwayReferenceIF reference; 17 18 public int getId() 19 { 20 return id; 21 } 22 23 public void setId(int id) 24 { 25 this.id = id; 26 } 27 28 public FarAwayReferenceIF getReference() 29 { 30 return reference; 31 } 32 33 public void setReference(FarAwayReferenceIF reference) 34 { 35 this.reference = reference; 36 } 37 38 public Integer getReferenceId() 39 { 40 return referenceId; 41 } 42 43 public void setReferenceId(Integer referenceId) 44 { 45 this.referenceId = referenceId; 46 } 47 48 public String getName() 49 { 50 return name; 51 } 52 53 public void setName(String name) 54 { 55 this.name = name; 56 } 57 58 public String getDescription() 59 { 60 return description; 61 } 62 63 public void setDescription(String description) 64 { 65 this.description = description; 66 } 67 68 public String toString() 69 { 70 return this.getClass().getName()+" [ "+"id: "+id+", name: "+name+", description: "+description+ 71 ", reference: "+reference+"]"; 72 } 73 } 74 | Popular Tags |