1 package net.wotonomy.test;
2
3 import net.wotonomy.control.EOClassDescription;
4 import net.wotonomy.foundation.NSArray;
5
6 /***
7 * A simple class description for testing.
8 */
9 public class TestObjectClassDesc extends EOClassDescription
10 {
11 public TestObjectClassDesc()
12 {
13 super( TestObject.class );
14 }
15
16 public EOClassDescription classDescriptionForDestinationKey(
17 String detailKey )
18 {
19 if ( "childList".equals( detailKey ) )
20 {
21 return this;
22 }
23 return null;
24 }
25
26 public NSArray toManyRelationshipKeys()
27 {
28 return new NSArray( "childList" );
29 }
30
31 }