Class SingleCellDimensionValueObject
java.lang.Object
ubic.gemma.model.common.IdentifiableValueObject<SingleCellDimension>
ubic.gemma.model.expression.bioAssayData.SingleCellDimensionValueObject
- All Implemented Interfaces:
Serializable,Identifiable
Value object for a single-cell dimension.
BioAssays are unpacked into a list of IDs. This is suitable because this object is displayed in the context
of an ExpressionExperimentValueObject and its associated BioAssayValueObject.
- Author:
- poirigui
- See Also:
-
Field Summary
Fields inherited from class ubic.gemma.model.common.IdentifiableValueObject
id -
Constructor Summary
ConstructorsConstructorDescriptionSingleCellDimensionValueObject(SingleCellDimension singleCellDimension, boolean excludeBioAssayIds, boolean excludeCellTypeIds, boolean excludeCharacteristicIds) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanA list ofBioAssayIDs that are applicable to the cells.Cell identifiers.All the other cell-level characteristics.All the cell type assignments.intNumber of cells.intDeprecated.inthashCode()voidsetBioAssayIds(List<Long> bioAssayIds) A list ofBioAssayIDs that are applicable to the cells.voidsetCellIds(List<String> cellIds) Cell identifiers.voidsetCellLevelCharacteristics(Set<CellLevelCharacteristicsValueObject> cellLevelCharacteristics) All the other cell-level characteristics.voidsetCellTypeAssignments(Set<CellTypeAssignmentValueObject> cellTypeAssignments) All the cell type assignments.voidsetNumberOfCellIds(int numberOfCellIds) Number of cells.toString()Methods inherited from class ubic.gemma.model.common.IdentifiableValueObject
getId, setId
-
Constructor Details
-
SingleCellDimensionValueObject
public SingleCellDimensionValueObject(SingleCellDimension singleCellDimension, boolean excludeBioAssayIds, boolean excludeCellTypeIds, boolean excludeCharacteristicIds)
-
-
Method Details
-
getNumberOfCells
Deprecated.usegetNumberOfCellIds()instead -
getCellIds
Cell identifiers.This may be null if cell IDs are explicitly omitted (i.e.
ExpressionExperimentDao.getPreferredSingleCellDimensionWithoutCellIds(ExpressionExperiment)), in which case it will not be serialized in JSON. -
getNumberOfCellIds
public int getNumberOfCellIds()Number of cells.This is always equal to the length of
cellIds. -
getBioAssayIds
A list ofBioAssayIDs that are applicable to the cells. -
getCellTypeAssignments
All the cell type assignments. -
getCellLevelCharacteristics
All the other cell-level characteristics. -
setCellIds
Cell identifiers.This may be null if cell IDs are explicitly omitted (i.e.
ExpressionExperimentDao.getPreferredSingleCellDimensionWithoutCellIds(ExpressionExperiment)), in which case it will not be serialized in JSON. -
setNumberOfCellIds
public void setNumberOfCellIds(int numberOfCellIds) Number of cells.This is always equal to the length of
cellIds. -
setBioAssayIds
A list ofBioAssayIDs that are applicable to the cells. -
setCellTypeAssignments
All the cell type assignments. -
setCellLevelCharacteristics
public void setCellLevelCharacteristics(Set<CellLevelCharacteristicsValueObject> cellLevelCharacteristics) All the other cell-level characteristics. -
toString
- Overrides:
toStringin classIdentifiableValueObject<SingleCellDimension>
-
equals
- Overrides:
equalsin classIdentifiableValueObject<SingleCellDimension>
-
canEqual
- Overrides:
canEqualin classIdentifiableValueObject<SingleCellDimension>
-
hashCode
public int hashCode()- Overrides:
hashCodein classIdentifiableValueObject<SingleCellDimension>
-
getNumberOfCellIds()instead