Advertisement
Guest User

Untitled

a guest
Aug 31st, 2015
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. public class Pojo1 implements Serializable {
  2.  
  3. private List<Foo> fooList =new ArrayList<Foo>(1);
  4.  
  5. public Pojo1() {
  6. }
  7.  
  8. public List<Foo> getFooList() {
  9. return fooList ;
  10. }
  11.  
  12. public void setFooList(List<Foo> fooList) {
  13. this.fooList= fooList;
  14. }
  15.  
  16. private List<Bar> barList =new ArrayList<Bar>(1);
  17.  
  18. public Pojo2() {
  19. }
  20.  
  21. public List<Bar> getBarList() {
  22. return barList ;
  23. }
  24.  
  25. public void setBarList(List<Bar> barList) {
  26. this.barList= barList;
  27. }
  28.  
  29. }
  30.  
  31. barList: [{
  32. (
  33. payload.fooList map {
  34. item1:$.item1
  35. }
  36. )
  37. } as :object {
  38. class :"com.fooClass"
  39. }]
  40. } as :object {
  41. class : "com.barClass"
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement