1 package com.weather.information.model;
3 import android.provider.BaseColumns;
5 public class WeatherLocationContract {
7 // This class can't be instantiated
8 private WeatherLocationContract() {}
10 public static final class WeatherLocation implements BaseColumns {
12 // This class can't be instantiated
13 private WeatherLocation() {}
15 public static final String TABLE_NAME = "locations";
17 public static final String COLUMN_NAME_IS_SELECTED = "isSelected";
19 public static final String COLUMN_NAME_LATITUDE = "latitude";
21 public static final String COLUMN_NAME_LONGITUDE = "longitude";
23 public static final String COLUMN_NAME_COUNTRY = "country";
25 public static final String COLUMN_NAME_CITY = "city";
27 public static final String COLUMN_NAME_LAST_FORECAST_UI_UPDATE = "lastForecastUpdate";
29 public static final String COLUMN_NAME_LAST_CURRENT_UI_UPDATE = "lastCurrentUpdate";
31 public static final String COLUMN_NAME_IS_NEW = "isNew";