Package ubic.gemma.model.association
Class Gene2GeneAssociation
- java.lang.Object
-
- ubic.gemma.model.association.Gene2GeneAssociation
-
- All Implemented Interfaces:
Serializable
,Identifiable
public abstract class Gene2GeneAssociation extends Object implements Identifiable, Serializable
Entity representing a relationship between two genes. The designation of "first" and "second" gene is by default completely arbitrary, there is no direction to the association defined by this. However, a direction can be imposed by the implementing subclass. Ideally subclasses are immutable, but this is not always possible. It can be done when the data is never updated but just loaded in anew.- Author:
- paul
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Gene2GeneAssociation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Gene
getFirstGene()
Long
getId()
Gene
getSecondGene()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getFirstGene
public Gene getFirstGene()
-
getId
public Long getId()
- Specified by:
getId
in interfaceIdentifiable
-
getSecondGene
public Gene getSecondGene()
-
-