com.oopitis.weather
Interface Queryable

All Known Implementing Classes:
WeatherProperty, WeatherPropertySet

public interface Queryable

A list of weather properties that can be used in a query. Objects that implement this interface can be part of a query hint.

Implementation note: The implementation of getQueryableProperties must never return null. Functionally it makes sense to return at least one weather property, but an empty array is tolerated.

See Also:
QueryHint, WeatherService.getApplicableFeatures(QueryHint)

Method Summary
 WeatherProperty[] getQueryableProperties()
          Returns a list of weather properties that can be used in a query.
 

Method Detail

getQueryableProperties

WeatherProperty[] getQueryableProperties()
Returns a list of weather properties that can be used in a query.

Returns:
a list of weather properties that can be used in a query