Class MapControl
- java.lang.Object
-
- de.terrestris.shoguncore.model.PersistentObject
-
- de.terrestris.shoguncore.model.map.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 Summary
Constructors Constructor Description MapControl()MapControl(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetMapControlName()java.util.Map<java.lang.String,java.lang.Object>getMapControlProperties()inthashCode()voidsetMapControlName(java.lang.String mapControlName)voidsetMapControlProperties(java.util.Map<java.lang.String,java.lang.Object> mapControlProperties)-
Methods inherited from class de.terrestris.shoguncore.model.PersistentObject
getCreated, getGroupPermissions, getId, getModified, getUserPermissions, setGroupPermissions, setModified, setUserPermissions, toString
-
-
-
-
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:
hashCodein classPersistentObject- 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:
equalsin classPersistentObject- 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
-
-