Class GeneCoexpressionTestedIn

  • All Implemented Interfaces:
    Serializable

    public class GeneCoexpressionTestedIn
    extends IdArray
    Tracks the datasets in which coexpression for a gene has been tested. Determining if two genes were tested together requires using the and() method.
    Author:
    Paul
    See Also:
    Serialized Form
    • Constructor Detail

      • GeneCoexpressionTestedIn

        public GeneCoexpressionTestedIn()
      • GeneCoexpressionTestedIn

        public GeneCoexpressionTestedIn​(Long geneId)
    • Method Detail

      • addEntity

        public void addEntity​(Long ds)
        Description copied from class: IdArray
        Add the data set to the list of those which are in the array. If it is already included, nothing will change.
        Overrides:
        addEntity in class IdArray
        Parameters:
        ds - this is cast to an int
      • getNumIds

        public int getNumIds()
        Overrides:
        getNumIds in class IdArray
        Returns:
        how many datasets there are
      • removeEntity

        public void removeEntity​(Long ds)
        Overrides:
        removeEntity in class IdArray
        Parameters:
        ds - ID of dataset to remove. If it isn't here, has no effect.
      • getGeneId

        public Long getGeneId()
      • getNumDatasetsTestedIn

        public int getNumDatasetsTestedIn()
      • setNumDatasetsTestedIn

        public void setNumDatasetsTestedIn​(int numDatasetsTestedIn)
        Used for serializing/marshalling only. Do not set this value directly otherwise.
        Parameters:
        numDatasetsTestedIn - the new value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object