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