Class SortaServiceResponse


  • public class SortaServiceResponse
    extends java.lang.Object
    This function is used to parse the results from OntologyService
    Author:
    chaopang
    • Constructor Summary

      Constructors 
      Constructor Description
      SortaServiceResponse​(java.lang.String message)  
      SortaServiceResponse​(java.util.Map<java.lang.String,​java.lang.Object> inputData, java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> ontologyTerms)  
      SortaServiceResponse​(org.molgenis.data.Entity inputData, java.lang.Iterable<? extends org.molgenis.data.Entity> ontologyTerms)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> getInputData()  
      java.lang.String getMessage()  
      java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> getOntologyTerms()  
      long getTotalHitCount()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SortaServiceResponse

        public SortaServiceResponse​(java.lang.String message)
      • SortaServiceResponse

        public SortaServiceResponse​(org.molgenis.data.Entity inputData,
                                    java.lang.Iterable<? extends org.molgenis.data.Entity> ontologyTerms)
      • SortaServiceResponse

        public SortaServiceResponse​(java.util.Map<java.lang.String,​java.lang.Object> inputData,
                                    java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> ontologyTerms)
    • Method Detail

      • getInputData

        public java.util.Map<java.lang.String,​java.lang.Object> getInputData()
      • getTotalHitCount

        public long getTotalHitCount()
      • getMessage

        public java.lang.String getMessage()
      • getOntologyTerms

        public java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> getOntologyTerms()