package de.metalmatze.krautreporter.models;

import java.util.Date;

public interface Article {

    Long getId();
    Long save();

    String getUuid();
    void setUuid(String uuid);

    String getTitle();
    void setTitle(String title);

    Date getDate();
    void setDate(Date date);

    String getLink();
    void setLink(String link);

    String getImage();
    void setImage(String image);

    String getExcerpt();
    void setExcerpt(String excerpt);

    String getContent();
    void setContent(String content);
}

@@ -49,275 +49,1432 @@
 ort 
-java.util.Date;%0A%0Apublic interface Article %7B%0A%0A    Long getId();%0A    Long save();%0A%0A    String getUuid();%0A    void setUuid(String uuid);%0A%0A    String getTitle();%0A    void setTitle(String title);%0A%0A    Date getDate();%0A    void setDate(D
+io.realm.RealmObject;%0Aimport io.realm.annotations.Index;%0Aimport io.realm.annotations.PrimaryKey;%0A%0Apublic class Article extends RealmObject %7B%0A%0A    @PrimaryKey%0A    private int id;%0A%0A    private int order;%0A%0A    private String title;%0A%0A    private String headline;%0A%0A    private String date;%0A%0A    private boolean morgenpost;%0A%0A    @Index%0A    private String url;%0A%0A    private String image;%0A%0A    private String excerpt;%0A%0A    private String content;%0A%0A    private int author;%0A%0A    private String created_at;%0A%0A    private String updated_at;%0A%0A    public int getId() %7B%0A        return id;%0A    %7D%0A%0A    public void setId(int id) %7B%0A        this.id = id;%0A    %7D%0A%0A    public int getOrder() %7B%0A        return order;%0A    %7D%0A%0A    public void setOrder(int order) %7B%0A        this.order = order;%0A    %7D%0A%0A    public String getTitle() %7B%0A        return title;%0A    %7D%0A%0A    public void setTitle(String title) %7B%0A        this.title = title;%0A    %7D%0A%0A    public String getHeadline() %7B%0A        return headline;%0A    %7D%0A%0A    public void setHeadline(String headline) %7B%0A        this.headline = headline;%0A    %7D%0A%0A    public String getDate() %7B%0A        return date;%0A    %7D%0A%0A    public void setDate(String date) %7B%0A        this.d
 ate
+ =
  date
-);%0A%0A    String getLink();%0A   
+;%0A    %7D%0A%0A    public boolean isMorgenpost() %7B%0A        return morgenpost;%0A    %7D%0A%0A    public void setMorgenpost(boolean morgenpost) %7B%0A        this.morgenpost = morgenpost;%0A    %7D%0A%0A    public String getUrl() %7B%0A        return url;%0A    %7D%0A%0A    public
  voi
@@ -1482,20 +1482,19 @@
  set
-Link
+Url
 (String 
 link
@@ -1493,196 +1493,943 @@
 ing 
-link);%0A%0A    String getImage();%0A    void setImage(String image);%0A%0A    String getExcerpt();%0A    void setExcerpt(String excerpt);%0A%0A    String getContent();%0A    void setContent(String content);
+url) %7B%0A        this.url = url;%0A    %7D%0A%0A    public String getImage() %7B%0A        return image;%0A    %7D%0A%0A    public void setImage(String image) %7B%0A        this.image = image;%0A    %7D%0A%0A    public String getExcerpt() %7B%0A        return excerpt;%0A    %7D%0A%0A    public void setExcerpt(String excerpt) %7B%0A        this.excerpt = excerpt;%0A    %7D%0A%0A    public String getContent() %7B%0A        return content;%0A    %7D%0A%0A    public void setContent(String content) %7B%0A        this.content = content;%0A    %7D%0A%0A    public int getAuthor() %7B%0A        return author;%0A    %7D%0A%0A    public void setAuthor(int author) %7B%0A        this.author = author;%0A    %7D%0A%0A    public String getCreated_at() %7B%0A        return created_at;%0A    %7D%0A%0A    public void setCreated_at(String created_at) %7B%0A        this.created_at = created_at;%0A    %7D%0A%0A    public String getUpdated_at() %7B%0A        return updated_at;%0A    %7D%0A%0A    public void setUpdated_at(String updated_at) %7B%0A        this.updated_at = updated_at;%0A    %7D
 %0A%7D%0A

Create a Article extend RealmObject