Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Foo {
- private int id;
- private Foo children;
- //here default constructor and setter/getter for both (id and children)
- }
- @WebMethod
- public boolean setTree(Foo foo) {
- //do something
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement