Interface LocationMatch

All Superinterfaces:
Comparable<Long>, EntityMatch, FilterMatch<Long>, net.solarnetwork.domain.Identity<Long>
All Known Implementing Classes:
SolarLocation

public interface LocationMatch extends EntityMatch
API for Location search results.
  • Method Details

    • getName

      String getName()
      A generalized name, can be used for "virtual" locations.
      Returns:
      the location name
    • getCountry

      String getCountry()
      Get the ISO 3166-1 alpha-2 character country code.
      Returns:
      2-character country code
    • getRegion

      String getRegion()
      A country-specific regional identifier.
      Returns:
      region identifier
    • getStateOrProvince

      String getStateOrProvince()
      Get a country-specific state or province identifier.
      Returns:
      state or province identifier
    • getPostalCode

      String getPostalCode()
      Get a country-specific postal code.
      Returns:
      postal code
    • getLocality

      String getLocality()
      Get the locality (city, town, etc.).
      Returns:
      locality
    • getStreet

      String getStreet()
      Get the street address.
      Returns:
      street
    • getLatitude

      BigDecimal getLatitude()
      Get the decimal latitude.
      Returns:
      latitude
    • getLongitude

      BigDecimal getLongitude()
      Get the decimal longitude.
      Returns:
      longitude
    • getElevation

      BigDecimal getElevation()
      Get the elevation, in meters.
      Returns:
      the elevation
      Since:
      1.2