Class Application

  • All Implemented Interfaces:
    java.io.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 Detail

      • Application

        public Application()
        Explicitly adding the default constructor as this is important, e.g. for Hibernate: http://goo.gl/3Cr1pw
      • Application

        public Application​(java.lang.String name,
                           java.lang.String description)
    • Method Detail

      • getCreated

        public org.joda.time.ReadableDateTime getCreated()
        Overwrite this getter to set the JsonIgnore value to false for this subclass.
        Overrides:
        getCreated in class PersistentObject
        Returns:
        The date of the creation of the entity.
      • getModified

        public org.joda.time.ReadableDateTime getModified()
        Overwrite this getter to set the JsonIgnore value to false for this subclass.
        Overrides:
        getModified in class PersistentObject
        Returns:
        The date of the last modification of the entity.
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • getLanguage

        public java.util.Locale getLanguage()
      • setLanguage

        public void setLanguage​(java.util.Locale language)
      • getOpen

        public java.lang.Boolean getOpen()
      • setOpen

        public void setOpen​(java.lang.Boolean open)
      • getActive

        public java.lang.Boolean getActive()
      • setActive

        public void setActive​(java.lang.Boolean active)
      • getUrl

        public java.lang.String getUrl()
      • setUrl

        public void setUrl​(java.lang.String url)
      • setViewport

        public void setViewport​(CompositeModule viewport)
        Parameters:
        viewport - the viewport to set
      • getPlugins

        public java.util.List<Plugin> getPlugins()
        Returns:
        the plugins
      • setPlugins

        public void setPlugins​(java.util.List<Plugin> plugins)
        Parameters:
        plugins - the plugins to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class PersistentObject
        See Also:
        According to http://stackoverflow.com/q/27581 it is recommended to use only 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/q/27581 it is recommended to use only getter-methods when using ORM like Hibernate