1 7 package org.jboss.cache.pojo.test; 8 9 10 17 public class Student extends Person 18 { 19 20 private String year; 21 private CacheObject co1; 23 private CacheObject co2; 24 25 public String getYear() 26 { 27 return year; 28 } 29 30 public void setYear(String year) 31 { 32 this.year = year; 33 } 34 35 public CacheObject getCO1() 36 { 37 return co1; 38 } 39 40 public void setCO1(CacheObject co) 41 { 42 this.co1 = co; 43 } 44 45 public CacheObject getCO2() 46 { 47 return co2; 48 } 49 50 public void setCO2(CacheObject co) 51 { 52 this.co2 = co; 53 } 54 55 public String toString() 56 { 57 return "year=" + getYear() + " " + super.toString(); 58 } 59 60 } 61 | Popular Tags |