Class AbstractFactorValueValueObject
- All Implemented Interfaces:
Serializable, Identifiable
- Direct Known Subclasses:
FactorValueBasicValueObject, FactorValueValueObject
This class solely exist to get consistent behavior between the deprecated FactorValueValueObject and its
replacement FactorValueBasicValueObject.
- Author:
- poirigui
- See Also:
-
Field Summary
Fields inherited from class IdentifiableValueObject
id -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedprotectedAbstractFactorValueValueObject(FactorValue fv, boolean includeExperimentalFactor) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanWhether this factor value is a "forced" baseline condition.The characteristics associated with this factor value.The experiment factor category.The ID of the experimental factor this factor value belongs to.The experimental factor type.The measurement associated with this factor value.A unique ontology identifier (i.e.The statements associated with this factor value.Human-readable summary of the factor value.com.fasterxml.jackson.databind.JsonNodeVerbatim provenance backing this factor VALUE — a JSON array of{quote, source, location, …}items the curation agents emitted.inthashCode()booleanIndicate if this FactorValue is a measurement.voidsetBaseline(Boolean baseline) Whether this factor value is a "forced" baseline condition.voidsetCharacteristics(List<CharacteristicValueObject> characteristics) The characteristics associated with this factor value.voidsetExperimentalFactorCategory(CharacteristicValueObject experimentalFactorCategory) The experiment factor category.voidsetExperimentalFactorId(Long experimentalFactorId) The ID of the experimental factor this factor value belongs to.voidsetExperimentalFactorType(String experimentalFactorType) The experimental factor type.voidsetMeasurementObject(MeasurementValueObject measurementObject) The measurement associated with this factor value.voidsetOntologyId(String ontologyId) A unique ontology identifier (i.e.voidsetStatements(List<StatementValueObject> statements) The statements associated with this factor value.voidsetSummary(String summary) Human-readable summary of the factor value.voidsetSupportingEvidence(com.fasterxml.jackson.databind.JsonNode supportingEvidence) Verbatim provenance backing this factor VALUE — a JSON array of{quote, source, location, …}items the curation agents emitted.Methods inherited from class IdentifiableValueObject
getId, setId, toString
-
Constructor Details
-
AbstractFactorValueValueObject
protected AbstractFactorValueValueObject() -
AbstractFactorValueValueObject
-
AbstractFactorValueValueObject
-
-
Method Details
-
isMeasurement
public boolean isMeasurement()Indicate if this FactorValue is a measurement. -
getOntologyId
A unique ontology identifier (i.e. IRI) for this factor value. -
getExperimentalFactorId
The ID of the experimental factor this factor value belongs to. -
getExperimentalFactorType
The experimental factor type. -
getExperimentalFactorCategory
The experiment factor category. -
getMeasurementObject
The measurement associated with this factor value.This is named as such to avoid conflict with
isMeasurement(). -
getCharacteristics
The characteristics associated with this factor value. -
getStatements
The statements associated with this factor value. -
getBaseline
Whether this factor value is a "forced" baseline condition. MirrorsFactorValue.getIsBaseline();nullwhen unset. Ignored for continuous factors. Exposed on the wire asisBaselineso the design read/write round-trip (e.g. the composite curation commit) can carry the baseline flag. -
getSupportingEvidence
@Nullable public com.fasterxml.jackson.databind.JsonNode getSupportingEvidence()Verbatim provenance backing this factor VALUE — a JSON array of{quote, source, location, …}items the curation agents emitted. Gemma stores and serves it opaquely; the agents repo owns the schema.🛑 Not a roll-up of the evidence on
statements, and not a fallback for it. A statement's evidence backs its triple; this backs the value — its label, its baseline flag, its measurement, the samples it covers — and a value carrying no statements at all still has a curator behind those choices. Reading one for the other conflates two levels that a composed factor value keeps apart.Null means nothing was recorded, which is the expected reading for most rows.
-
getSummary
Human-readable summary of the factor value. -
setOntologyId
A unique ontology identifier (i.e. IRI) for this factor value. -
setExperimentalFactorId
The ID of the experimental factor this factor value belongs to. -
setExperimentalFactorType
The experimental factor type. -
setExperimentalFactorCategory
The experiment factor category. -
setMeasurementObject
The measurement associated with this factor value.This is named as such to avoid conflict with
isMeasurement(). -
setCharacteristics
The characteristics associated with this factor value. -
setStatements
The statements associated with this factor value. -
setBaseline
Whether this factor value is a "forced" baseline condition. MirrorsFactorValue.getIsBaseline();nullwhen unset. Ignored for continuous factors. Exposed on the wire asisBaselineso the design read/write round-trip (e.g. the composite curation commit) can carry the baseline flag. -
setSupportingEvidence
public void setSupportingEvidence(@Nullable com.fasterxml.jackson.databind.JsonNode supportingEvidence) Verbatim provenance backing this factor VALUE — a JSON array of{quote, source, location, …}items the curation agents emitted. Gemma stores and serves it opaquely; the agents repo owns the schema.🛑 Not a roll-up of the evidence on
statements, and not a fallback for it. A statement's evidence backs its triple; this backs the value — its label, its baseline flag, its measurement, the samples it covers — and a value carrying no statements at all still has a curator behind those choices. Reading one for the other conflates two levels that a composed factor value keeps apart.Null means nothing was recorded, which is the expected reading for most rows.
-
setSummary
Human-readable summary of the factor value. -
equals
- Overrides:
equalsin classIdentifiableValueObject<FactorValue>
-
canEqual
- Overrides:
canEqualin classIdentifiableValueObject<FactorValue>
-
hashCode
public int hashCode()- Overrides:
hashCodein classIdentifiableValueObject<FactorValue>
-