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

📄 post.java

📁 用java编写的留言版
💻 JAVA
字号:
package com.bitterjava.bbs;

/**
 * Insert the type's description here.
 * Creation date: (9/26/2001 3:38:24 PM)
 * @author: Brady Flowers
 */
public class Post implements java.io.Serializable {
	private int postID;
	private java.lang.String author;
	private java.sql.Date date;
	private java.lang.String subject;
	private java.lang.String text;
/**
 * Post constructor comment.
 */
public Post() {
	super();
}
/**
 * Insert the method's description here.
 * Creation date: (9/26/2001 3:39:48 PM)
 * @return java.lang.String
 */
public java.lang.String getAuthor() {
	return author;
}
/**
 * Insert the method's description here.
 * Creation date: (9/26/2001 3:40:05 PM)
 * @return java.sql.Date
 */
public java.sql.Date getDate() {
	return date;
}
/**
 * Insert the method's description here.
 * Creation date: (9/26/2001 3:39:34 PM)
 * @return int
 */
public int getPostID() {
	return postID;
}
/**
 * Insert the method's description here.
 * Creation date: (9/26/2001 3:40:16 PM)
 * @return java.lang.String
 */
public java.lang.String getSubject() {
	return subject;
}
/**
 * Insert the method's description here.
 * Creation date: (9/26/2001 3:40:32 PM)
 * @return java.lang.String
 */
public java.lang.String getText() {
	return text;
}
/**
 * Insert the method's description here.
 * Creation date: (9/26/2001 3:39:48 PM)
 * @param newAuthor java.lang.String
 */
public void setAuthor(java.lang.String newAuthor) {
	author = newAuthor;
}
/**
 * Insert the method's description here.
 * Creation date: (9/26/2001 3:40:05 PM)
 * @param newDate java.sql.Date
 */
public void setDate(java.sql.Date newDate) {
	date = newDate;
}
/**
 * Insert the method's description here.
 * Creation date: (9/26/2001 4:03:15 PM)
 * @param postID int
 */
public void setPostID(int postID) {
	this.postID = postID;
}
/**
 * Insert the method's description here.
 * Creation date: (9/26/2001 3:40:16 PM)
 * @param newSubject java.lang.String
 */
public void setSubject(java.lang.String newSubject) {
	subject = newSubject;
}
/**
 * Insert the method's description here.
 * Creation date: (9/26/2001 3:40:32 PM)
 * @param newText java.lang.String
 */
public void setText(java.lang.String newText) {
	text = newText;
}
}

⌨️ 快捷键说明

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