Class ExperimentalFactorValueObject
- All Implemented Interfaces:
Serializable, Identifiable
- Author:
- luke, keshav
- See Also:
-
Field Summary
Fields inherited from class IdentifiableValueObject
id -
Constructor Summary
ConstructorsConstructorDescriptionRequired when using the class as a spring bean.ExperimentalFactorValueObject(ExperimentalFactor factor, boolean includeValues) -
Method Summary
Modifier and TypeMethodDescriptionCurator/agent hint about baseline relevance.Free-text rationale paired withbaselineRelevance.Deprecated.getName()intNumber of factor values.getType()voidsetBaselineRelevance(String baselineRelevance) Curator/agent hint about baseline relevance.voidsetBaselineRelevanceReason(String baselineRelevanceReason) Free-text rationale paired withbaselineRelevance.voidsetCategory(String category) voidsetCategoryUri(String categoryUri) voidsetDescription(String description) voidsetFactorValues(String factorValues) Deprecated.voidvoidvoidsetValues(Collection<FactorValueValueObject> values) toString()
-
Constructor Details
-
ExperimentalFactorValueObject
public ExperimentalFactorValueObject()Required when using the class as a spring bean. -
ExperimentalFactorValueObject
-
ExperimentalFactorValueObject
-
ExperimentalFactorValueObject
- Parameters:
includeValues- whether to include factor values or not in the serialization
-
-
Method Details
-
getNumValues
public int getNumValues()Number of factor values. -
getName
-
getDescription
-
getType
-
getCategory
-
getCategoryUri
-
getBaselineRelevance
Curator/agent hint about baseline relevance. Mirrors the curation-uiFactor.baseline_relevancefield."required","not_applicable"and"uncertain"are the values in use;nullwhen the curation pipeline has not set it.The list is documented and not enforced. It used to be a closed
allowableValuesset, which a generated client turns into an enum that fails to deserialize the first response carrying a word the vocabulary has since gained — and this one has moved once already. The write side (DatasetsWebService.FactorCommit.baselineRelevance) accepts an unfamiliar value rather than 400ing it, so advertising a closed set here would promise a constraint the server does not keep. -
getBaselineRelevanceReason
Free-text rationale paired withbaselineRelevance.nullwhen unset. -
getFactorValues
Deprecated. -
getValues
-
setName
-
setDescription
-
setType
-
setCategory
-
setCategoryUri
-
setBaselineRelevance
Curator/agent hint about baseline relevance. Mirrors the curation-uiFactor.baseline_relevancefield."required","not_applicable"and"uncertain"are the values in use;nullwhen the curation pipeline has not set it.The list is documented and not enforced. It used to be a closed
allowableValuesset, which a generated client turns into an enum that fails to deserialize the first response carrying a word the vocabulary has since gained — and this one has moved once already. The write side (DatasetsWebService.FactorCommit.baselineRelevance) accepts an unfamiliar value rather than 400ing it, so advertising a closed set here would promise a constraint the server does not keep. -
setBaselineRelevanceReason
Free-text rationale paired withbaselineRelevance.nullwhen unset. -
setFactorValues
Deprecated. -
setValues
-
toString
- Overrides:
toStringin classIdentifiableValueObject<ExperimentalFactor>
-