Class AnnouncementUserJoin
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.announcements.AnnouncementUserJoin
-
- All Implemented Interfaces:
IridaThing,Join<Announcement,User>,Timestamped<java.lang.Long>,java.lang.Comparable<AnnouncementUserJoin>
@Entity public class AnnouncementUserJoin extends java.lang.Object implements Join<Announcement,User>, java.lang.Comparable<AnnouncementUserJoin>
AnnouncementUserJoinobject This is created whenever aUserhas confirmed that they have read anAnnouncement
-
-
Constructor Summary
Constructors Constructor Description AnnouncementUserJoin()AnnouncementUserJoin(Announcement announcement, User user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(AnnouncementUserJoin other)java.util.DategetCreatedDate()Get the created date of the objectjava.lang.LonggetId()Get the numerical identifier for this objectUsergetObject()Get the owned object in the relationship.AnnouncementgetSubject()Get the owning object in the relationship.java.util.DategetTimestamp()Get the timestamp for this object-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ca.corefacility.bioinformatics.irida.model.IridaThing
getIdentifier, setLabel
-
-
-
-
Constructor Detail
-
AnnouncementUserJoin
public AnnouncementUserJoin()
-
AnnouncementUserJoin
public AnnouncementUserJoin(Announcement announcement, User user)
-
-
Method Detail
-
compareTo
public int compareTo(AnnouncementUserJoin other)
- Specified by:
compareToin interfacejava.lang.Comparable<AnnouncementUserJoin>
-
getCreatedDate
public java.util.Date getCreatedDate()
Description copied from interface:TimestampedGet the created date of the object- Specified by:
getCreatedDatein interfaceTimestamped<java.lang.Long>- Returns:
- A
Dateobject of the created date
-
getTimestamp
public java.util.Date getTimestamp()
Description copied from interface:JoinGet the timestamp for this object- Specified by:
getTimestampin interfaceJoin<Announcement,User>- Returns:
- A
Dateobject of the timestamp
-
getId
public java.lang.Long getId()
Description copied from interface:IridaThingGet the numerical identifier for this object- Specified by:
getIdin interfaceIridaThing- Specified by:
getIdin interfaceTimestamped<java.lang.Long>- Returns:
- the numerical identifier for the object
-
getSubject
public Announcement getSubject()
Description copied from interface:JoinGet the owning object in the relationship.- Specified by:
getSubjectin interfaceJoin<Announcement,User>- Returns:
- the owning object of the relationship.
-
-