Class ImageWmsLayerDataSource
- java.lang.Object
-
- de.terrestris.shoguncore.model.PersistentObject
-
- de.terrestris.shoguncore.model.layer.source.LayerDataSource
-
- de.terrestris.shoguncore.model.layer.source.ImageWmsLayerDataSource
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TileWmsLayerDataSource
@Entity public class ImageWmsLayerDataSource extends LayerDataSource
Class representing a layer data source for WMS servers providing single, untiled images.- Author:
- Andre Henn
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageWmsLayerDataSource()ImageWmsLayerDataSource(String name, String type, String url, String format, int width, int height, String version, String layerNames, String layerStyles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCustomRequestPath()intgetHeight()StringgetLayerNames()StringgetLayerStyles()BooleangetRequestableByPath()StringgetVersion()intgetWidth()inthashCode()voidsetCustomRequestPath(String customRequestPath)voidsetHeight(int height)voidsetLayerNames(String layerNames)voidsetLayerStyles(String layerStyles)voidsetRequestableByPath(Boolean requestableByPath)voidsetVersion(String version)voidsetWidth(int width)-
Methods inherited from class de.terrestris.shoguncore.model.layer.source.LayerDataSource
getFormat, getName, getType, getUrl, setFormat, setName, setType, setUrl
-
Methods inherited from class de.terrestris.shoguncore.model.PersistentObject
getCreated, getGroupPermissions, getId, getModified, getUserPermissions, setGroupPermissions, setModified, setUserPermissions, toString
-
-
-
-
Constructor Detail
-
ImageWmsLayerDataSource
public ImageWmsLayerDataSource()
-
ImageWmsLayerDataSource
public ImageWmsLayerDataSource(String name, String type, String url, String format, int width, int height, String version, String layerNames, String layerStyles)
- Parameters:
name- Name of datasourcetype- Type of datasourceurl- URL of datasourcewidth- image widthheight- image heightversion- WMS versionlayerNames- List of layer nameslayerStyles- List of layer styles
-
-
Method Detail
-
getWidth
public int getWidth()
- Returns:
- the width
-
setWidth
public void setWidth(int width)
- Parameters:
width- the width to set
-
getHeight
public int getHeight()
- Returns:
- the height
-
setHeight
public void setHeight(int height)
- Parameters:
height- the height to set
-
getVersion
public String getVersion()
- Returns:
- the version
-
setVersion
public void setVersion(String version)
- Parameters:
version- the version to set
-
getLayerNames
public String getLayerNames()
- Returns:
- the layerNames
-
setLayerNames
public void setLayerNames(String layerNames)
- Parameters:
layerNames- the layerNames to set
-
getLayerStyles
public String getLayerStyles()
- Returns:
- the layerStyles
-
setLayerStyles
public void setLayerStyles(String layerStyles)
- Parameters:
layerStyles- the layerStyles to set
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object obj)
-
getRequestableByPath
public Boolean getRequestableByPath()
-
setRequestableByPath
public void setRequestableByPath(Boolean requestableByPath)
-
getCustomRequestPath
public String getCustomRequestPath()
-
setCustomRequestPath
public void setCustomRequestPath(String customRequestPath)
-
-