persist entry author

This commit is contained in:
Athou
2013-05-19 06:47:37 +02:00
parent bf8f25af92
commit f59198e018
4 changed files with 29 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ public class Entry implements Serializable {
entry.setGuid(feedEntry.getGuid());
entry.setTitle(feedEntry.getContent().getTitle());
entry.setContent(feedEntry.getContent().getContent());
entry.setAuthor(feedEntry.getAuthor());
entry.setEnclosureUrl(status.getEntry().getContent().getEnclosureUrl());
entry.setEnclosureType(status.getEntry().getContent()
.getEnclosureType());
@@ -73,6 +74,9 @@ public class Entry implements Serializable {
@ApiProperty("entry content")
private String content;
@ApiProperty("entry author")
private String author;
@ApiProperty("entry enclosure url, if any")
private String enclosureUrl;
@@ -215,4 +219,12 @@ public class Entry implements Serializable {
this.feedLink = feedLink;
}
public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
}