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