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 protectedProjectEvent()ProjectEvent(Project project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)java.util.DategetCreatedDate()Get the created date of the objectjava.lang.LonggetId()Get the numerical identifier for this objectProjectgetProject()-
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:TimestampedGet the created date of the object- Specified by:
getCreatedDatein interfaceTimestamped<java.lang.Long>- Returns:
- A
Dateobject of the created date
-
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
-
getProject
public Project getProject()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-