resultitem.java

来自「java写的blog」· Java 代码 · 共 41 行

JAVA
41
字号
/*
 * Created on 2004-11-2
 * Author: Xuefeng, Copyright (C) 2004, Xuefeng.
 */
package org.crystalblog.search;

/**
 * Search result.
 * 
 * @author Xuefeng
 */
public class ResultItem {

    private String articleId;
    private String title;
    private String summary;
    private String content;

    private String createdDate;
    private String updatedDate;

    public ResultItem(String articleId, String title, String summary, String content,
            String createdDate, String updatedDate)
    {
        this.articleId = articleId;
        this.title = title;
        this.summary = summary;
        this.content = content;
        this.createdDate = createdDate;
        this.updatedDate = updatedDate;
    }

    public String getArticleId() { return articleId; }
    public String getTitle() { return title; }
    public String getSummary() { return summary; }
    public String getContent() { return content; }

    public String getCreatedDate() { return createdDate; }
    public String getUpdatedDate() { return updatedDate; }
}

⌨️ 快捷键说明

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