Java6 WebService 使用复杂对象
2009-12-02 00:00:00 来源:WEB开发网package lavasoft.server;
/**
* Created by IntelliJ IDEA.
*
* @author leizhimin 2009-11-16 17:09:46
*/
public class Foo {
private String name;
private String sex;
public Foo() {
}
public Foo(String name, String sex) {
this.name = name;
this.sex = sex;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
@Override
public String toString() {
return "Foo{" +
"sex='" + sex + '\'' +
", name='" + name + '\'' +
'}';
}
}
Tags:Java WebService 使用
编辑录入:爽爽 [复制链接] [打 印]更多精彩
赞助商链接