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 boolean
equals(java.lang.Object o)
java.util.Date
getCreatedDate()
Get the created date of the objectjava.lang.Long
getId()
Get the numerical identifier for this objectjava.lang.String
getLabel()
By default, we will return the label of the subject of the join.ReferenceFile
getObject()
Get the owned object in the relationship.Project
getSubject()
Get the owning object in the relationship.java.util.Date
getTimestamp()
Get the timestamp for this objectint
hashCode()
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getLabel
public java.lang.String getLabel()
Description copied from interface:Join
By default, we will return the label of the subject of the join.- Specified by:
getLabel
in interfaceIridaThing
- Specified by:
getLabel
in interfaceJoin<Project,ReferenceFile>
- Returns:
- The label of the object
-
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
-
getSubject
public Project getSubject()
Description copied from interface:Join
Get the owning object in the relationship.- Specified by:
getSubject
in interfaceJoin<Project,ReferenceFile>
- Returns:
- the owning object of the relationship.
-
getObject
public ReferenceFile getObject()
Description copied from interface:Join
Get the owned object in the relationship.- Specified by:
getObject
in interfaceJoin<Project,ReferenceFile>
- Returns:
- the owned object of the relationship.
-
getTimestamp
public java.util.Date getTimestamp()
Description copied from interface:Join
Get the timestamp for this object- Specified by:
getTimestamp
in interfaceJoin<Project,ReferenceFile>
- Returns:
- A
Date
object of the timestamp
-
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
-
-