Class BioAssayFieldCountValueObject
- All Implemented Interfaces:
Serializable
BioAssay field, and how many carry it.
The unit is a dataset: a list of these summarises one field across every assay the dataset has, so the
counts sum to the dataset's numberOfBioAssays. That is what makes the list readable as a
distribution rather than a sample of one — a single-entry list says the field is constant, and a
two-entry list says exactly how the dataset splits.
- Author:
- paul
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBioAssayFieldCountValueObject(String value, int numberOfBioAssays) Creates a newBioAssayFieldCountValueObjectinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintHow many of the dataset's assays carryvalue.getValue()The value itself, spelled exactly as the per-assay field spells it inBioAssayValueObject— so a client can compare the two without a mapping table.inthashCode()voidsetNumberOfBioAssays(int numberOfBioAssays) How many of the dataset's assays carryvalue.voidThe value itself, spelled exactly as the per-assay field spells it inBioAssayValueObject— so a client can compare the two without a mapping table.toString()
-
Constructor Details
-
BioAssayFieldCountValueObject
public BioAssayFieldCountValueObject() -
BioAssayFieldCountValueObject
Creates a newBioAssayFieldCountValueObjectinstance.- Parameters:
value- The value itself, spelled exactly as the per-assay field spells it inBioAssayValueObject— so a client can compare the two without a mapping table.nullis a value here, not an absence: assays that carry nothing for the field are counted under a null-valued entry rather than dropped. Dropping them would make the counts stop summing to the dataset's assay count, and would render a microarray dataset'slibrarySelection— null on every assay, because the technology has no selection step — as an empty list, which reads as "no assays" instead of "no value".numberOfBioAssays- How many of the dataset's assays carryvalue. Never zero.
-
-
Method Details
-
toString
-
getValue
The value itself, spelled exactly as the per-assay field spells it inBioAssayValueObject— so a client can compare the two without a mapping table.nullis a value here, not an absence: assays that carry nothing for the field are counted under a null-valued entry rather than dropped. Dropping them would make the counts stop summing to the dataset's assay count, and would render a microarray dataset'slibrarySelection— null on every assay, because the technology has no selection step — as an empty list, which reads as "no assays" instead of "no value". -
getNumberOfBioAssays
public int getNumberOfBioAssays()How many of the dataset's assays carryvalue. Never zero. -
setValue
The value itself, spelled exactly as the per-assay field spells it inBioAssayValueObject— so a client can compare the two without a mapping table.nullis a value here, not an absence: assays that carry nothing for the field are counted under a null-valued entry rather than dropped. Dropping them would make the counts stop summing to the dataset's assay count, and would render a microarray dataset'slibrarySelection— null on every assay, because the technology has no selection step — as an empty list, which reads as "no assays" instead of "no value". -
setNumberOfBioAssays
public void setNumberOfBioAssays(int numberOfBioAssays) How many of the dataset's assays carryvalue. Never zero. -
equals
-
canEqual
-
hashCode
-