Package ubic.gemma.model.genome
Class ChromosomeLocation
- java.lang.Object
-
- ubic.gemma.model.genome.ChromosomeLocation
-
- All Implemented Interfaces:
Serializable
,Identifiable
- Direct Known Subclasses:
PhysicalLocation
public abstract class ChromosomeLocation extends Object implements Identifiable, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChromosomeLocation()
No-arg constructor added to satisfy javabean contract
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract int
compareTo(Object o)
boolean
equals(Object object)
Returnstrue
if the argument is an ChromosomeLocation instance and all identifiers for this entity equal the identifiers of the argument entity.Chromosome
getChromosome()
Long
getId()
int
hashCode()
Returns a hash code based on this entity's identifiers.void
setChromosome(Chromosome chromosome)
void
setId(Long id)
-
-
-
Method Detail
-
compareTo
public abstract int compareTo(Object o)
-
hashCode
public int hashCode()
Returns a hash code based on this entity's identifiers.
-
equals
public boolean equals(Object object)
Returnstrue
if the argument is an ChromosomeLocation instance and all identifiers for this entity equal the identifiers of the argument entity. Returnsfalse
otherwise.
-
getChromosome
public Chromosome getChromosome()
-
setChromosome
public void setChromosome(Chromosome chromosome)
-
getId
public Long getId()
- Specified by:
getId
in interfaceIdentifiable
-
setId
public void setId(Long id)
-
-