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 theEnhancedVariableMetadatawhich contains default plotting options etc.- Author:
- Guy Griffiths
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCopyright()PlottingStyleParametersgetDefaultPlottingParameters()StringgetDescription()StringgetId()StringgetMoreInfo()DatasetConfiggetParentDataset()StringgetTitle()booleanisDisabled()booleanisDownloadable()booleanisQueryable()voidsetColorScaleRange(Extent<Float> colorScaleRange)voidsetDisabled(boolean disabled)voidsetId(String id)voidsetNumColorBands(int numColorBands)voidsetPaletteName(String paletteName)voidsetScaling(String scaling)voidsetTitle(String title)
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceEnhancedVariableMetadata- Returns:
- The ID of the configured variable within its
Dataset
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfaceEnhancedVariableMetadata- Returns:
- The title of this layer to be displayed in the menu and the Capabilities document
-
getDefaultPlottingParameters
public PlottingStyleParameters getDefaultPlottingParameters()
- Specified by:
getDefaultPlottingParametersin interfaceEnhancedVariableMetadata- Returns:
- The default plot settings for this variable - this may not return
null, but any of the defined methods within the returnedPlottingStyleParametersobject may do.
-
isQueryable
public boolean isQueryable()
- Specified by:
isQueryablein interfaceEnhancedVariableMetadata- Returns:
- Whether or not this layer can be queried with GetFeatureInfo requests
-
isDownloadable
public boolean isDownloadable()
- Specified by:
isDownloadablein interfaceEnhancedVariableMetadata- Returns:
- Whether or not this layer can be downloaded in CSV/CoverageJSON format
-
isDisabled
public boolean isDisabled()
- Specified by:
isDisabledin interfaceEnhancedVariableMetadata- Returns:
- Whether this layer is disabled
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceEnhancedVariableMetadata- Returns:
- A brief description of this layer to be displayed in the Capabilities document
-
getCopyright
public String getCopyright()
- Specified by:
getCopyrightin interfaceEnhancedVariableMetadata- Returns:
- Copyright information about this layer to be displayed be clients
-
getMoreInfo
public String getMoreInfo()
- Specified by:
getMoreInfoin 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()
-
-