KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > cache > test > standAloneAop > Student


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.test.cache.test.standAloneAop;
8
9 /**
10  * Test class for TreeCacheAOP.
11  * Student is a POJO that will be instrumentet with CacheInterceptor
12  *
13  * @version $Revision: 1.1 $
14  */

15 public class Student extends Person
16 {
17
18    private String JavaDoc year;
19
20    public String JavaDoc getYear() { return year; }
21    public void setYear(String JavaDoc year) { this.year = year; }
22
23    public String JavaDoc toString()
24    {
25       return "year=" + getYear() + " " + super.toString();
26    }
27
28 }
29
Popular Tags