Class AnnotationsWebService.ExampleUsageValueObject

java.lang.Object
ubic.gemma.rest.AnnotationsWebService.ExampleUsageValueObject
Enclosing class:
AnnotationsWebService

public static final class AnnotationsWebService.ExampleUsageValueObject extends Object
A single representative usage of a searched term, for showing a hit in context. Field names mirror ANNOTATION_PARENT_CONTEXT: parentName is the owning value (e.g. the factor value), parentOfParentName is the owning category (e.g. the factor), and the statement triple (predicate/object/second*) is carried when the usage is statement-backed. level is one of ExperimentTag / FactorValue / BioMaterial; sourceExperimentId is the accessible dataset the example came from.
Author:
tesarst
  • Constructor Details

    • ExampleUsageValueObject

      public ExampleUsageValueObject(@Nullable String level, @Nullable String parentName, @Nullable String parentOfParentName, @Nullable String parentOfParentUri, @Nullable String predicate, @Nullable String predicateUri, @Nullable String object, @Nullable String objectUri, @Nullable String secondPredicate, @Nullable String secondPredicateUri, @Nullable String secondObject, @Nullable String secondObjectUri, @Nullable Long sourceExperimentId)
  • Method Details

    • getLevel

      @Nullable public String getLevel()
    • getParentName

      @Nullable public String getParentName()
    • getParentOfParentName

      @Nullable public String getParentOfParentName()
    • getParentOfParentUri

      @Nullable public String getParentOfParentUri()
    • getPredicate

      @Nullable public String getPredicate()
    • getPredicateUri

      @Nullable public String getPredicateUri()
    • getObject

      @Nullable public String getObject()
    • getObjectUri

      @Nullable public String getObjectUri()
    • getSecondPredicate

      @Nullable public String getSecondPredicate()
    • getSecondPredicateUri

      @Nullable public String getSecondPredicateUri()
    • getSecondObject

      @Nullable public String getSecondObject()
    • getSecondObjectUri

      @Nullable public String getSecondObjectUri()
    • getSourceExperimentId

      @Nullable public Long getSourceExperimentId()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object