Class LayerAppearance
- java.lang.Object
-
- de.terrestris.shoguncore.model.PersistentObject
-
- de.terrestris.shoguncore.model.layer.appearance.LayerAppearance
-
- All Implemented Interfaces:
Serializable
@Entity public class LayerAppearance extends PersistentObject
This class holds the appearance properties of a layerLayerObject- Author:
- Andre Henn, terrestris GmbH & Co. KG
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LayerAppearance()LayerAppearance(String attribution, String name, Double maxResolution, Double minResolution, Double opacity, Boolean visible)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAttribution()BooleangetClickable()BooleangetHoverable()StringgetHoverTemplate()DoublegetMaxResolution()DoublegetMinResolution()StringgetName()DoublegetOpacity()Map<String,Object>getProperties()BooleangetVisible()inthashCode()voidsetAttribution(String attribution)voidsetClickable(Boolean clickable)voidsetHoverable(Boolean hoverable)voidsetHoverTemplate(String hoverTemplate)voidsetMaxResolution(Double maxResolution)voidsetMinResolution(Double minResolution)voidsetName(String name)voidsetOpacity(Double opacity)voidsetProperties(Map<String,Object> properties)voidsetVisible(Boolean visible)-
Methods inherited from class de.terrestris.shoguncore.model.PersistentObject
getCreated, getGroupPermissions, getId, getModified, getUserPermissions, setGroupPermissions, setModified, setUserPermissions, toString
-
-
-
-
Method Detail
-
getAttribution
public String getAttribution()
- Returns:
- the attribution
-
setAttribution
public void setAttribution(String attribution)
- Parameters:
attribution- the attribution to set
-
getHoverable
public Boolean getHoverable()
- Returns:
- the hoverable
-
setHoverable
public void setHoverable(Boolean hoverable)
- Parameters:
hoverable- the hoverable to set
-
getClickable
public Boolean getClickable()
- Returns:
- the clickable
-
setClickable
public void setClickable(Boolean clickable)
- Parameters:
clickable- the clickable to set
-
getHoverTemplate
public String getHoverTemplate()
- Returns:
- the hoverTemplate
-
setHoverTemplate
public void setHoverTemplate(String hoverTemplate)
- Parameters:
hoverTemplate- the hoverTemplate to set
-
setProperties
public void setProperties(Map<String,Object> properties)
- Parameters:
properties- the properties to set
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
getMaxResolution
public Double getMaxResolution()
- Returns:
- the maxResolution
-
setMaxResolution
public void setMaxResolution(Double maxResolution)
- Parameters:
maxResolution- the maxResolution to set
-
getMinResolution
public Double getMinResolution()
- Returns:
- the minResolution
-
setMinResolution
public void setMinResolution(Double minResolution)
- Parameters:
minResolution- the minResolution to set
-
getOpacity
public Double getOpacity()
- Returns:
- the opacity
-
setOpacity
public void setOpacity(Double opacity)
- Parameters:
opacity- the opacity to set
-
getVisible
public Boolean getVisible()
- Returns:
- the visible
-
setVisible
public void setVisible(Boolean visible)
- Parameters:
visible- the visible to set
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object obj)
-
-