-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathJsonConstants.java
43 lines (42 loc) · 2.52 KB
/
JsonConstants.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
public abstract class JsonConstants {
// File Names
public static final String EVENT_FILE_NAME = "json/events.json";
public static final String USER_FILE_NAME = "json/users.json";
public static final String GROUP_FILE_NAME = "json/groups.json";
// Event constants
public static final String EVENT_ID = "EVENT_ID";
public static final String EVENT_NAME = "EVENT_NAME";
public static final String EVENT_ADDRESS = "EVENT_ADDRESS";
public static final String EVENT_SIZE = "EVENT_SIZE";
public static final String EVENT_IN_PERSON = "EVENT_IN_PERSON";
public static final String EVENT_DESCRIPTION = "EVENT_DESCRIPTION";
public static final String EVENT_COMMENTS = "EVENT_COMMENTS";
// User Constants
public static final String USER_ID = "USER_ID";
public static final String USER_PASSWORD = "USER_PASSWORD";
public static final String USER_USERNAME = "USER_USERNAME";
public static final String USER_FIRST_NAME = "USER_FIRST_NAME";
public static final String USER_LAST_NAME = "USER_LAST_NAME";
public static final String USER_GENDER = "USER_GENDER";
public static final String USER_AGE = "USER_AGE";
public static final String USER_NUMBER_OF_GROUPS = "USER_NUMBER_OF_GROUPS";
public static final String USER_HOBBIES = "USER_HOBBIES";
public static final String USER_EMAIL_ADDRESS = "USER_EMAIL_ADDRESS";
public static final String USER_HAS_AGREED_TO_TERMS = "USER_HAS_AGREED_TO_TERMS";
public static final String USER_PROFILE_IS_PUBLIC = "USER_PROFILE_IS_PUBLIC";
public static final String USER_GROUPS_JOINED = "USER_GROUPS_JOINED";
public static final String USER_CATEGORIES_OF_INTEREST = "USER_CATEGORIES_OF_INTEREST";
public static final String USER_ADMIN_PRIVILEGES = "USER_ADMIN_PRIVILEGES";
public static final String USER_AUTHOR_OF = "USER_AUTHOR_OF";
// Group constants
public static final String GROUP_ID = "GROUP_ID";
public static final String GROUP_NAME = "GROUP_NAME";
public static final String GROUP_UPCOMING_EVENTS = "GROUP_UPCOMING_EVENTS";
public static final String GROUP_CATEGORY_TYPES = "GROUP_CATEGORY_TYPES";
public static final String GROUP_MEMBERS = "GROUP_MEMBERS";
public static final String GROUP_DESCRIPTION = "GROUP_DESCRIPTION";
public static final String GROUP_RATING = "GROUP_RATING";
public static final String GROUP_AUTHOR = "GROUP_AUTHOR";
public static final String GROUP_MESSAGES = "GROUP_MESSAGES";
public static final String GROUP_AUTHOR_CONTACT = "GROUP_AUTHOR_CONTACT";
}