@@ -0,0 +1,1174 @@
+package gr.iti.mklab.framework.common.domain;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport gr.iti.mklab.framework.common.domain.MediaItem;%0A%0Apublic class Article extends JSONable %7B%0A%0A%09%0A%09/**%0A%09 * %0A%09 */%0A%09private static final long serialVersionUID = 7880711718654107043L;%0A%09%0A%09private String title = null;%0A%09private String text = null;%0A%09private String%5B%5D tags = null;%0A%09%0A%09private boolean isLowQuality = true;%0A%09%0A%09private List%3CMediaItem%3E mediaItems = new ArrayList%3CMediaItem%3E();%0A%09%0A%09public Article() %7B%0A%09%09%0A%09%7D%0A%09%0A%09public Article(String title, String text) %7B%0A%09%09this.title = title;%0A%09%09this.text = text;%0A%09%7D%0A%09%0A%09public void addMediaItem(MediaItem mediaItem) %7B%0A%09%09this.mediaItems.add(mediaItem);%0A%09%7D%0A%09%0A%09public String getTitle() %7B%0A%09%09return title;%0A%09%7D%0A%0A%09public String getText() %7B%0A%09%09return text;%0A%09%7D%0A%09%0A%09public String%5B%5D getTags() %7B%0A%09%09return tags;%0A%09%7D%0A%0A%09public void setTags(String%5B%5D tags) %7B%0A%09%09this.tags = tags;%0A%09%7D%0A%09%0A%09public List%3CMediaItem%3E getMediaItems() %7B%0A%09%09return mediaItems; %0A%09%7D%0A%0A%09public boolean isLowQuality() %7B%0A%09%09return this.isLowQuality;%0A%09%7D%0A%09%0A%09public void setLowQuality(boolean isLowQuality) %7B%0A%09%09this.isLowQuality = isLowQuality;%0A%09%7D%0A%09%0A%09public String toString() %7B%0A%09%09return title;%0A%09%7D%0A%09%0A%7D%0A

Add article object