示例#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;
  }
示例#3
0
  public Iterable<CvParamProvider> getSearchEngineScores() {

    List<CvParamProvider> searchEngineScores = new ArrayList<CvParamProvider>();

    if (searchEngineScoreAsString != null) {
      for (String ses : searchEngineScoreAsString) {
        searchEngineScores.add(CvParamHelper.convertFromString(ses));
      }
    }

    return searchEngineScores;
  }