Class NcWmsLayerMetadata

  • All Implemented Interfaces:
    Serializable

    public class NcWmsLayerMetadata
    extends Object
    implements Serializable
    The Class NcWmsLayerMetadata.
    Author:
    Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it Dec 18, 2015
    See Also:
    Serialized Form
    • Constructor Detail

      • NcWmsLayerMetadata

        public NcWmsLayerMetadata()
        Instantiates a new nc wms layer metadata.
      • NcWmsLayerMetadata

        public NcWmsLayerMetadata​(int responseCode,
                                  String defaultPalette,
                                  List<String> supportedStyles,
                                  List<String> palettes,
                                  LayerZAxis zAxis,
                                  String json)
        Instantiates a new nc wms layer metadata.
        Parameters:
        responseCode - the response code
        defaultPalette - the default palette
        supportedStyles - the supported styles
        palettes - the palettes
        zAxis - the z axis
        json - the json
    • Method Detail

      • setRawJson

        public void setRawJson​(String jsonTxt)
        Sets the raw json.
        Parameters:
        jsonTxt - the new raw json
      • getRawJson

        public String getRawJson()
        Gets the raw json.
        Returns:
        the rawJson
      • getDefaultPalette

        public String getDefaultPalette()
        Gets the default palette.
        Returns:
        the defaultPalette
      • getSupportedStyles

        public List<String> getSupportedStyles()
        Gets the supported styles.
        Returns:
        the supportedStyles
      • getPalettes

        public List<String> getPalettes()
        Gets the palettes.
        Returns:
        the palettes
      • getZAxis

        public LayerZAxis getZAxis()
        Gets the z axis.
        Returns:
        the zAxis
      • setZAxis

        public void setZAxis​(LayerZAxis zAxis)
        Sets the z axis.
        Parameters:
        zAxis - the zAxis to set
      • setDefaultPalette

        public void setDefaultPalette​(String defaultPalette)
        Sets the default palette.
        Parameters:
        defaultPalette - the defaultPalette to set
      • setSupportedStyles

        public void setSupportedStyles​(List<String> supportedStyles)
        Sets the supported styles.
        Parameters:
        supportedStyles - the supportedStyles to set
      • getResponseCode

        public int getResponseCode()
        Gets the response code.
        Returns:
        the responseCode
      • setResponseCode

        public void setResponseCode​(int responseCode)
        Sets the response code.
        Parameters:
        responseCode - the responseCode to set
      • setPalettes

        public void setPalettes​(List<String> palettes)
        Sets the palettes.
        Parameters:
        palettes - the palettes to set