public class NcWmsLayerMetadata extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
NcWmsLayerMetadata.METADATA |
Constructor and Description |
---|
NcWmsLayerMetadata()
Instantiates a new nc wms layer metadata.
|
NcWmsLayerMetadata(int responseCode,
String defaultPalette,
List<String> supportedStyles,
List<String> palettes,
LayerZAxis zAxis,
String json)
Instantiates a new nc wms layer metadata.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultPalette()
Gets the default palette.
|
List<String> |
getPalettes()
Gets the palettes.
|
String |
getRawJson()
Gets the raw json.
|
int |
getResponseCode()
Gets the response code.
|
List<String> |
getSupportedStyles()
Gets the supported styles.
|
LayerZAxis |
getZAxis()
Gets the z axis.
|
void |
setDefaultPalette(String defaultPalette)
Sets the default palette.
|
void |
setPalettes(List<String> palettes)
Sets the palettes.
|
void |
setRawJson(String jsonTxt)
Sets the raw json.
|
void |
setResponseCode(int responseCode)
Sets the response code.
|
void |
setSupportedStyles(List<String> supportedStyles)
Sets the supported styles.
|
void |
setZAxis(LayerZAxis zAxis)
Sets the z axis.
|
String |
toString() |
public NcWmsLayerMetadata()
public NcWmsLayerMetadata(int responseCode, String defaultPalette, List<String> supportedStyles, List<String> palettes, LayerZAxis zAxis, String json)
responseCode
- the response codedefaultPalette
- the default palettesupportedStyles
- the supported stylespalettes
- the paletteszAxis
- the z axisjson
- the jsonpublic void setRawJson(String jsonTxt)
jsonTxt
- the new raw jsonpublic String getRawJson()
public String getDefaultPalette()
public List<String> getSupportedStyles()
public LayerZAxis getZAxis()
public void setZAxis(LayerZAxis zAxis)
zAxis
- the zAxis to setpublic void setDefaultPalette(String defaultPalette)
defaultPalette
- the defaultPalette to setpublic void setSupportedStyles(List<String> supportedStyles)
supportedStyles
- the supportedStyles to setpublic int getResponseCode()
public void setResponseCode(int responseCode)
responseCode
- the responseCode to setpublic void setPalettes(List<String> palettes)
palettes
- the palettes to setCopyright © 2016. All Rights Reserved.