Class MapControl

  • All Implemented Interfaces:
    java.io.Serializable

    @Entity
    public class MapControl
    extends PersistentObject
    This class represents an OpenLayers 3 control which can be included in a map.
    Author:
    Andre Henn, terrestris GmbH & Co. KG
    See Also:
    Serialized Form
    • Constructor Detail

      • MapControl

        public MapControl()
      • MapControl

        public MapControl​(java.lang.String name_)
    • Method Detail

      • getMapControlName

        public java.lang.String getMapControlName()
        Returns:
        the mapControlName
      • setMapControlName

        public void setMapControlName​(java.lang.String mapControlName)
        Parameters:
        mapControlName - the mapControlName to set
      • getMapControlProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getMapControlProperties()
        Returns:
        the mapControlProperties
      • setMapControlProperties

        public void setMapControlProperties​(java.util.Map<java.lang.String,​java.lang.Object> mapControlProperties)
        Parameters:
        mapControlProperties - the mapControlProperties 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