Package de.terrestris.shoguncore.model
Class Application
- java.lang.Object
-
- de.terrestris.shoguncore.model.PersistentObject
-
- de.terrestris.shoguncore.model.Application
-
- All Implemented Interfaces:
Serializable
@Entity public class Application extends PersistentObject
This class represents a (GIS-)application, which can be opened in a browser. It mainly provides the initial configuration of the map.- Author:
- Nils Bühner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Application()Explicitly adding the default constructor as this is important, e.g.Application(String name, String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)BooleangetActive()org.joda.time.ReadableDateTimegetCreated()Overwrite this getter to set theJsonIgnorevalue to false for this subclass.StringgetDescription()LocalegetLanguage()org.joda.time.ReadableDateTimegetModified()Overwrite this getter to set theJsonIgnorevalue to false for this subclass.StringgetName()BooleangetOpen()List<Plugin>getPlugins()StringgetUrl()CompositeModulegetViewport()inthashCode()voidsetActive(Boolean active)voidsetDescription(String description)voidsetLanguage(Locale language)voidsetName(String name)voidsetOpen(Boolean open)voidsetPlugins(List<Plugin> plugins)voidsetUrl(String url)voidsetViewport(CompositeModule viewport)-
Methods inherited from class de.terrestris.shoguncore.model.PersistentObject
getGroupPermissions, getId, getUserPermissions, setGroupPermissions, setModified, setUserPermissions, toString
-
-
-
-
Method Detail
-
getCreated
public org.joda.time.ReadableDateTime getCreated()
Overwrite this getter to set theJsonIgnorevalue to false for this subclass.- Overrides:
getCreatedin classPersistentObject- Returns:
- The date of the creation of the entity.
-
getModified
public org.joda.time.ReadableDateTime getModified()
Overwrite this getter to set theJsonIgnorevalue to false for this subclass.- Overrides:
getModifiedin classPersistentObject- Returns:
- The date of the last modification of the entity.
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getLanguage
public Locale getLanguage()
-
setLanguage
public void setLanguage(Locale language)
-
getOpen
public Boolean getOpen()
-
setOpen
public void setOpen(Boolean open)
-
getActive
public Boolean getActive()
-
setActive
public void setActive(Boolean active)
-
getUrl
public String getUrl()
-
setUrl
public void setUrl(String url)
-
getViewport
public CompositeModule getViewport()
- Returns:
- the viewport
-
setViewport
public void setViewport(CompositeModule viewport)
- Parameters:
viewport- the viewport to set
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object obj)
-
-