Interface LocationLookupSettingSpecifier

All Superinterfaces:
DatumLocation, net.solarnetwork.settings.KeyedSettingSpecifier<Long>, net.solarnetwork.settings.MappableSpecifier, net.solarnetwork.settings.SettingSpecifier
All Known Implementing Classes:
BasicLocationLookupSettingSpecifier

public interface LocationLookupSettingSpecifier extends net.solarnetwork.settings.KeyedSettingSpecifier<Long>, DatumLocation
A setting for a location ID.
Version:
2.0
Author:
matt
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.solarnetwork.settings.MappableSpecifier

    net.solarnetwork.settings.MappableSpecifier.Mapper
  • Field Summary

    Fields inherited from interface net.solarnetwork.node.domain.datum.DatumLocation

    DAY_TYPE, PRICE_TYPE, WEATHER_TYPE
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the location this setting is for.
    Get the location type or tag, e.g.

    Methods inherited from interface net.solarnetwork.node.domain.datum.DatumLocation

    getLocationId, getLocationName, getMetadata, getSourceId, getSourceName

    Methods inherited from interface net.solarnetwork.settings.KeyedSettingSpecifier

    getDefaultValue, getDescriptionArguments, getKey, isTransient

    Methods inherited from interface net.solarnetwork.settings.MappableSpecifier

    mappedTo, mappedWithMapper, mappedWithPlaceholer

    Methods inherited from interface net.solarnetwork.settings.SettingSpecifier

    getTitle, getType
  • Method Details

    • getLocation

      DatumLocation getLocation()
      Get the location this setting is for.
      Returns:
      a Location, or null if none available
    • getLocationTypeKey

      String getLocationTypeKey()
      Get the location type or tag, e.g. "weather", "price", etc.
      Returns:
      the location type