Class SampleSequencingObjectJoin
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.sample.SampleSequencingObjectJoin
-
- All Implemented Interfaces:
IridaThing
,Join<Sample,SequencingObject>
,Timestamped<java.lang.Long>
@Entity public class SampleSequencingObjectJoin extends java.lang.Object implements Join<Sample,SequencingObject>
Relationship between aSample
and aSequencingObject
-
-
Constructor Summary
Constructors Constructor Description SampleSequencingObjectJoin(Sample subject, SequencingObject object)
-
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 objectSequencingObject
getObject()
Get the owned object in the relationship.Sample
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
-
SampleSequencingObjectJoin
public SampleSequencingObjectJoin(Sample subject, SequencingObject object)
-
-
Method Detail
-
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
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getSubject
public Sample getSubject()
Description copied from interface:Join
Get the owning object in the relationship.- Specified by:
getSubject
in interfaceJoin<Sample,SequencingObject>
- Returns:
- the owning object of the relationship.
-
getObject
public SequencingObject getObject()
Description copied from interface:Join
Get the owned object in the relationship.- Specified by:
getObject
in interfaceJoin<Sample,SequencingObject>
- 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<Sample,SequencingObject>
- 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
-
-