📄 guestbook.java
字号:
package net.javafan.guestbook.data;public class GuestBook { // --------------------------------------------------------- Instance Variables /** content property */ private String content; /** homepage property */ private String homepage; /** username property */ private String username; /** email property */ private String email; /** oicq property */ private String oicq; /** face property */ private String face; /** userip property */ private String userip; /** adddate property */ private String adddate; /** reply property */ private String reply; /** replydate property */ private String replydate; /** id property */ private int id; // --------------------------------------------------------- Methods /** * Returns the content. * @return String */ public String getContent() { return content; } /** * Set the content. * @param content The content to set */ public void setContent(String content) { this.content = content; } /** * Returns the homepage. * @return String */ public String getHomepage() { return homepage; } /** * Set the homepage. * @param homepage The homepage to set */ public void setHomepage(String homepage) { this.homepage = homepage; } /** * Returns the username. * @return String */ public String getUsername() { return username; } /** * Set the username. * @param username The username to set */ public void setUsername(String username) { this.username = username; } /** * Returns the email. * @return String */ public String getEmail() { return email; } /** * Set the email. * @param email The email to set */ public void setEmail(String email) { this.email = email; } /** * Returns the oicq. * @return String */ public String getOicq() { return oicq; } /** * Set the oicq. * @param oicq The oicq to set */ public void setOicq(String oicq) { this.oicq = oicq; } /** * Returns the face. * @return String */ public String getFace() { return face; } /** * Set the face. * @param face The face to set */ public void setFace(String face) { this.face = face; } /** * Returns the userip. * @return String */ public String getUserip() { return userip; } /** * Set the userip. * @param userip The userip to set */ public void setUserip(String userip) { this.userip = userip; } /** * Returns the adddate. * @return String */ public String getAdddate() { return adddate; } /** * Set the adddate. * @param adddate The adddate to set */ public void setAdddate(String adddate) { this.adddate = adddate; } /** * Returns the reply. * @return String */ public String getReply() { return reply; } /** * Set the reply. * @param reply The reply to set */ public void setReply(String reply) { this.reply = reply; } /** * Returns the replydate. * @return String */ public String getReplydate() { return replydate; } /** * Set the replydate. * @param replydate The replydate to set */ public void setReplydate(String replydate) { this.replydate = replydate; } /** * Returns the replydate. * @return String */ public int getId() { return id; } /** * Set the id. * @param id The id to set */ public void setId(int id) { this.id = id; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -