Class DatasetsWebService.AnnotationTagInput
java.lang.Object
ubic.gemma.rest.DatasetsWebService.AnnotationTagInput
- Enclosing class:
DatasetsWebService
Write-shape for an annotation tag.
category and value are required;
categoryUri and valueUri are optional ontology pointers. This is the JSON shape
the curation-agents client sends; mapped to a Characteristic server-side.
When any of the eight optional predicate* / object* / secondPredicate* /
secondObject* fields is non-null the row is materialised as a Statement instead
of a plain Characteristic, with value / valueUri interpreted as the
statement's subject (Statement aliases subject ↔ value internally). The wire field set mirrors
what the read-side AnnotationValueObject exposes for Statement-backed annotations, so
a round-trip GET → PUT preserves the statement shape.
- Author:
- tesarst
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodegetValue()voidsetCategory(String category) voidsetCategoryUri(String categoryUri) voidvoidsetObjectUri(String objectUri) voidsetPredicate(String predicate) voidsetPredicateUri(String predicateUri) voidsetSecondObject(String secondObject) voidsetSecondObjectUri(String secondObjectUri) voidsetSecondPredicate(String secondPredicate) voidsetSecondPredicateUri(String secondPredicateUri) voidsetSupportingEvidence(com.fasterxml.jackson.databind.JsonNode supportingEvidence) voidvoidsetValueUri(String valueUri)
-
Constructor Details
-
AnnotationTagInput
public AnnotationTagInput()
-
-
Method Details
-
getCategory
-
setCategory
-
getCategoryUri
-
setCategoryUri
-
getValue
-
setValue
-
getValueUri
-
setValueUri
-
getPredicate
-
setPredicate
-
getPredicateUri
-
setPredicateUri
-
getObject
-
setObject
-
getObjectUri
-
setObjectUri
-
getSecondPredicate
-
setSecondPredicate
-
getSecondPredicateUri
-
setSecondPredicateUri
-
getSecondObject
-
setSecondObject
-
getSecondObjectUri
-
setSecondObjectUri
-
getSupportingEvidence
@Nullable public com.fasterxml.jackson.databind.JsonNode getSupportingEvidence() -
setSupportingEvidence
public void setSupportingEvidence(@Nullable com.fasterxml.jackson.databind.JsonNode supportingEvidence)
-