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 intcompareTo(Object o)booleanequals(Object object)Returnstrueif the argument is an ChromosomeLocation instance and all identifiers for this entity equal the identifiers of the argument entity.ChromosomegetChromosome()LonggetId()inthashCode()Returns a hash code based on this entity's identifiers.voidsetChromosome(Chromosome chromosome)voidsetId(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)
Returnstrueif the argument is an ChromosomeLocation instance and all identifiers for this entity equal the identifiers of the argument entity. Returnsfalseotherwise.
-
getChromosome
public Chromosome getChromosome()
-
setChromosome
public void setChromosome(Chromosome chromosome)
-
getId
public Long getId()
- Specified by:
getIdin interfaceIdentifiable
-
setId
public void setId(Long id)
-
-