01: /*
02: * Copyright 2002 (C) TJDO.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the TJDO License version 1.0.
06: * See the terms of the TJDO License in the documentation provided with this software.
07: *
08: * $Id: CircularReferenceView2.java,v 1.2 2003/02/22 21:53:17 jackknifebarber Exp $
09: */
10:
11: package com.triactive.jdo.test.views;
12:
13: import com.triactive.jdo.test.*;
14:
15: /**
16: * This view is a part of a circular references of views.
17: * CircularReferenceView1 -> CircularReferenceView2 ->
18: * CircularReferenceView3 -> CircularReferenceView1
19: *
20: * @author <a href="mailto:pierreg0@users.sourceforge.net">Kelly Grizzle</a>
21: * @version $Revision: 1.2 $
22: */
23: public class CircularReferenceView2 {
24: private Widget widget;
25: private int myInt;
26:
27: /**
28: * Default constructor required since this is a PersistenceCapable class.
29: */
30: protected CircularReferenceView2() {
31: }
32:
33: /**
34: * Getter for widget
35: * @return widget
36: */
37: public Widget getWidget() {
38: return this .widget;
39: }
40:
41: /**
42: * Getter for myInt
43: * @return myInt
44: */
45: public int getMyInt() {
46: return this.myInt;
47: }
48: }
|