⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 simplemessage.java

📁 Ajax开发精要——概念、案例与框架.很适合初学者学习。
💻 JAVA
字号:
package com.ajaxlab.ajax;

public class SimpleMessage {
	private String id;
	private String author;
	private String receiver;
	private String title;
	private String submittime;
	private String replay;
	
	public SimpleMessage() {
		
	}
	public SimpleMessage(String id,String title, String author,String receiver, String submittime){
		this.id = id;
		this.title = title;
		this.author = author;
		this.receiver = receiver;
		this.submittime = submittime;
	}
	public String getId() {
		return this.id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getAuthor() {
		return this.author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getReceiver() {
		return this.receiver;
	}
	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}
	public String getTitle() {
		return this.title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSubmittime() {
		return this.submittime;
	}
	public void setSubmittime(String submittime) {
		this.submittime = submittime;
	}
	public String getReplay() {
		return this.replay;
	}
	public void setReplay(String replay) {
		this.replay = replay;
	}
	public SimpleMessage populate(Message message) {
		this.setId(message.getId());
		this.setTitle(message.getTitle());
		this.setAuthor(message.getAuthor());
		this.setSubmittime(message.getSubmittime());
		this.setReplay(message.getReplay());
		return this;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -