KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jodd > petite > test > Boo


1 // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.
2

3 package jodd.petite.test;
4
5 import jodd.petite.meta.PetiteBeanRef;
6
7 public class Boo {
8
9     @PetiteBeanRef
10     private Foo foo;
11
12     public Foo getFoo() {
13         return foo;
14     }
15
16     public void setFoo(Foo foo) {
17         foo.counter++;
18         this.foo = foo;
19     }
20
21     @PetiteBeanRef
22     public final Zoo zoo = null;
23
24 }
25
Popular Tags