Package ubic.gemma.model.genome.gene
Class GeneProductValueObject
- java.lang.Object
-
- ubic.gemma.model.common.IdentifiableValueObject<GeneProduct>
-
- ubic.gemma.model.genome.gene.GeneProductValueObject
-
- All Implemented Interfaces:
Serializable
,Identifiable
public class GeneProductValueObject extends IdentifiableValueObject<GeneProduct>
- Author:
- paul
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class ubic.gemma.model.common.IdentifiableValueObject
id
-
-
Constructor Summary
Constructors Constructor Description GeneProductValueObject()
Required when using the class as a spring bean.GeneProductValueObject(Long id)
GeneProductValueObject(GeneProduct entity)
Populates the VO properties with values from the given entity.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getChromosome()
Long
getGeneId()
String
getName()
String
getNcbiId()
Long
getNucleotideEnd()
Deprecated.Long
getNucleotideStart()
String
getStrand()
void
setChromosome(String chromosome)
void
setGeneId(Long geneId)
void
setName(String name)
void
setNcbiId(String ncbiId)
void
setNucleotideEnd(Long nucleotideEnd)
Deprecated.void
setNucleotideStart(Long nucleotideStart)
void
setStrand(String strand)
-
Methods inherited from class ubic.gemma.model.common.IdentifiableValueObject
getId, setId, toString
-
-
-
-
Constructor Detail
-
GeneProductValueObject
public GeneProductValueObject()
Required when using the class as a spring bean.
-
GeneProductValueObject
public GeneProductValueObject(Long id)
-
GeneProductValueObject
public GeneProductValueObject(GeneProduct entity)
Populates the VO properties with values from the given entity. Checks that physicalLocation is not-null before accessing its properties.- Parameters:
entity
- the GeneProduct to load the values from.
-
-
Method Detail
-
getChromosome
public String getChromosome()
-
setChromosome
public void setChromosome(String chromosome)
-
getGeneId
public Long getGeneId()
-
setGeneId
public void setGeneId(Long geneId)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getNcbiId
public String getNcbiId()
-
setNcbiId
public void setNcbiId(String ncbiId)
-
getNucleotideEnd
@Deprecated public Long getNucleotideEnd()
Deprecated.
-
setNucleotideEnd
@Deprecated public void setNucleotideEnd(Long nucleotideEnd)
Deprecated.
-
getNucleotideStart
public Long getNucleotideStart()
-
setNucleotideStart
public void setNucleotideStart(Long nucleotideStart)
-
getStrand
public String getStrand()
-
setStrand
public void setStrand(String strand)
-
-