Class SortaServiceResponse
- java.lang.Object
-
- org.molgenis.ontology.sorta.request.SortaServiceResponse
-
public class SortaServiceResponse extends java.lang.ObjectThis 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.StringgetMessage()java.util.List<java.util.Map<java.lang.String,java.lang.Object>>getOntologyTerms()longgetTotalHitCount()
-
-
-
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()
-
-