Class Layer
- java.lang.Object
-
- de.terrestris.shoguncore.model.PersistentObject
-
- de.terrestris.shoguncore.model.layer.Layer
-
- All Implemented Interfaces:
Serializable
@Entity public class Layer extends PersistentObject
Representation of a layer which consists a corresponding data source and an appearance- Author:
- Kai Volland, Nils Bühner, terrestris GmbH & Co. KG
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Layer()Layer(String name)Layer(String name, LayerDataSource source, LayerAppearance appearance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)LayerAppearancegetAppearance()StringgetDescription()StringgetName()LayerDataSourcegetSource()inthashCode()voidsetAppearance(LayerAppearance appearance)voidsetDescription(String description)voidsetName(String name)voidsetSource(LayerDataSource source)-
Methods inherited from class de.terrestris.shoguncore.model.PersistentObject
getCreated, getGroupPermissions, getId, getModified, getUserPermissions, setGroupPermissions, setModified, setUserPermissions, toString
-
-
-
-
Constructor Detail
-
Layer
public Layer()
-
Layer
public Layer(String name)
- Parameters:
name- Layer name
-
Layer
public Layer(String name, LayerDataSource source, LayerAppearance appearance)
- Parameters:
name- Layer namesource-appearance-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
getDescription
public String getDescription()
- Returns:
- the description
-
setDescription
public void setDescription(String description)
- Parameters:
description- the description to set
-
getSource
public LayerDataSource getSource()
- Returns:
- the source
-
setSource
public void setSource(LayerDataSource source)
- Parameters:
source- the source to set
-
getAppearance
public LayerAppearance getAppearance()
- Returns:
- the appearance
-
setAppearance
public void setAppearance(LayerAppearance appearance)
- Parameters:
appearance- the appearance to set
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object obj)
-
-