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