Package ubic.gemma.model.genome
Class PhysicalLocation
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.genome.ChromosomeLocation
ubic.gemma.model.genome.PhysicalLocation
- All Implemented Interfaces:
Identifiable
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Important note: Two objects with the same class and non-null ID must be considered equal.getBin()
int
hashCode()
Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.void
void
setNucleotide
(Long nucleotide) void
setNucleotideLength
(Integer nucleotideLength) void
toString()
Methods inherited from class ubic.gemma.model.genome.ChromosomeLocation
getChromosome, setChromosome
Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setId
-
Constructor Details
-
PhysicalLocation
public PhysicalLocation()
-
-
Method Details
-
getNucleotide
-
setNucleotide
-
getNucleotideLength
-
setNucleotideLength
-
getStrand
-
setStrand
-
getBin
-
setBin
-
hashCode
public int hashCode()Description copied from class:AbstractIdentifiable
Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Specified by:
hashCode
in classAbstractIdentifiable
-
equals
Description copied from class:AbstractIdentifiable
Important note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.- Specified by:
equals
in classAbstractIdentifiable
-
toString
- Overrides:
toString
in classAbstractIdentifiable
-