Package org.deri.grefine.reconcile.model

Examples of org.deri.grefine.reconcile.model.ReconciliationResponse


  public ObjectNode getMultipleResponse(ImmutableMap<String,ReconciliationResponse> multiResponse, PrefixManager prefixManager) {
    ObjectMapper mapper = new ObjectMapper();
    ObjectNode multiResponseObj = mapper.createObjectNode();
    for(Entry<String, ReconciliationResponse> entry: multiResponse.entrySet()){
      String key = entry.getKey();
      ReconciliationResponse response  = entry.getValue();
      multiResponseObj.put(key, getResponse(response,prefixManager));
    }
   
    return multiResponseObj;
  }
View Full Code Here


  public ImmutableList<SearchResultItem> suggestEntity(String prefix) {
    throw new UnsupportedOperationException("Sindice Reconciliation service cannot suggest entity");
  }

  private ReconciliationResponse wrapCandidates(List<? extends ReconciliationCandidate> candidates){
    ReconciliationResponse response = new ReconciliationResponse();
    response.setResults(candidates);
    return response;
  }
View Full Code Here

    String html = writer.toString();
    return html;
  }
 
  private ReconciliationResponse wrapCandidates(List<ReconciliationCandidate> candidates){
    ReconciliationResponse response = new ReconciliationResponse();
    response.setResults(candidates);
    return response;
  }
View Full Code Here

TOP

Related Classes of org.deri.grefine.reconcile.model.ReconciliationResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.