001    /*
002     * Copyright 2011 The Kuali Foundation.
003     * 
004     * Licensed under the Educational Community License, Version 2.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/ecl2.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.gl.batch.dataaccess;
017    
018    import java.util.List;
019    
020    import org.kuali.kfs.gl.businessobject.OriginEntryFull;
021    
022    /**
023     * This class is used to support the enterprise feeder reconciliation process
024     */
025    public interface ReconciliationDao {
026        /**
027         * Converts a list of DB column names to a list of java attribute names. The returned list is the same size as arrap parameter
028         * 
029         * @param clazz a class for the OriginEntryFull class
030         * @param columnNames an array of database columns
031         * @param caseInsensitive whether to do matching
032         * @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
033         *         in the list is the java attribute name
034         */
035        public List<String> convertDBColumnNamesToJavaName(Class<? extends OriginEntryFull> clazz, String[] columnNames, boolean caseInsensitive);
036    }