Skip to content

Instantly share code, notes, and snippets.

@lahirue
Created October 21, 2015 06:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lahirue/9b1b2fe53607f1323c56 to your computer and use it in GitHub Desktop.
Save lahirue/9b1b2fe53607f1323c56 to your computer and use it in GitHub Desktop.
Carbon Web Service data Package Class
package org.wso2.carbon.testService.data;
public class User {
private String name;
private int age;
public User() {
}
public User(String aName, int anAge) {
this.name = aName;
this.age = anAge;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment