1 /* 2 * Copyright 2007 The Kuali Foundation 3 * 4 * Licensed under the Educational Community License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.opensource.org/licenses/ecl2.php 9 * 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.ole.gl.batch.dataaccess; 17 18 import java.util.List; 19 20 import org.kuali.ole.gl.businessobject.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(Class<? extends OriginEntryFull> clazz, String[] columnNames, boolean caseInsensitive); 36 }