Created
October 21, 2015 06:49
-
-
Save lahirue/9b1b2fe53607f1323c56 to your computer and use it in GitHub Desktop.
Carbon Web Service data Package Class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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