Class ProjectReferenceFileJoin
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.project.ProjectReferenceFileJoin
-
- All Implemented Interfaces:
IridaThing,Join<Project,ReferenceFile>,Timestamped<java.lang.Long>
@Entity public class ProjectReferenceFileJoin extends java.lang.Object implements Join<Project,ReferenceFile>
-
-
Constructor Summary
Constructors Constructor Description ProjectReferenceFileJoin()ProjectReferenceFileJoin(Project project, ReferenceFile referenceFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.DategetCreatedDate()Get the created date of the objectjava.lang.LonggetId()Get the numerical identifier for this objectjava.lang.StringgetLabel()By default, we will return the label of the subject of the join.ReferenceFilegetObject()Get the owned object in the relationship.ProjectgetSubject()Get the owning object in the relationship.java.util.DategetTimestamp()Get the timestamp for this objectinthashCode()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ca.corefacility.bioinformatics.irida.model.IridaThing
getIdentifier, setLabel
-
-
-
-
Constructor Detail
-
ProjectReferenceFileJoin
public ProjectReferenceFileJoin()
-
ProjectReferenceFileJoin
public ProjectReferenceFileJoin(Project project, ReferenceFile referenceFile)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getLabel
public java.lang.String getLabel()
Description copied from interface:JoinBy default, we will return the label of the subject of the join.- Specified by:
getLabelin interfaceIridaThing- Specified by:
getLabelin interfaceJoin<Project,ReferenceFile>- Returns:
- The label of the object
-
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 Project getSubject()
Description copied from interface:JoinGet the owning object in the relationship.- Specified by:
getSubjectin interfaceJoin<Project,ReferenceFile>- Returns:
- the owning object of the relationship.
-
getObject
public ReferenceFile getObject()
Description copied from interface:JoinGet the owned object in the relationship.- Specified by:
getObjectin interfaceJoin<Project,ReferenceFile>- Returns:
- the owned object of the relationship.
-
getTimestamp
public java.util.Date getTimestamp()
Description copied from interface:JoinGet the timestamp for this object- Specified by:
getTimestampin interfaceJoin<Project,ReferenceFile>- Returns:
- A
Dateobject of the timestamp
-
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
-
-