001: /*
002: * This program is free software; you can redistribute it and/or modify
003: * it under the terms of the GNU General Public License as published by
004: * the Free Software Foundation; either version 2 of the License, or
005: * (at your option) any later version.
006: *
007: * This program is distributed in the hope that it will be useful,
008: * but WITHOUT ANY WARRANTY; without even the implied warranty of
009: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
010: * GNU Library General Public License for more details.
011: *
012: * You should have received a copy of the GNU General Public License
013: * along with this program; if not, write to the Free Software
014: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
015: */
016: package dlog4j.formbean;
017:
018: import java.util.Date;
019:
020: /**
021: * 网页收藏夹,也就是友情链接,对应dlog_favorite表中的一条记录
022: * @author Liudong
023: */
024: public class FavoriteForm extends DlogActionForm {
025:
026: SiteForm site;
027: int id;
028: String title;
029: String detail;
030: String url;
031:
032: /**
033: * 友情链接的样式,值包括:HTML,RDF,RSS,ATOM
034: */
035: String mode = "HTML";
036:
037: /**
038: * 是否在新窗口打开,1,在新窗口打开; 0,在本窗口打开
039: */
040: int openInNewWindow;
041: Date createTime;
042: int order;
043:
044: public SiteForm getSite() {
045: return site;
046: }
047:
048: public void setSite(SiteForm site) {
049: this .site = site;
050: }
051:
052: public Date getCreateTime() {
053: return createTime;
054: }
055:
056: public void setCreateTime(Date createTime) {
057: this .createTime = createTime;
058: }
059:
060: public String getDetail() {
061: return detail;
062: }
063:
064: public void setDetail(String detail) {
065: this .detail = detail;
066: }
067:
068: public int getId() {
069: return id;
070: }
071:
072: public void setId(int id) {
073: this .id = id;
074: }
075:
076: public int getOpenInNewWindow() {
077: return openInNewWindow;
078: }
079:
080: public void setOpenInNewWindow(int openInNewWindow) {
081: this .openInNewWindow = openInNewWindow;
082: }
083:
084: public int getOrder() {
085: return order;
086: }
087:
088: public void setOrder(int order) {
089: this .order = order;
090: }
091:
092: public String getTitle() {
093: return title;
094: }
095:
096: public void setTitle(String title) {
097: this .title = title;
098: }
099:
100: public String getUrl() {
101: return url;
102: }
103:
104: public void setUrl(String url) {
105: this .url = url;
106: }
107:
108: public String getMode() {
109: return mode;
110: }
111:
112: public void setMode(String mode) {
113: this.mode = mode;
114: }
115: }
|