01: /*
02: * Copyright 2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.kuali.module.gl.dao;
17:
18: import java.util.List;
19:
20: import org.kuali.module.gl.bo.OriginEntryFull;
21:
22: /**
23: * This class is used to support the enterprise feeder reconciliation process
24: */
25: public interface ReconciliationDao {
26: /**
27: * Converts a list of DB column names to a list of java attribute names. The returned list is the same size as arrap parameter
28: *
29: * @param clazz a class for the OriginEntryFull class
30: * @param columnNames an array of database columns
31: * @param caseInsensitive whether to do matching
32: * @return for every valid index in the return value and the array, the value in the array is the db column name, and the value
33: * in the list is the java attribute name
34: */
35: public List<String> convertDBColumnNamesToJavaName(
36: Class<? extends OriginEntryFull> clazz,
37: String[] columnNames, boolean caseInsensitive);
38: }
|