Class DatasetsWebService.SampleCharacteristicCommit
java.lang.Object
ubic.gemma.rest.DatasetsWebService.EntityRef
ubic.gemma.rest.DatasetsWebService.SampleCharacteristicCommit
- Enclosing class:
DatasetsWebService
public static class DatasetsWebService.SampleCharacteristicCommit
extends DatasetsWebService.EntityRef
One per-sample characteristic (CAB
SampleCharacteristicCommit); the sample is a GSM short name.
🛑 Same keep-marker rule as DatasetsWebService.TagCommit: these fields describe a new characteristic, and putting any
of them on a gemmaId item is a 400. bioassayShortName included — a keep-marker cannot move
a characteristic to another sample.
- Author:
- tesarst
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanDeprecated.The sample this characteristic belongs to, byBioMaterialid.com.fasterxml.jackson.databind.JsonNodeVerbatim provenance for this sample characteristic.getValue()inthashCode()voidsetBioassayShortName(String bioassayShortName) Deprecated.usebioMaterialId, for the reasons onDatasetsWebService.FactorValueCommit.getBiomaterialShortNames().voidsetBioMaterialId(Long bioMaterialId) The sample this characteristic belongs to, byBioMaterialid.voidvoidsetSupportingEvidence(com.fasterxml.jackson.databind.JsonNode supportingEvidence) Verbatim provenance for this sample characteristic.voidtoString()Methods inherited from class DatasetsWebService.EntityRef
getClientRef, getGemmaId, setClientRef, setGemmaId
-
Constructor Details
-
SampleCharacteristicCommit
public SampleCharacteristicCommit()
-
-
Method Details
-
getBioassayShortName
Deprecated.usebioMaterialId, for the reasons onDatasetsWebService.FactorValueCommit.getBiomaterialShortNames(). -
getBioMaterialId
The sample this characteristic belongs to, byBioMaterialid. Authoritative when present:bioassayShortNameis ignored on the same item.Same reason the design section takes ids — a non-GEO dataset has no accession, and a single-cell sub-bioassay has none by construction, so a name-only contract cannot address every sample. One of the two is required on a new item.
-
getCategory
-
getValue
-
getSupportingEvidence
@Nullable public com.fasterxml.jackson.databind.JsonNode getSupportingEvidence()Verbatim provenance for this sample characteristic. Same shape and same null = "no change" convention asDatasetsWebService.StatementCommit.getSupportingEvidence(). -
setBioassayShortName
Deprecated.usebioMaterialId, for the reasons onDatasetsWebService.FactorValueCommit.getBiomaterialShortNames(). -
setBioMaterialId
The sample this characteristic belongs to, byBioMaterialid. Authoritative when present:bioassayShortNameis ignored on the same item.Same reason the design section takes ids — a non-GEO dataset has no accession, and a single-cell sub-bioassay has none by construction, so a name-only contract cannot address every sample. One of the two is required on a new item.
-
setCategory
-
setValue
-
setSupportingEvidence
public void setSupportingEvidence(@Nullable com.fasterxml.jackson.databind.JsonNode supportingEvidence) Verbatim provenance for this sample characteristic. Same shape and same null = "no change" convention asDatasetsWebService.StatementCommit.getSupportingEvidence(). -
toString
- Overrides:
toStringin classDatasetsWebService.EntityRef
-
equals
- Overrides:
equalsin classDatasetsWebService.EntityRef
-
canEqual
- Overrides:
canEqualin classDatasetsWebService.EntityRef
-
hashCode
public int hashCode()- Overrides:
hashCodein classDatasetsWebService.EntityRef
-
bioMaterialId, for the reasons onDatasetsWebService.FactorValueCommit.getBiomaterialShortNames().