Class Gene2GeneIdAssociation

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    Gene2GeneCoexpression

    public abstract class Gene2GeneIdAssociation
    extends Object
    implements Serializable
    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
    See Also:
    Serialized Form
    • Constructor Detail

      • Gene2GeneIdAssociation

        public Gene2GeneIdAssociation()
    • Method Detail

      • hashCode

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

        public Long getFirstGene()
      • getId

        public Long getId()
      • getSecondGene

        public Long getSecondGene()