You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
943 B
48 lines
943 B
package ru.defend.defdevteam.tstu;
|
|
|
|
/**
|
|
* Created by itsmy on 19.02.2017.
|
|
*/
|
|
public class NewsItemGroup {
|
|
protected String title;
|
|
protected String text;
|
|
protected String link;
|
|
protected String fullText;
|
|
protected int viewID;
|
|
|
|
public NewsItemGroup(String title, String text, String link) {
|
|
this.fullText = "";
|
|
this.text = text;
|
|
this.title = title;
|
|
this.link = link;
|
|
this.viewID = -1;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return this.title;
|
|
}
|
|
|
|
public String getText() {
|
|
return this.text;
|
|
}
|
|
|
|
public String getLink() {
|
|
return this.link;
|
|
}
|
|
|
|
public void setFullText(String fullText) {
|
|
this.fullText = fullText;
|
|
}
|
|
|
|
public String getFullText() {
|
|
return this.fullText;
|
|
}
|
|
|
|
public int getViewID() {
|
|
return viewID;
|
|
}
|
|
|
|
public void setViewID(int viewID) {
|
|
this.viewID = viewID;
|
|
}
|
|
}
|
|
|