Created
January 4, 2012 20:33
-
-
Save berinle/1561991 to your computer and use it in GitHub Desktop.
GeDA flattened transformation (limitation)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class A { | |
String name; | |
List<B> bees; | |
} | |
class B { | |
String name; | |
Integer foo; | |
} | |
//CANNOT have this kind of flattened structure with GeDA | |
class ADto { | |
String name; | |
List<String> nestedBNames; | |
List<Integer> nestedBFoos; | |
} | |
//It expects me to do | |
class ADto { | |
String name; | |
List<BDto> listOfB; | |
} | |
class BDto { | |
String name; | |
Integer foo; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment