001: /*
002: * Copyright 2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.opensource.org/licenses/ecl1.php
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016: package org.kuali.kfs.service.impl;
017:
018: import java.lang.annotation.ElementType;
019: import java.lang.annotation.Retention;
020: import java.lang.annotation.RetentionPolicy;
021: import java.lang.annotation.Target;
022:
023: import org.kuali.RiceConstants;
024:
025: public class ParameterConstants {
026: @Retention(RetentionPolicy.RUNTIME)
027: @Target({ElementType.TYPE})
028: @interface NAMESPACE {
029: String namespace();
030: }
031:
032: @Retention(RetentionPolicy.RUNTIME)
033: @Target({ElementType.TYPE})
034: @interface COMPONENT {
035: String component();
036: }
037:
038: protected static final String FINANCIAL_NAMESPACE_PREFIX = "KFS-";
039: protected static final String NERVOUS_SYSTEM_NAMESPACE = RiceConstants.KNS_NAMESPACE;
040: protected static final String FINANCIAL_SYSTEM_NAMESPACE = FINANCIAL_NAMESPACE_PREFIX
041: + "SY";
042: private static final String ACCOUNTS_RECEIVABLE_NAMESPACE = FINANCIAL_NAMESPACE_PREFIX
043: + "AR";
044: private static final String BUDGET_CONSTRUCTION_NAMESPACE = FINANCIAL_NAMESPACE_PREFIX
045: + "BC";
046: private static final String CAPITAL_ASSETS_NAMESPACE = FINANCIAL_NAMESPACE_PREFIX
047: + "CG";
048: private static final String CONTRACTS_AND_GRANTS_NAMESPACE = FINANCIAL_NAMESPACE_PREFIX
049: + "CG";
050: private static final String CHART_NAMESPACE = FINANCIAL_NAMESPACE_PREFIX
051: + "CA";
052: private static final String FINANCIAL_PROCESSING_NAMESPACE = FINANCIAL_NAMESPACE_PREFIX
053: + "FP";
054: private static final String GENERAL_LEDGER_NAMESPACE = FINANCIAL_NAMESPACE_PREFIX
055: + "GL";
056: private static final String LABOR_NAMESPACE = FINANCIAL_NAMESPACE_PREFIX
057: + "LD";
058: private static final String PRE_DISBURSEMENT_NAMESPACE = FINANCIAL_NAMESPACE_PREFIX
059: + "PD";
060: private static final String PURCHASING_NAMESPACE = FINANCIAL_NAMESPACE_PREFIX
061: + "PA";
062: private static final String RESEARCH_ADMINISTRATION_NAMESPACE = FINANCIAL_NAMESPACE_PREFIX
063: + "RA";
064: private static final String VENDOR_NAMESPACE = FINANCIAL_NAMESPACE_PREFIX
065: + "VN";
066: private static final String ALL_COMPONENT = "All";
067: private static final String DOCUMENT_COMPONENT = "Document";
068: private static final String LOOKUP_COMPONENT = "Lookup";
069: private static final String BATCH_COMPONENT = "Batch";
070:
071: @NAMESPACE(namespace=NERVOUS_SYSTEM_NAMESPACE)
072: @COMPONENT(component=ALL_COMPONENT)
073: public final class NERVOUS_SYSTEM_ALL {
074: }
075:
076: @NAMESPACE(namespace=NERVOUS_SYSTEM_NAMESPACE)
077: @COMPONENT(component=DOCUMENT_COMPONENT)
078: public final class NERVOUS_SYSTEM_DOCUMENT {
079: }
080:
081: @NAMESPACE(namespace=NERVOUS_SYSTEM_NAMESPACE)
082: @COMPONENT(component=LOOKUP_COMPONENT)
083: public final class NERVOUS_SYSTEM_LOOKUP {
084: }
085:
086: @NAMESPACE(namespace=NERVOUS_SYSTEM_NAMESPACE)
087: @COMPONENT(component=BATCH_COMPONENT)
088: public final class NERVOUS_SYSTEM_BATCH {
089: }
090:
091: @NAMESPACE(namespace=FINANCIAL_SYSTEM_NAMESPACE)
092: @COMPONENT(component=ALL_COMPONENT)
093: public final class FINANCIAL_SYSTEM_ALL {
094: }
095:
096: @NAMESPACE(namespace=FINANCIAL_SYSTEM_NAMESPACE)
097: @COMPONENT(component=DOCUMENT_COMPONENT)
098: public final class FINANCIAL_SYSTEM_DOCUMENT {
099: }
100:
101: @NAMESPACE(namespace=FINANCIAL_SYSTEM_NAMESPACE)
102: @COMPONENT(component=LOOKUP_COMPONENT)
103: public final class FINANCIAL_SYSTEM_LOOKUP {
104: }
105:
106: @NAMESPACE(namespace=FINANCIAL_SYSTEM_NAMESPACE)
107: @COMPONENT(component=BATCH_COMPONENT)
108: public final class FINANCIAL_SYSTEM_BATCH {
109: }
110:
111: @NAMESPACE(namespace=ACCOUNTS_RECEIVABLE_NAMESPACE)
112: @COMPONENT(component=ALL_COMPONENT)
113: public final class ACCOUNTS_RECEIVABLE_ALL {
114: }
115:
116: @NAMESPACE(namespace=ACCOUNTS_RECEIVABLE_NAMESPACE)
117: @COMPONENT(component=DOCUMENT_COMPONENT)
118: public final class ACCOUNTS_RECEIVABLE_DOCUMENT {
119: }
120:
121: @NAMESPACE(namespace=ACCOUNTS_RECEIVABLE_NAMESPACE)
122: @COMPONENT(component=LOOKUP_COMPONENT)
123: public final class ACCOUNTS_RECEIVABLE_LOOKUP {
124: }
125:
126: @NAMESPACE(namespace=ACCOUNTS_RECEIVABLE_NAMESPACE)
127: @COMPONENT(component=BATCH_COMPONENT)
128: public final class ACCOUNTS_RECEIVABLE_BATCH {
129: }
130:
131: @NAMESPACE(namespace=BUDGET_CONSTRUCTION_NAMESPACE)
132: @COMPONENT(component=ALL_COMPONENT)
133: public final class BUDGET_CONSTRUCTION_ALL {
134: }
135:
136: @NAMESPACE(namespace=BUDGET_CONSTRUCTION_NAMESPACE)
137: @COMPONENT(component=DOCUMENT_COMPONENT)
138: public final class BUDGET_CONSTRUCTION_DOCUMENT {
139: }
140:
141: @NAMESPACE(namespace=BUDGET_CONSTRUCTION_NAMESPACE)
142: @COMPONENT(component=LOOKUP_COMPONENT)
143: public final class BUDGET_CONSTRUCTION_LOOKUP {
144: }
145:
146: @NAMESPACE(namespace=BUDGET_CONSTRUCTION_NAMESPACE)
147: @COMPONENT(component=BATCH_COMPONENT)
148: public final class BUDGET_CONSTRUCTION_BATCH {
149: }
150:
151: @NAMESPACE(namespace=CAPITAL_ASSETS_NAMESPACE)
152: @COMPONENT(component=ALL_COMPONENT)
153: public final class CAPITAL_ASSETS_ALL {
154: }
155:
156: @NAMESPACE(namespace=CAPITAL_ASSETS_NAMESPACE)
157: @COMPONENT(component=DOCUMENT_COMPONENT)
158: public final class CAPITAL_ASSETS_DOCUMENT {
159: }
160:
161: @NAMESPACE(namespace=CAPITAL_ASSETS_NAMESPACE)
162: @COMPONENT(component=LOOKUP_COMPONENT)
163: public final class CAPITAL_ASSETS_LOOKUP {
164: }
165:
166: @NAMESPACE(namespace=CAPITAL_ASSETS_NAMESPACE)
167: @COMPONENT(component=BATCH_COMPONENT)
168: public final class CAPITAL_ASSETS_BATCH {
169: }
170:
171: @NAMESPACE(namespace=CONTRACTS_AND_GRANTS_NAMESPACE)
172: @COMPONENT(component=ALL_COMPONENT)
173: public final class CONTRACTS_AND_GRANTS_ALL {
174: }
175:
176: @NAMESPACE(namespace=CONTRACTS_AND_GRANTS_NAMESPACE)
177: @COMPONENT(component=DOCUMENT_COMPONENT)
178: public final class CONTRACTS_AND_GRANTS_DOCUMENT {
179: }
180:
181: @NAMESPACE(namespace=CONTRACTS_AND_GRANTS_NAMESPACE)
182: @COMPONENT(component=LOOKUP_COMPONENT)
183: public final class CONTRACTS_AND_GRANTS_LOOKUP {
184: }
185:
186: @NAMESPACE(namespace=CONTRACTS_AND_GRANTS_NAMESPACE)
187: @COMPONENT(component=BATCH_COMPONENT)
188: public final class CONTRACTS_AND_GRANTS_BATCH {
189: }
190:
191: @NAMESPACE(namespace=CHART_NAMESPACE)
192: @COMPONENT(component=ALL_COMPONENT)
193: public final class CHART_ALL {
194: }
195:
196: @NAMESPACE(namespace=CHART_NAMESPACE)
197: @COMPONENT(component=DOCUMENT_COMPONENT)
198: public final class CHART_DOCUMENT {
199: }
200:
201: @NAMESPACE(namespace=CHART_NAMESPACE)
202: @COMPONENT(component=LOOKUP_COMPONENT)
203: public final class CHART_LOOKUP {
204: }
205:
206: @NAMESPACE(namespace=CHART_NAMESPACE)
207: @COMPONENT(component=BATCH_COMPONENT)
208: public final class CHART_BATCH {
209: }
210:
211: @NAMESPACE(namespace=FINANCIAL_PROCESSING_NAMESPACE)
212: @COMPONENT(component=ALL_COMPONENT)
213: public final class FINANCIAL_PROCESSING_ALL {
214: }
215:
216: @NAMESPACE(namespace=FINANCIAL_PROCESSING_NAMESPACE)
217: @COMPONENT(component=DOCUMENT_COMPONENT)
218: public final class FINANCIAL_PROCESSING_DOCUMENT {
219: }
220:
221: @NAMESPACE(namespace=FINANCIAL_PROCESSING_NAMESPACE)
222: @COMPONENT(component=LOOKUP_COMPONENT)
223: public final class FINANCIAL_PROCESSING_LOOKUP {
224: }
225:
226: @NAMESPACE(namespace=FINANCIAL_SYSTEM_NAMESPACE)
227: @COMPONENT(component=BATCH_COMPONENT)
228: public final class FINANCIAL_PROCESSING_BATCH {
229: }
230:
231: @NAMESPACE(namespace=GENERAL_LEDGER_NAMESPACE)
232: @COMPONENT(component=ALL_COMPONENT)
233: public final class GENERAL_LEDGER_ALL {
234: }
235:
236: @NAMESPACE(namespace=GENERAL_LEDGER_NAMESPACE)
237: @COMPONENT(component=DOCUMENT_COMPONENT)
238: public final class GENERAL_LEDGER_DOCUMENT {
239: }
240:
241: @NAMESPACE(namespace=GENERAL_LEDGER_NAMESPACE)
242: @COMPONENT(component=LOOKUP_COMPONENT)
243: public final class GENERAL_LEDGER_LOOKUP {
244: }
245:
246: @NAMESPACE(namespace=GENERAL_LEDGER_NAMESPACE)
247: @COMPONENT(component=BATCH_COMPONENT)
248: public final class GENERAL_LEDGER_BATCH {
249: }
250:
251: @NAMESPACE(namespace=LABOR_NAMESPACE)
252: @COMPONENT(component=ALL_COMPONENT)
253: public final class LABOR_ALL {
254: }
255:
256: @NAMESPACE(namespace=LABOR_NAMESPACE)
257: @COMPONENT(component=DOCUMENT_COMPONENT)
258: public final class LABOR_DOCUMENT {
259: }
260:
261: @NAMESPACE(namespace=LABOR_NAMESPACE)
262: @COMPONENT(component=LOOKUP_COMPONENT)
263: public final class LABOR_LOOKUP {
264: }
265:
266: @NAMESPACE(namespace=LABOR_NAMESPACE)
267: @COMPONENT(component=BATCH_COMPONENT)
268: public final class LABOR_BATCH {
269: }
270:
271: @NAMESPACE(namespace=PRE_DISBURSEMENT_NAMESPACE)
272: @COMPONENT(component=ALL_COMPONENT)
273: public final class PRE_DISBURSEMENT_ALL {
274: }
275:
276: @NAMESPACE(namespace=PRE_DISBURSEMENT_NAMESPACE)
277: @COMPONENT(component=DOCUMENT_COMPONENT)
278: public final class PRE_DISBURSEMENT_DOCUMENT {
279: }
280:
281: @NAMESPACE(namespace=PRE_DISBURSEMENT_NAMESPACE)
282: @COMPONENT(component=LOOKUP_COMPONENT)
283: public final class PRE_DISBURSEMENT_LOOKUP {
284: }
285:
286: @NAMESPACE(namespace=PRE_DISBURSEMENT_NAMESPACE)
287: @COMPONENT(component=BATCH_COMPONENT)
288: public final class PRE_DISBURSEMENT_BATCH {
289: }
290:
291: @NAMESPACE(namespace=PURCHASING_NAMESPACE)
292: @COMPONENT(component=ALL_COMPONENT)
293: public final class PURCHASING_ALL {
294: }
295:
296: @NAMESPACE(namespace=PURCHASING_NAMESPACE)
297: @COMPONENT(component=DOCUMENT_COMPONENT)
298: public final class PURCHASING_DOCUMENT {
299: }
300:
301: @NAMESPACE(namespace=PURCHASING_NAMESPACE)
302: @COMPONENT(component=LOOKUP_COMPONENT)
303: public final class PURCHASING_LOOKUP {
304: }
305:
306: @NAMESPACE(namespace=PURCHASING_NAMESPACE)
307: @COMPONENT(component=BATCH_COMPONENT)
308: public final class PURCHASING_BATCH {
309: }
310:
311: @NAMESPACE(namespace=RESEARCH_ADMINISTRATION_NAMESPACE)
312: @COMPONENT(component=ALL_COMPONENT)
313: public final class RESEARCH_ADMINISTRATION_ALL {
314: }
315:
316: @NAMESPACE(namespace=RESEARCH_ADMINISTRATION_NAMESPACE)
317: @COMPONENT(component=DOCUMENT_COMPONENT)
318: public final class RESEARCH_ADMINISTRATION_DOCUMENT {
319: }
320:
321: @NAMESPACE(namespace=RESEARCH_ADMINISTRATION_NAMESPACE)
322: @COMPONENT(component=LOOKUP_COMPONENT)
323: public final class RESEARCH_ADMINISTRATION_LOOKUP {
324: }
325:
326: @NAMESPACE(namespace=RESEARCH_ADMINISTRATION_NAMESPACE)
327: @COMPONENT(component=BATCH_COMPONENT)
328: public final class RESEARCH_ADMINISTRATION_BATCH {
329: }
330:
331: @NAMESPACE(namespace=VENDOR_NAMESPACE)
332: @COMPONENT(component=ALL_COMPONENT)
333: public final class VENDOR_ALL {
334: }
335:
336: @NAMESPACE(namespace=VENDOR_NAMESPACE)
337: @COMPONENT(component=DOCUMENT_COMPONENT)
338: public final class VENDOR_DOCUMENT {
339: }
340:
341: @NAMESPACE(namespace=VENDOR_NAMESPACE)
342: @COMPONENT(component=LOOKUP_COMPONENT)
343: public final class VENDOR_LOOKUP {
344: }
345:
346: @NAMESPACE(namespace=VENDOR_NAMESPACE)
347: @COMPONENT(component=BATCH_COMPONENT)
348: public final class VENDOR_BATCH {
349: }
350: }
|