comment.java
来自「zk与jsp技术的整合。可以在jsp页面里面使用zk的组件。」· Java 代码 · 共 54 行
JAVA
54 行
/**
*
*/
package org.zkoss.jspdemo.bean;
import java.util.Calendar;
/**
* @author ian
*
*/
public class Comment {
private String text;
private int voteValue;
private String userName;
private Calendar postTime;
public Calendar getPostTime() {
return postTime;
}
public void setPostTime(Calendar postTime) {
this.postTime = postTime;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public int getVoteValue() {
return voteValue;
}
public void setVoteValue(int voteValue) {
this.voteValue = voteValue;
}
public Comment(String text, int voteValue, String userName, Calendar postTime) {
super();
this.text = text;
this.voteValue = voteValue;
this.userName = userName;
this.postTime = postTime;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?