cea6086b264a24cb86220bfc2a09a69017f52761
[JavaForFun] /
1 package com.weather.information.model;
2
3 import android.provider.BaseColumns;
4
5 public class WeatherLocationContract {
6
7         // This class can't be instantiated
8         private WeatherLocationContract() {}
9         
10         public static final class WeatherLocation implements BaseColumns {
11                 
12                 // This class can't be instantiated
13                 private WeatherLocation() {}
14                 
15                 public static final String TABLE_NAME = "locations";
16                 
17                 public static final String COLUMN_NAME_IS_SELECTED = "isSelected";
18                 
19                 public static final String COLUMN_NAME_LATITUDE = "latitude";
20                 
21                 public static final String COLUMN_NAME_LONGITUDE = "longitude";
22                 
23                 public static final String COLUMN_NAME_COUNTRY = "country";
24                 
25                 public static final String COLUMN_NAME_CITY = "city";
26                 
27                 public static final String COLUMN_NAME_LAST_FORECAST_UI_UPDATE = "lastForecastUpdate";
28                 
29                 public static final String COLUMN_NAME_LAST_CURRENT_UI_UPDATE = "lastCurrentUpdate";
30
31         public static final String COLUMN_NAME_IS_NEW = "isNew";
32         }
33
34 }