public class EchoBaseResultRepository extends Object implements ResultRepository
| Modifier and Type | Field and Description |
|---|---|
protected String |
id
Unique id of the result repository.
|
protected com.google.common.base.Function<File,String> |
mapFileToSpeciesCode
Transform a map result species file to the species code.
|
protected FilenameFilter |
mapSpeciesFilenameFilter
Filter map result species file.
|
protected EchoBaseProject |
project
Project definition.
|
protected com.google.common.base.Function<String,String> |
speciesCodeToMapFile
Transform a species code to his map result species filename.
|
protected SpeciesMap |
speciesMap
Cache of species definition.
|
| Constructor and Description |
|---|
EchoBaseResultRepository(EchoBaseProject project) |
protected final EchoBaseProject project
protected final com.google.common.base.Function<File,String> mapFileToSpeciesCode
protected final com.google.common.base.Function<String,String> speciesCodeToMapFile
protected final FilenameFilter mapSpeciesFilenameFilter
protected SpeciesMap speciesMap
protected final String id
public EchoBaseResultRepository(EchoBaseProject project)
public String getId()
getId in interface ResultRepositorypublic EchoBaseResultRepositoryType getResultRepositoryType()
getResultRepositoryType in interface ResultRepositorypublic File getBasedir()
getBasedir in interface ResultRepositorypublic String getProjectName()
getProjectName in interface ResultRepositorypublic String getSurveyName()
getSurveyName in interface ResultRepositorypublic String getZone()
getZone in interface ResultRepositorypublic boolean isMapsResult()
isMapsResult in interface ResultRepositorypublic boolean isIndicatorsResult()
isIndicatorsResult in interface ResultRepositorypublic boolean isDataResult()
isDataResult in interface ResultRepositorypublic boolean isPubliableResult()
isPubliableResult in interface ResultRepositorypublic EchoBaseProject getProject()
public boolean matchFacade(CoserRequestFacadeAware request)
public boolean matchZone(CoserRequestZoneAware request)
public boolean matchZone(CoserRequestZoneListAware request)
public boolean matchRepositoryType(CoserRequestRepositoryTypeAware request)
public boolean matchResultType(CoserRequestRepositoryResultTypeAware request)
public boolean matchExtractTypeList(CoserRequestExtractTypeListAware request)
public boolean matchCommunity(com.google.common.base.Predicate<String[]> predicate)
public boolean matchPopulation(com.google.common.base.Predicate<String[]> predicate)
public SpeciesMap getSpeciesMap()
public DataStorage getPopulationIndicatorStorage()
public DataStorage getCommunityIndicatorStorage()
Copyright © 2010–2015 Ifremer. All rights reserved.