Class OverrepresentedSequence
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.sequenceFile.OverrepresentedSequence
-
- All Implemented Interfaces:
IridaThing
,Timestamped<java.lang.Long>
,java.lang.Comparable<OverrepresentedSequence>
@Entity public class OverrepresentedSequence extends java.lang.Object implements IridaThing, java.lang.Comparable<OverrepresentedSequence>
ASequenceFile
may have 0 or more over-represented sequences.
-
-
Constructor Summary
Constructors Constructor Description OverrepresentedSequence(java.lang.String sequence, int count, java.math.BigDecimal percentage, java.lang.String possibleSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(OverrepresentedSequence o)
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()
Get a human readable label for this object.int
getOverrepresentedSequenceCount()
java.math.BigDecimal
getPercentage()
java.lang.String
getPossibleSource()
java.lang.String
getSequence()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ca.corefacility.bioinformatics.irida.model.IridaThing
getIdentifier, setLabel
-
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
compareTo
public int compareTo(OverrepresentedSequence o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<OverrepresentedSequence>
-
getSequence
public java.lang.String getSequence()
-
getOverrepresentedSequenceCount
public int getOverrepresentedSequenceCount()
-
getPercentage
public java.math.BigDecimal getPercentage()
-
getPossibleSource
public java.lang.String getPossibleSource()
-
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
-
getLabel
public java.lang.String getLabel()
Description copied from interface:IridaThing
Get a human readable label for this object.- Specified by:
getLabel
in interfaceIridaThing
- Returns:
- a human-readable label for the object.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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
-
-