码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2014-05-07 06:23:18      阅读:353      评论:0      收藏:0      [点我收藏+]

标签: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;

/**
 * 类功能说明
 * 类修改者 修改日期
 * 修改说明
 * <p>Title:Teacher.java</p>
 * <p>Description:游海东个人开发</p>
 * <p>Copyright:Copyright(c)2013</p>
 * @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注解之一(封装类),布布扣,bubuko.com

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

标签:webservice   cxf   注解   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!