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
public class PhysicalLocation extends ChromosomeLocation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPhysicalLocation.Factory
-
Constructor Summary
Constructors Constructor Description PhysicalLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)Important note: Two objects with the same class and non-null ID must be considered equal.IntegergetBin()LonggetNucleotide()IntegergetNucleotideLength()StringgetStrand()inthashCode()Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.voidsetBin(Integer bin)voidsetNucleotide(Long nucleotide)voidsetNucleotideLength(Integer nucleotideLength)voidsetStrand(String strand)StringtoString()-
Methods inherited from class ubic.gemma.model.genome.ChromosomeLocation
getChromosome, setChromosome
-
Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setId
-
-
-
-
Method Detail
-
getNucleotide
public Long getNucleotide()
-
setNucleotide
public void setNucleotide(Long nucleotide)
-
getNucleotideLength
public Integer getNucleotideLength()
-
setNucleotideLength
public void setNucleotideLength(Integer nucleotideLength)
-
getStrand
public String getStrand()
-
setStrand
public void setStrand(String strand)
-
hashCode
public int hashCode()
Description copied from class:AbstractIdentifiableImportant note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Specified by:
hashCodein classAbstractIdentifiable
-
equals
public boolean equals(Object object)
Description copied from class:AbstractIdentifiableImportant 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:
equalsin classAbstractIdentifiable
-
toString
public String toString()
- Overrides:
toStringin classAbstractIdentifiable
-
-