Class ProjectEvent
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.event.ProjectEvent
-
- All Implemented Interfaces:
IridaThing
,Timestamped<java.lang.Long>
- Direct Known Subclasses:
DataAddedToSampleProjectEvent
,SampleAddedProjectEvent
,SampleRemovedProjectEvent
,UserGroupRemovedProjectEvent
,UserGroupRoleSetProjectEvent
,UserRemovedProjectEvent
,UserRoleSetProjectEvent
@Entity public abstract class ProjectEvent extends java.lang.Object implements IridaThing
Class storing events that happen on aProject
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProjectEvent()
ProjectEvent(Project project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.util.Date
getCreatedDate()
Get the created date of the objectjava.lang.Long
getId()
Get the numerical identifier for this objectProject
getProject()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ca.corefacility.bioinformatics.irida.model.IridaThing
getIdentifier, getLabel, setLabel
-
-
-
-
Constructor Detail
-
ProjectEvent
protected ProjectEvent()
-
ProjectEvent
public ProjectEvent(Project project)
-
-
Method Detail
-
getCreatedDate
public java.util.Date getCreatedDate()
Description copied from interface:Timestamped
Get the created date of the object- Specified by:
getCreatedDate
in interfaceTimestamped<java.lang.Long>
- Returns:
- A
Date
object of the created date
-
getId
public java.lang.Long getId()
Description copied from interface:IridaThing
Get the numerical identifier for this object- Specified by:
getId
in interfaceIridaThing
- Specified by:
getId
in interfaceTimestamped<java.lang.Long>
- Returns:
- the numerical identifier for the object
-
getProject
public Project getProject()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-