1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.rice.core.api; |
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
public final class CoreConstants { |
27 | |
|
28 | |
public static final class Services { |
29 | |
public static final String DATETIME_SERVICE = "dateTimeService"; |
30 | |
public static final String ENCRYPTION_SERVICE = "encryptionService"; |
31 | |
|
32 | 0 | private Services() { |
33 | 0 | throw new UnsupportedOperationException("do not call"); |
34 | |
} |
35 | |
} |
36 | |
|
37 | 0 | public static final class Versions { |
38 | |
|
39 | |
public static final String UNSPECIFIED = "unspecified"; |
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
|
45 | |
public static final String VERSION_2_0 = "v2_0"; |
46 | |
|
47 | |
} |
48 | |
|
49 | |
public static final class Namespaces { |
50 | |
public static final String ROOT_NAMESPACE_PREFIX = "http://rice.kuali.org"; |
51 | |
public static final String CORE_NAMESPACE_PREFIX = CoreConstants.Namespaces.ROOT_NAMESPACE_PREFIX + "/core"; |
52 | |
|
53 | |
|
54 | |
|
55 | |
|
56 | |
public static final String CORE_NAMESPACE_2_0 = CORE_NAMESPACE_PREFIX + "/" + Versions.VERSION_2_0; |
57 | |
|
58 | 0 | private Namespaces() { |
59 | 0 | throw new UnsupportedOperationException("do not call"); |
60 | |
} |
61 | |
} |
62 | |
|
63 | |
public static final class CommonElements { |
64 | |
public static final String FUTURE_ELEMENTS = "_futureElements"; |
65 | |
public static final String VERSION_NUMBER = "versionNumber"; |
66 | |
public static final String OBJECT_ID = "objectId"; |
67 | |
public static final String ACTIVE = "active"; |
68 | |
public static final String ACTIVE_FROM_DATE = "activeFromDate"; |
69 | |
public static final String ACTIVE_TO_DATE = "activeToDate"; |
70 | |
public static final String ATTRIBUTES = "attributes"; |
71 | |
|
72 | 0 | private CommonElements() { |
73 | 0 | throw new UnsupportedOperationException("do not call"); |
74 | |
} |
75 | |
} |
76 | |
|
77 | |
public static final String STRING_TO_DATE_FORMATS = "STRING_TO_DATE_FORMATS"; |
78 | |
public static final String STRING_TO_TIMESTAMP_FORMATS = "STRING_TO_TIMESTAMP_FORMATS"; |
79 | |
public static final String DATE_TO_STRING_FORMAT_FOR_USER_INTERFACE = "DATE_TO_STRING_FORMAT_FOR_USER_INTERFACE"; |
80 | |
public static final String TIMESTAMP_TO_STRING_FORMAT_FOR_USER_INTERFACE = "TIMESTAMP_TO_STRING_FORMAT_FOR_USER_INTERFACE"; |
81 | |
public static final String DATE_TO_STRING_FORMAT_FOR_FILE_NAME = "DATE_TO_STRING_FORMAT_FOR_FILE_NAME"; |
82 | |
public static final String TIMESTAMP_TO_STRING_FORMAT_FOR_FILE_NAME = "TIMESTAMP_TO_STRING_FORMAT_FOR_FILE_NAME"; |
83 | |
|
84 | 0 | public static final class Config { |
85 | |
public static final String APPLICATION_ID = "application.id"; |
86 | |
|
87 | |
public static final String INSTANCE_ID = "rice.ksb.bus.instanceId"; |
88 | |
} |
89 | |
|
90 | 0 | private CoreConstants() { |
91 | 0 | throw new UnsupportedOperationException("do not call"); |
92 | |
} |
93 | |
} |