public void addSearchEngineScore(CvParamProvider searchEngineScore) { if (searchEngineScoreAsString == null) { searchEngineScoreAsString = new ArrayList<String>(); } searchEngineScoreAsString.add(CvParamHelper.convertToString(searchEngineScore)); }
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; }
public Iterable<CvParamProvider> getSearchEngineScores() { List<CvParamProvider> searchEngineScores = new ArrayList<CvParamProvider>(); if (searchEngineScoreAsString != null) { for (String ses : searchEngineScoreAsString) { searchEngineScores.add(CvParamHelper.convertFromString(ses)); } } return searchEngineScores; }