Class AnnotationValueObject
java.lang.Object
ubic.gemma.model.common.IdentifiableValueObject<Characteristic>
ubic.gemma.model.common.description.AnnotationValueObject
- All Implemented Interfaces:
Serializable, Identifiable
- Direct Known Subclasses:
DatasetsWebService.AnnotationWithUsageStatisticsValueObject
- Author:
- luke
- See Also:
-
Field Summary
Fields inherited from class IdentifiableValueObject
id -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationValueObject(String categoryUri, String category, String valueUri, String value, Class<?> objectClass) AnnotationValueObject(Characteristic c, Class<?> objectClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanCategory label.Category URI.Predicate label forStatement-backed annotations (e.g.com.fasterxml.jackson.databind.JsonNodeVerbatim provenance backing a curated tag — a JSON array of{quote, source, location, ...}items the curation agents emitted (the agents-sideFindingEvidenceshape).getValue()Label of the annotated term — the value as curated.URI of the annotated term.inthashCode()voidsetCategory(String category) Category label.voidsetCategoryUri(String categoryUri) Category URI.voidsetDescription(String description) voidsetEvidenceCode(String evidenceCode) voidvoidsetObjectClass(String objectClass) voidsetObjectUri(String objectUri) voidsetParentDescription(String parentDescription) voidsetParentLink(String parentLink) voidsetParentName(String parentName) voidsetParentOfParentDescription(String parentOfParentDescription) voidsetParentOfParentLink(String parentOfParentLink) voidsetParentOfParentName(String parentOfParentName) voidsetPredicate(String predicate) Predicate label forStatement-backed annotations (e.g.voidsetPredicateUri(String predicateUri) voidsetSecondObject(String secondObject) voidsetSecondObjectUri(String secondObjectUri) voidsetSecondPredicate(String secondPredicate) voidsetSecondPredicateUri(String secondPredicateUri) voidsetSupportingEvidence(com.fasterxml.jackson.databind.JsonNode supportingEvidence) Verbatim provenance backing a curated tag — a JSON array of{quote, source, location, ...}items the curation agents emitted (the agents-sideFindingEvidenceshape).voidLabel of the annotated term — the value as curated.voidsetValueUri(String valueUri) URI of the annotated term.toString()Methods inherited from class IdentifiableValueObject
getId, setId
-
Constructor Details
-
AnnotationValueObject
public AnnotationValueObject() -
AnnotationValueObject
-
AnnotationValueObject
-
AnnotationValueObject
-
AnnotationValueObject
-
-
Method Details
-
toString
- Overrides:
toStringin classIdentifiableValueObject<Characteristic>
-
getCategoryUri
Category URI. Same field asCharacteristic.getCategoryUri(), under the same name. -
getCategory
Category label. Same field asCharacteristic.getCategory(), under the same name. -
getValueUri
-
getValue
Label of the annotated term — the value as curated. On aStatementrow this is the subject's label, and the predicate / object labels stay in their own fields: this field never carries a composed sentence.FactorValueUtils.getSummaryString(FactorValue)is the separate sentence-builder for display. -
getDescription
-
getEvidenceCode
-
getObjectClass
-
getPredicate
Predicate label forStatement-backed annotations (e.g."has_dose"). Null when the underlying row is a plainCharacteristic. Thepredicate*/object*pair, together with the optionalsecondPredicate*/secondObject*pair, exposes the Statement relational shape to read-side consumers without breaking the Characteristic wire shape —valueUriandvaluecarry the statement's subject URI and label (Statement aliases subject → value internally). -
getPredicateUri
-
getObject
-
getObjectUri
-
getSecondPredicate
-
getSecondPredicateUri
-
getSecondObject
-
getSecondObjectUri
-
getParentName
-
getParentDescription
-
getParentLink
-
getParentOfParentName
-
getParentOfParentDescription
-
getParentOfParentLink
-
getSupportingEvidence
@Nullable public com.fasterxml.jackson.databind.JsonNode getSupportingEvidence()Verbatim provenance backing a curated tag — a JSON array of{quote, source, location, ...}items the curation agents emitted (the agents-sideFindingEvidenceshape). Gemma stores and serves it opaquely, so the agents repo owns the schema. Null when the tag has no recorded evidence (plain/legacy tags, and ontology-term hits that were never accepted from a proposal). -
setCategoryUri
Category URI. Same field asCharacteristic.getCategoryUri(), under the same name. -
setCategory
Category label. Same field asCharacteristic.getCategory(), under the same name. -
setValueUri
-
setValue
Label of the annotated term — the value as curated. On aStatementrow this is the subject's label, and the predicate / object labels stay in their own fields: this field never carries a composed sentence.FactorValueUtils.getSummaryString(FactorValue)is the separate sentence-builder for display. -
setDescription
-
setEvidenceCode
-
setObjectClass
-
setPredicate
Predicate label forStatement-backed annotations (e.g."has_dose"). Null when the underlying row is a plainCharacteristic. Thepredicate*/object*pair, together with the optionalsecondPredicate*/secondObject*pair, exposes the Statement relational shape to read-side consumers without breaking the Characteristic wire shape —valueUriandvaluecarry the statement's subject URI and label (Statement aliases subject → value internally). -
setPredicateUri
-
setObject
-
setObjectUri
-
setSecondPredicate
-
setSecondPredicateUri
-
setSecondObject
-
setSecondObjectUri
-
setParentName
-
setParentDescription
-
setParentLink
-
setParentOfParentName
-
setParentOfParentDescription
-
setParentOfParentLink
-
setSupportingEvidence
public void setSupportingEvidence(@Nullable com.fasterxml.jackson.databind.JsonNode supportingEvidence) Verbatim provenance backing a curated tag — a JSON array of{quote, source, location, ...}items the curation agents emitted (the agents-sideFindingEvidenceshape). Gemma stores and serves it opaquely, so the agents repo owns the schema. Null when the tag has no recorded evidence (plain/legacy tags, and ontology-term hits that were never accepted from a proposal). -
equals
- Overrides:
equalsin classIdentifiableValueObject<Characteristic>
-
canEqual
- Overrides:
canEqualin classIdentifiableValueObject<Characteristic>
-
hashCode
public int hashCode()- Overrides:
hashCodein classIdentifiableValueObject<Characteristic>
-