Class GeneCoexpressionTestedIn
- java.lang.Object
-
- ubic.gemma.model.analysis.expression.coexpression.IdArray
-
- ubic.gemma.model.analysis.expression.coexpression.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 Summary
Constructors Constructor Description GeneCoexpressionTestedIn()
GeneCoexpressionTestedIn(Long geneId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntity(Long ds)
Add the data set to the list of those which are in the array.boolean
equals(Object obj)
Long
getGeneId()
int
getNumDatasetsTestedIn()
int
getNumIds()
int
hashCode()
void
removeEntity(Long ds)
void
setNumDatasetsTestedIn(int numDatasetsTestedIn)
Used for serializing/marshalling only.String
toString()
-
Methods inherited from class ubic.gemma.model.analysis.expression.coexpression.IdArray
addEntities, and, andSet, getBytes, getIds, getIdsSet, isIncluded, setBytes
-
-
-
-
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.
-
getNumIds
public int getNumIds()
-
removeEntity
public void removeEntity(Long ds)
- Overrides:
removeEntity
in classIdArray
- 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
-
-