Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. Category cat1 = new Category(null,CategoryEnum.COMVALORTIPO1);
  2.  
  3. Item it1 = new Item(null, "Item 1", "local 1", "who find 1", cat1);
  4.  
  5. Item it2 = new Item(null, "Item 2", "local 2", "who find 2", cat1);
  6.  
  7. Lost lo1 = new Lost(null, sdf.parse("20/07/2019 11:05"), it1);
  8.  
  9. it1.setLost(lo1);
  10.  
  11. Lost lo2 = new Lost(null, sdf.parse("21/07/2019 12:05"), it2);
  12.  
  13. it2.setLost(lo2);
  14.  
  15. Claim claim1 = new Claim(null, sdf.parse("22/08/2019 23:59"), it1);
  16.  
  17. it1.setClaim(claim1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement