Class Gene2GeneIdAssociation

java.lang.Object
ubic.gemma.model.association.Gene2GeneIdAssociation
Direct Known Subclasses:
Gene2GeneCoexpression

public abstract class Gene2GeneIdAssociation extends Object
Entity representing a relationship between two genes identified by ID, rather than by the Gene entity (for efficiency reasons). The designation of "first" and "second" Long 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
  • Constructor Details

    • Gene2GeneIdAssociation

      public Gene2GeneIdAssociation()
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getFirstGene

      public Long getFirstGene()
    • getId

      public Long getId()
    • getSecondGene

      public Long getSecondGene()