Class Map

  • All Implemented Interfaces:
    java.io.Serializable

    @Entity
    public class Map
    extends Module
    Class represents a map component
    Author:
    Andre Henn, Daniel Koch, terrestris GmbH & Co. KG
    See Also:
    Serialized Form
    • Constructor Detail

      • Map

        public Map()
        default constructor
      • Map

        public Map​(java.lang.String name,
                   MapConfig mapConfig,
                   java.util.List<Layer> mapLayers)
        Parameters:
        name -
        mapConfig -
        mapLayers -
    • Method Detail

      • getMapConfig

        public MapConfig getMapConfig()
        Returns:
        the mapConfig
      • setMapConfig

        public void setMapConfig​(MapConfig mapConfig)
        Parameters:
        mapConfig - the mapConfig to set
      • getMapControls

        public java.util.Set<MapControl> getMapControls()
        Returns:
        the controls
      • setMapControls

        public void setMapControls​(java.util.Set<MapControl> mapControls)
        Parameters:
        mapControls - the controls to set
      • getMapLayers

        public java.util.List<Layer> getMapLayers()
        Returns:
        the mapLayers
      • setMapLayers

        public void setMapLayers​(java.util.List<Layer> mapLayers)
        Parameters:
        mapLayers - the mapLayers to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Module
        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 Module
        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