01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tctest;
05:
06: /**
07: * @author steve To change the template for this generated type comment go to Window>Preferences>Java>Code
08: * Generation>Code and Comments
09: */
10: public class InnerClassTestObject {
11: private InnerClass myInner;
12:
13: /**
14: *
15: */
16: public InnerClassTestObject() {
17: super ();
18: myInner = new InnerClass();
19: }
20:
21: protected InnerClass getMyInner() {
22: return myInner;
23: }
24:
25: private String getHelloWorld() {
26: return "Hello World";
27: }
28:
29: public class InnerClass {
30: String myString;
31:
32: public void test() {
33: this.myString = getHelloWorld()
34: + System.currentTimeMillis();
35: }
36:
37: }
38:
39: }
|