Class LayerAppearance

  • All Implemented Interfaces:
    java.io.Serializable

    @Entity
    public class LayerAppearance
    extends PersistentObject
    This class holds the appearance properties of a layer Layer Object
    Author:
    Andre Henn, terrestris GmbH & Co. KG
    See Also:
    Serialized Form
    • Constructor Detail

      • LayerAppearance

        public LayerAppearance()
      • LayerAppearance

        public LayerAppearance​(java.lang.String attribution,
                               java.lang.String name,
                               java.lang.Double maxResolution,
                               java.lang.Double minResolution,
                               java.lang.Double opacity,
                               java.lang.Boolean visible)
        Parameters:
        attribution -
        name -
        maxResolution -
        minResolution -
        opacity -
        visible -
    • Method Detail

      • getAttribution

        public java.lang.String getAttribution()
        Returns:
        the attribution
      • setAttribution

        public void setAttribution​(java.lang.String attribution)
        Parameters:
        attribution - the attribution to set
      • getHoverable

        public java.lang.Boolean getHoverable()
        Returns:
        the hoverable
      • setHoverable

        public void setHoverable​(java.lang.Boolean hoverable)
        Parameters:
        hoverable - the hoverable to set
      • getHoverTemplate

        public java.lang.String getHoverTemplate()
        Returns:
        the hoverTemplate
      • setHoverTemplate

        public void setHoverTemplate​(java.lang.String hoverTemplate)
        Parameters:
        hoverTemplate - the hoverTemplate to set
      • getProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getProperties()
        Returns:
        the properties
      • setProperties

        public void setProperties​(java.util.Map<java.lang.String,​java.lang.Object> properties)
        Parameters:
        properties - the properties to set
      • getName

        public java.lang.String getName()
        Returns:
        the name
      • setName

        public void setName​(java.lang.String name)
        Parameters:
        name - the name to set
      • getMaxResolution

        public java.lang.Double getMaxResolution()
        Returns:
        the maxResolution
      • setMaxResolution

        public void setMaxResolution​(java.lang.Double maxResolution)
        Parameters:
        maxResolution - the maxResolution to set
      • getMinResolution

        public java.lang.Double getMinResolution()
        Returns:
        the minResolution
      • setMinResolution

        public void setMinResolution​(java.lang.Double minResolution)
        Parameters:
        minResolution - the minResolution to set
      • getOpacity

        public java.lang.Double getOpacity()
        Returns:
        the opacity
      • setOpacity

        public void setOpacity​(java.lang.Double opacity)
        Parameters:
        opacity - the opacity to set
      • getVisible

        public java.lang.Boolean getVisible()
        Returns:
        the visible
      • setVisible

        public void setVisible​(java.lang.Boolean visible)
        Parameters:
        visible - the visible to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class PersistentObject
        See Also:
        According to http://stackoverflow.com/questions/27581/overriding-equals -and-hashcode-in-java it is recommended only to use getter-methods when using ORM like Hibernate
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class PersistentObject
        See Also:
        According to http://stackoverflow.com/questions/27581/overriding-equals -and-hashcode-in-java it is recommended only to use getter-methods when using ORM like Hibernate