Class Location

java.lang.Object
io.goobi.viewer.model.maps.Location
All Implemented Interfaces:
Serializable

public class Location extends Object implements Serializable
A location on a map. Contains a long/lat points, a label and a link
Author:
florian
See Also:
  • Constructor Details

    • Location

      public Location(IArea area, String label, URI uri)
      Parameters:
      area -
      label -
      uri -
  • Method Details

    • getRecordURI

      public static URI getRecordURI(String pi, PageType pageType, IURLBuilder urlBuilder)
      Parameters:
      pi -
      pageType -
      urlBuilder - If not null, the URL will be build using the URL builder, otherwise manually
      Returns:
      URI
    • getArea

      public IArea getArea()
      Returns:
      the area
    • getLabel

      public String getLabel()
      Returns:
      the label
    • getLink

      public URI getLink()
      Returns:
      the uri
    • getGeoJson

      public String getGeoJson()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object