Package ubic.gemma.model.genome.gene
Class GeneSetMember
- java.lang.Object
-
- ubic.gemma.model.common.AbstractIdentifiable
-
- ubic.gemma.model.genome.gene.GeneSetMember
-
- All Implemented Interfaces:
Identifiable
@Indexed public class GeneSetMember extends AbstractIdentifiable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeneSetMember.Factory
-
Constructor Summary
Constructors Constructor Description GeneSetMember()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Important note: Two objects with the same class and non-null ID must be considered equal.Gene
getGene()
Long
getId()
Double
getScore()
int
hashCode()
Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.void
setGene(Gene gene)
void
setScore(Double score)
String
toString()
-
Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
setId
-
-
-
-
Method Detail
-
getId
@DocumentId public Long getId()
- Specified by:
getId
in interfaceIdentifiable
- Overrides:
getId
in classAbstractIdentifiable
-
getGene
@IndexedEmbedded public Gene getGene()
-
setGene
public void setGene(Gene gene)
-
getScore
public Double getScore()
- Returns:
- A generic value that can be used to provide additional information about group membership, to provide rankings of group members for example.
-
setScore
public void setScore(Double score)
-
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
public boolean equals(Object object)
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
public String toString()
- Overrides:
toString
in classAbstractIdentifiable
-
-