WebService之CXF注解之一(封装类)

2020-12-13 01:46

阅读:325

标签:webservice   cxf   注解   

Teacher.java:

/**
 * @Title:Teacher.java
 * @Package:com.you.model
 * @Description:老师封装类
 * @author:Youhaidong(游海东)
 * @date:2014-5-5 下午11:03:13
 * @version V1.0
 */
package com.you.model;

import java.io.Serializable;

/**
 * 类功能说明
 * 类修改者 修改日期
 * 修改说明
 * 

Title:Teacher.java

*

Description:游海东个人开发

*

Copyright:Copyright(c)2013

* @author:游海东 * @date:2014-5-5 下午11:03:13 * @version V1.0 */ public class Teacher implements Serializable { /** * @Fields serialVersionUID:序列化 */ private static final long serialVersionUID = 1L; /** * 教师工号 */ private String teacherNum; /** * 教师姓名 */ private String teacherName; /** * 教师年龄 */ private String teacherAge; /** * 教师性别 */ private String teacherSex; /** * 教师QQ */ private String teacherQQ; /** * @return the teacherNum */ public String getTeacherNum() { return teacherNum; } /** * @param teacherNum the teacherNum to set */ public void setTeacherNum(String teacherNum) { this.teacherNum = teacherNum; } /** * @return the teacherName */ public String getTeacherName() { return teacherName; } /** * @param teacherName the teacherName to set */ public void setTeacherName(String teacherName) { this.teacherName = teacherName; } /** * @return the teacherAge */ public String getTeacherAge() { return teacherAge; } /** * @param teacherAge the teacherAge to set */ public void setTeacherAge(String teacherAge) { this.teacherAge = teacherAge; } /** * @return the teacherSex */ public String getTeacherSex() { return teacherSex; } /** * @param teacherSex the teacherSex to set */ public void setTeacherSex(String teacherSex) { this.teacherSex = teacherSex; } /** * @return the teacherQQ */ public String getTeacherQQ() { return teacherQQ; } /** * @param teacherQQ the teacherQQ to set */ public void setTeacherQQ(String teacherQQ) { this.teacherQQ = teacherQQ; } }

WebService之CXF注解之一(封装类),搜素材,soscw.com

WebService之CXF注解之一(封装类)

标签:webservice   cxf   注解   

原文地址:http://blog.csdn.net/you23hai45/article/details/25082919


评论


亲,登录后才可以留言!