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 aSampleand aSequencingObject
-
-
Constructor Summary
Constructors Constructor Description SampleSequencingObjectJoin(Sample subject, SequencingObject object)
-
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 objectSequencingObjectgetObject()Get the owned object in the relationship.SamplegetSubject()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
-
SampleSequencingObjectJoin
public SampleSequencingObjectJoin(Sample subject, SequencingObject object)
-
-
Method Detail
-
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
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getSubject
public Sample getSubject()
Description copied from interface:JoinGet the owning object in the relationship.- Specified by:
getSubjectin interfaceJoin<Sample,SequencingObject>- Returns:
- the owning object of the relationship.
-
getObject
public SequencingObject getObject()
Description copied from interface:JoinGet the owned object in the relationship.- Specified by:
getObjectin interfaceJoin<Sample,SequencingObject>- 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<Sample,SequencingObject>- 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
-
-