Class NcWmsLayerMetadata
- java.lang.Object
-
- org.gcube.spatial.data.geoutility.bean.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNcWmsLayerMetadata.METADATA
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultPalette()Gets the default palette.List<String>getPalettes()Gets the palettes.StringgetRawJson()Gets the raw json.intgetResponseCode()Gets the response code.List<String>getSupportedStyles()Gets the supported styles.LayerZAxisgetZAxis()Gets the z axis.voidsetDefaultPalette(String defaultPalette)Sets the default palette.voidsetPalettes(List<String> palettes)Sets the palettes.voidsetRawJson(String jsonTxt)Sets the raw json.voidsetResponseCode(int responseCode)Sets the response code.voidsetSupportedStyles(List<String> supportedStyles)Sets the supported styles.voidsetZAxis(LayerZAxis zAxis)Sets the z axis.StringtoString()
-
-
-
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 codedefaultPalette- the default palettesupportedStyles- the supported stylespalettes- the paletteszAxis- the z axisjson- 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
-
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
-
-