예제 #1
0
  public void addSearchEngineScore(CvParamProvider searchEngineScore) {

    if (searchEngineScoreAsString == null) {
      searchEngineScoreAsString = new ArrayList<String>();
    }

    searchEngineScoreAsString.add(CvParamHelper.convertToString(searchEngineScore));
  }
예제 #2
0
  public void setSearchEngineScores(List<CvParamProvider> searchEngineScores) {

    if (searchEngineScores == null) return;

    List<String> searchEngineScoreAsString = new ArrayList<String>();

    for (CvParamProvider searchEngineScore : searchEngineScores) {
      searchEngineScoreAsString.add(CvParamHelper.convertToString(searchEngineScore));
    }

    this.searchEngineScoreAsString = searchEngineScoreAsString;
  }