All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.zhyd.hunter.entity.VirtualArticle Maven / Gradle / Ivy

Go to download

博客猎手,基于webMagic的博客爬取工具,支持慕课、csdn、iteye、cnblogs、掘金和V2EX等各大主流博客平台。博客千万篇,版权第一条。狩猎不规范,亲人两行泪。

The newest version!
package me.zhyd.hunter.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * @author yadong.zhang (yadong.zhang0415(a)gmail.com)
 * @version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class VirtualArticle {

    private String title;
    private String content;
    private String author;
    private Date releaseDate;
    private String source;
    private String description;
    private String keywords;
    private List tags;

    private Set imageLinks;

    public VirtualArticle setTitle(String title) {
        this.title = title;
        return this;
    }

    public VirtualArticle setContent(String content) {
        this.content = content;
        return this;
    }

    public VirtualArticle setAuthor(String author) {
        this.author = author;
        return this;
    }

    public VirtualArticle setReleaseDate(Date releaseDate) {
        this.releaseDate = releaseDate;
        return this;
    }

    public VirtualArticle setSource(String source) {
        this.source = source;
        return this;
    }

    public VirtualArticle setTags(List tags) {
        this.tags = tags;
        return this;
    }

    public VirtualArticle setDescription(String description) {
        this.description = description;
        return this;
    }

    public VirtualArticle setKeywords(String keywords) {
        this.keywords = keywords;
        return this;
    }

    public VirtualArticle setImageLinks(Set imageLinks) {
        this.imageLinks = imageLinks;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy