KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > triactive > jdo > test > views > CircularReferenceView1


1 /*
2  * Copyright 2002 (C) TJDO.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the TJDO License version 1.0.
6  * See the terms of the TJDO License in the documentation provided with this software.
7  *
8  * $Id: CircularReferenceView1.java,v 1.2 2003/02/22 21:53:17 jackknifebarber Exp $
9  */

10
11 package com.triactive.jdo.test.views;
12
13 import com.triactive.jdo.test.*;
14
15
16 /**
17  * This view is a part of a circular references of views.
18  * CircularReferenceView1 -> CircularReferenceView2 ->
19  * CircularReferenceView3 -> CircularReferenceView1
20  *
21  * @author <a HREF="mailto:pierreg0@users.sourceforge.net">Kelly Grizzle</a>
22  * @version $Revision: 1.2 $
23  */

24 public class CircularReferenceView1
25 {
26     private Widget widget;
27     private int myInt;
28
29
30     /**
31      * Default constructor required since this is a PersistenceCapable class.
32      */

33     protected CircularReferenceView1() {}
34
35
36     /**
37      * Getter for widget
38      * @return widget
39      */

40     public Widget getWidget()
41     {
42         return this.widget;
43     }
44
45
46     /**
47      * Getter for myInt
48      * @return myInt
49      */

50     public int getMyInt()
51     {
52         return this.myInt;
53     }
54 }
55
Popular Tags