Class VariableConfig
- java.lang.Object
-
- uk.ac.rdg.resc.edal.catalogue.jaxb.VariableConfig
-
- All Implemented Interfaces:
EnhancedVariableMetadata
public class VariableConfig extends Object implements EnhancedVariableMetadata
A class representing a variable in the XML config. This contains all of the information needed to define theEnhancedVariableMetadata
which contains default plotting options etc.- Author:
- Guy Griffiths
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCopyright()
PlottingStyleParameters
getDefaultPlottingParameters()
String
getDescription()
String
getId()
String
getMoreInfo()
DatasetConfig
getParentDataset()
String
getTitle()
boolean
isDisabled()
boolean
isDownloadable()
boolean
isQueryable()
void
setColorScaleRange(Extent<Float> colorScaleRange)
void
setDisabled(boolean disabled)
void
setId(String id)
void
setNumColorBands(int numColorBands)
void
setPaletteName(String paletteName)
void
setScaling(String scaling)
void
setTitle(String title)
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceEnhancedVariableMetadata
- Returns:
- The ID of the configured variable within its
Dataset
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceEnhancedVariableMetadata
- Returns:
- The title of this layer to be displayed in the menu and the Capabilities document
-
getDefaultPlottingParameters
public PlottingStyleParameters getDefaultPlottingParameters()
- Specified by:
getDefaultPlottingParameters
in interfaceEnhancedVariableMetadata
- Returns:
- The default plot settings for this variable - this may not return
null
, but any of the defined methods within the returnedPlottingStyleParameters
object may do.
-
isQueryable
public boolean isQueryable()
- Specified by:
isQueryable
in interfaceEnhancedVariableMetadata
- Returns:
- Whether or not this layer can be queried with GetFeatureInfo requests
-
isDownloadable
public boolean isDownloadable()
- Specified by:
isDownloadable
in interfaceEnhancedVariableMetadata
- Returns:
- Whether or not this layer can be downloaded in CSV/CoverageJSON format
-
isDisabled
public boolean isDisabled()
- Specified by:
isDisabled
in interfaceEnhancedVariableMetadata
- Returns:
- Whether this layer is disabled
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceEnhancedVariableMetadata
- Returns:
- A brief description of this layer to be displayed in the Capabilities document
-
getCopyright
public String getCopyright()
- Specified by:
getCopyright
in interfaceEnhancedVariableMetadata
- Returns:
- Copyright information about this layer to be displayed be clients
-
getMoreInfo
public String getMoreInfo()
- Specified by:
getMoreInfo
in interfaceEnhancedVariableMetadata
- Returns:
- More information about this layer to be displayed be clients
-
setId
public void setId(String id)
-
setTitle
public void setTitle(String title)
-
setPaletteName
public void setPaletteName(String paletteName)
-
setScaling
public void setScaling(String scaling)
-
setNumColorBands
public void setNumColorBands(int numColorBands)
-
setDisabled
public void setDisabled(boolean disabled)
-
getParentDataset
public DatasetConfig getParentDataset()
-
-