Class DatasetsWebService.AnnotationTagInput

java.lang.Object
ubic.gemma.rest.DatasetsWebService.AnnotationTagInput
Enclosing class:
DatasetsWebService

public static class DatasetsWebService.AnnotationTagInput extends Object
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 Details

    • AnnotationTagInput

      public AnnotationTagInput()
  • Method Details

    • getCategory

      public String getCategory()
    • setCategory

      public void setCategory(String category)
    • getCategoryUri

      @Nullable public String getCategoryUri()
    • setCategoryUri

      public void setCategoryUri(@Nullable String categoryUri)
    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • getValueUri

      @Nullable public String getValueUri()
    • setValueUri

      public void setValueUri(@Nullable String valueUri)
    • getPredicate

      @Nullable public String getPredicate()
    • setPredicate

      public void setPredicate(@Nullable String predicate)
    • getPredicateUri

      @Nullable public String getPredicateUri()
    • setPredicateUri

      public void setPredicateUri(@Nullable String predicateUri)
    • getObject

      @Nullable public String getObject()
    • setObject

      public void setObject(@Nullable String object)
    • getObjectUri

      @Nullable public String getObjectUri()
    • setObjectUri

      public void setObjectUri(@Nullable String objectUri)
    • getSecondPredicate

      @Nullable public String getSecondPredicate()
    • setSecondPredicate

      public void setSecondPredicate(@Nullable String secondPredicate)
    • getSecondPredicateUri

      @Nullable public String getSecondPredicateUri()
    • setSecondPredicateUri

      public void setSecondPredicateUri(@Nullable String secondPredicateUri)
    • getSecondObject

      @Nullable public String getSecondObject()
    • setSecondObject

      public void setSecondObject(@Nullable String secondObject)
    • getSecondObjectUri

      @Nullable public String getSecondObjectUri()
    • setSecondObjectUri

      public void setSecondObjectUri(@Nullable String secondObjectUri)
    • getSupportingEvidence

      @Nullable public com.fasterxml.jackson.databind.JsonNode getSupportingEvidence()
    • setSupportingEvidence

      public void setSupportingEvidence(@Nullable com.fasterxml.jackson.databind.JsonNode supportingEvidence)