mirror of https://github.com/ThmmyNoLife/mTHMMY
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.
47 lines
1.0 KiB
47 lines
1.0 KiB
package gr.thmmy.mthmmy.model;
|
|
|
|
public class Topic extends TopicSummary {
|
|
private final String lastPostUrl, stats;
|
|
private final boolean locked, sticky;
|
|
|
|
public Topic(String topicUrl, String subject, String starter, String lastPost, String lastPostUrl,
|
|
String stats, boolean locked, boolean sticky) {
|
|
super(topicUrl, subject, starter, lastPost);
|
|
this.lastPostUrl = lastPostUrl;
|
|
this.stats = stats;
|
|
this.locked = locked;
|
|
this.sticky = sticky;
|
|
}
|
|
|
|
public String getUrl() {
|
|
return topicUrl;
|
|
}
|
|
|
|
public String getSubject() {
|
|
return subject;
|
|
}
|
|
|
|
public String getStarter() {
|
|
return lastUser;
|
|
}
|
|
|
|
public String getLastPost() {
|
|
return dateTimeModified;
|
|
}
|
|
|
|
public String getLastPostUrl() {
|
|
return lastPostUrl;
|
|
}
|
|
|
|
public String getStats() {
|
|
return stats;
|
|
}
|
|
|
|
public boolean isLocked() {
|
|
return locked;
|
|
}
|
|
|
|
public boolean isSticky() {
|
|
return sticky;
|
|
}
|
|
}
|
|
|