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 voidaddEntity(Long ds)Add the data set to the list of those which are in the array.booleanequals(Object obj)LonggetGeneId()intgetNumDatasetsTestedIn()intgetNumIds()inthashCode()voidremoveEntity(Long ds)voidsetNumDatasetsTestedIn(int numDatasetsTestedIn)Used for serializing/marshalling only.StringtoString()-
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:IdArrayAdd 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:
removeEntityin 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
-
-