Package thredds.server.wms
Class TdsEnhancedVariableMetadata
- java.lang.Object
-
- thredds.server.wms.TdsEnhancedVariableMetadata
-
- All Implemented Interfaces:
uk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata
public class TdsEnhancedVariableMetadata extends Object implements uk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata
Use the custom settings in wmsConfig.xml to set default visualization values based on:- global defaults
- TDS URL Path based defaults
- Standard Name based defaults
- variable name based defaults
-
-
Constructor Summary
Constructors Constructor Description TdsEnhancedVariableMetadata(ThreddsWmsCatalogue layer, uk.ac.rdg.resc.edal.metadata.VariableMetadata metadata)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCopyright()uk.ac.rdg.resc.edal.graphics.utils.PlottingStyleParametersgetDefaultPlottingParameters()StringgetDescription()StringgetId()StringgetMoreInfo()StringgetTitle()booleanisDisabled()booleanisDownloadable()booleanisQueryable()static voidsetWmsConfig(WmsConfigBean config)
-
-
-
Constructor Detail
-
TdsEnhancedVariableMetadata
public TdsEnhancedVariableMetadata(ThreddsWmsCatalogue layer, uk.ac.rdg.resc.edal.metadata.VariableMetadata metadata)
-
-
Method Detail
-
setWmsConfig
public static void setWmsConfig(WmsConfigBean config)
-
getId
public String getId()
- Specified by:
getIdin interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- The ID of the variable this
EnhancedVariableMetadatais associated with
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- The title of this layer to be displayed in the menu and the Capabilities document
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- A brief description of this layer to be displayed in the Capabilities document
-
getCopyright
public String getCopyright()
- Specified by:
getCopyrightin interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- Copyright information about this layer to be displayed be clients
-
getMoreInfo
public String getMoreInfo()
- Specified by:
getMoreInfoin interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- More information about this layer to be displayed be clients
-
getDefaultPlottingParameters
public uk.ac.rdg.resc.edal.graphics.utils.PlottingStyleParameters getDefaultPlottingParameters()
- Specified by:
getDefaultPlottingParametersin interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- 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 interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- Whether or not this layer can be queried with GetFeatureInfo requests
-
isDownloadable
public boolean isDownloadable()
- Specified by:
isDownloadablein interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- Whether or not this layer can be downloaded in CSV/CoverageJSON format
-
isDisabled
public boolean isDisabled()
- Specified by:
isDisabledin interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- Whether this layer is disabled
-
-