Interface LayerNameMapper
-
- All Known Implementing Classes:
SimpleLayerNameMapper
public interface LayerNameMapperInterface defining the mapping of image layer names (i.e. singleStringidentifiers) to aDatasetID and a Variable ID- Author:
- Guy Griffiths
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDatasetIdFromLayerName(String layerName)Returns aDatasetbased on a given image layer nameStringgetLayerName(String datasetId, String variableId)Returns the image layer name based on the dataset and variable IDStringgetVariableIdFromLayerName(String layerName)Returns a variable ID based on a given image layer name
-
-
-
Method Detail
-
getDatasetIdFromLayerName
String getDatasetIdFromLayerName(String layerName) throws EdalLayerNotFoundException
Returns aDatasetbased on a given image layer name- Parameters:
layerName- The name of the image layer- Returns:
- The ID of the desired dataset
- Throws:
EdalLayerNotFoundException
-
getVariableIdFromLayerName
String getVariableIdFromLayerName(String layerName) throws EdalLayerNotFoundException
Returns a variable ID based on a given image layer name- Parameters:
layerName- The name of the image layer- Returns:
- The ID of the variable (within its
Dataset) - Throws:
EdalLayerNotFoundException- if the given layer name does not exist within this catalogue
-
-