91e34727a935f70dcbb8e1eb6ea10f7bedfc687d
[JavaForFun] /
1 package de.example.exampletdd.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
32 }