Guest User

Untitled

a guest
Dec 9th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. public interface IEntity
  2. {
  3. String getName();
  4.  
  5. List<ISubEntity> getSubEntities();
  6. }
  7.  
  8. public interface ISubEntity
  9. {
  10. String getSomething();
  11.  
  12. }
  13.  
  14. {"name":"SomeName","subEntities":[{"something":"SomeSomething"}]}
  15.  
  16. {
  17. "changedEntity": "IEntity",
  18. "deletedProperties": [
  19. "subEntities"
  20. ],
  21. "addedProperties": [
  22. {
  23. "name": "exoticName",
  24. "type": "String",
  25. "defaultValue": null
  26. }
  27. ],
  28. "changedProperties": [
  29. {
  30. "name": "name",
  31. "type": "SomeEnum",
  32. "defaultValue": "DEFAULT"
  33. }
  34. ]
  35. }
Add Comment
Please, Sign In to add comment