Coverage Report - org.kuali.student.r2.common.infc.FromDto
 
Classes in this File Line Coverage Branch Coverage Complexity
FromDto
N/A
N/A
1
 
 1  
 /**
 2  
  * Copyright 2012 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the the Educational Community License, Version 1.0
 5  
  * (the "License"); you may not use this file except in compliance
 6  
  * with the License.  You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl1.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.student.r2.common.infc;
 17  
 
 18  
 import java.util.List;
 19  
 
 20  
 import org.kuali.student.r2.common.entity.BaseEntity;
 21  
 
 22  
 /**
 23  
  * @author ocleirig
 24  
  *
 25  
  */
 26  
 public interface FromDto<E extends BaseEntity, INFO> {
 27  
         
 28  
         /**
 29  
          * Defines a mechanism to merge the source info data into an entity.  Possilbily resulting in orphaned entities that
 30  
          * @param info the source data
 31  
          * @return list of orphans that were created by the dto to entity conversion.
 32  
          * 
 33  
          */
 34  
         public List<E>fromDto(INFO info);
 35  
         
 36  
         
 37  
 
 38  
 }