Class AnnouncementUserReadDetails
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.ria.web.announcements.dto.AnnouncementUserReadDetails
-
- All Implemented Interfaces:
java.lang.Comparable<AnnouncementUserReadDetails>
public class AnnouncementUserReadDetails extends java.lang.Object implements java.lang.Comparable<AnnouncementUserReadDetails>
Data transfer object for retrieving announcement details from a sql query.
-
-
Constructor Summary
Constructors Constructor Description AnnouncementUserReadDetails(java.lang.Long announcementID, java.lang.String title, boolean priority, java.util.Date createdDate, java.util.Date readDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(AnnouncementUserReadDetails other)
java.lang.Long
getAnnouncementID()
java.util.Date
getCreatedDate()
boolean
getPriority()
java.util.Date
getReadDate()
java.lang.String
getTitle()
boolean
isRead()
-
-
-
Method Detail
-
compareTo
public int compareTo(AnnouncementUserReadDetails other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<AnnouncementUserReadDetails>
-
getAnnouncementID
public java.lang.Long getAnnouncementID()
-
getTitle
public java.lang.String getTitle()
-
getPriority
public boolean getPriority()
-
getCreatedDate
public java.util.Date getCreatedDate()
-
getReadDate
public java.util.Date getReadDate()
-
isRead
public boolean isRead()
-
-