001    /**
002     * Copyright 2010 The Kuali Foundation Licensed under the
003     * Educational Community License, Version 2.0 (the "License"); you may
004     * not use this file except in compliance with the License. You may
005     * obtain a copy of the License at
006     *
007     * http://www.osedu.org/licenses/ECL-2.0
008     *
009     * Unless required by applicable law or agreed to in writing,
010     * software distributed under the License is distributed on an "AS IS"
011     * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
012     * or implied. See the License for the specific language governing
013     * permissions and limitations under the License.
014     */
015    
016    package org.kuali.student.r1.common.assembly.dictionary.old;
017    
018    import java.util.List;
019    
020    import org.kuali.student.r1.common.dictionary.old.dto.ObjectStructure;
021    import org.kuali.student.r1.common.dictionary.service.old.DictionaryService;
022    
023    /**
024     * This is a description of what this class does - Will Gomes don't forget to fill this in. 
025     * 
026     * @author Kuali Student Team
027     *
028     */
029    public class MockDictionaryService implements DictionaryService{
030    
031        private DictionaryService dictionaryServiceDelegate;
032        
033        /**
034         * @see org.kuali.student.common.dictionary.service.old.DictionaryService#getObjectStructure(java.lang.String)
035         */
036        @Override
037        public ObjectStructure getObjectStructure(String objectTypeKey) {
038            return dictionaryServiceDelegate.getObjectStructure(objectTypeKey);
039        }
040    
041        /**
042         * @see org.kuali.student.common.dictionary.service.old.DictionaryService#getObjectTypes()
043         */
044        @Override
045        public List<String> getObjectTypes() {
046            return dictionaryServiceDelegate.getObjectTypes();
047        }
048    
049        public void setDictionaryServiceDelegate(DictionaryService dictionaryServiceDelegate) {
050            this.dictionaryServiceDelegate = dictionaryServiceDelegate;
051        }
052    
053    }