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

news/2024/7/4 1:42:07 标签: java

Teacher.java

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;
	}
	
}



http://www.niftyadmin.cn/n/1306271.html

相关文章

编程神书_向编程之神祈祷

编程神书Oh Almighty All-One (01), 全能的哦(01)&#xff0c; Grant me the courage to embrace and early adopt new cool technologies, the serenity to ignore distractions from new technology fads and the wisdom to tell the difference. 让我勇于接受和尽早采…

YSlow开发:自定义规则集

(This is part 3. See part one and part two.) (这是第3部分。请参见第1部分和第2部分。) There are two concepts to remember when working on your YSlow extensions and customizations: 在处理YSlow扩展和自定义项时&#xff0c;要记住两个概念&#xff1a; rules (or &q…

HDU 1171 Big Event in HDU

题目&#xff1a;HDU-1085 题目链接&#xff1a;http://acm.hdu.edu.cn/showproblem.php?pid1085 题目&#xff1a; Big Event in HDU Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 31958 Accepted Submi…

WebService之CXF注解之二(Service接口)

ITeacherService.java&#xff1a; /*** Title:ITeacherService.java* Package:com.you.service* Description:教师Service接口* author:Youhaidong(游海东)* date:2014-5-5 下午11:06:24* version V1.0*/ package com.you.service;import javax.jws.WebMethod; import javax.j…

HDU 1709 The Balance(母函数)

题目&#xff1a;HDU-1085 题目链接&#xff1a;http://acm.hdu.edu.cn/showproblem.php?pid1085 题目&#xff1a; The Balance Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 7089 Accepted Submission(s…

httpwatch使用_使用JavaScript的HTTPWatch自动化

httpwatch使用背景(Background) HTTPWatch (automation)HTTPWatch (自动化)...with PHP (and again and again, and response) ...用PHP (一次又一次&#xff0c;和response )JavaScript shell scripting JavaScript Shell脚本I gave this short presentation at the recent Ya…

WebService之CXF注解之三(Service接口实现类)

ITeacherServiceImpl.java&#xff1a; /*** Title:ITeacherServiceImpl.java* Package:com.you.service.impl* Description:* author:Youhaidong(游海东)* date:2014-5-5 下午11:08:39* version V1.0*/ package com.you.service.impl;import com.you.model.Teacher; import co…

WebService之CXF注解之四(测试类)

TeacherTest.java&#xff1a; /*** Title:TeacherTest.java* Package:com.test.service* Description:* author:Youhaidong(游海东)* date:2014-5-5 下午11:14:09* version V1.0*/ package com.test.service;import org.apache.cxf.interceptor.LoggingInInterceptor; import …