Android Open Source - Krautreporter Article Model






From Project

Back to project page Krautreporter.

License

The source code is released under:

MIT License

If you think the Android project Krautreporter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package de.metalmatze.krautreporter.models;
/* w  ww .j av a  2 s .  com*/
import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;

import java.util.Date;

@Table(name = "articles")
public class ArticleModel extends Model {

    @Column(name = "uuid", index = true, unique = true)
    public String uuid;

    @Column(name = "title")
    public String title;

    @Column(name = "date")
    public Date date;

    @Column(name = "link")
    public String link;

    @Column(name = "image")
    public String image;

    @Column(name = "excerpt")
    public String excerpt;

    @Column(name = "content")
    public String content;

}




Java Source Code List

de.metalmatze.krautreporter.KrautreporterRssParser.java
de.metalmatze.krautreporter.activities.ArticleActivity.java
de.metalmatze.krautreporter.activities.MainActivity.java
de.metalmatze.krautreporter.adapters.ArticlesAdapter.java
de.metalmatze.krautreporter.entities.Article.java
de.metalmatze.krautreporter.helpers.RssRequest.java
de.metalmatze.krautreporter.models.ArticleModel.java
de.metalmatze.krautreporter.services.ArticleService.java