1 package org.kuali.student.r2.common.assembler; 2 3 import org.kuali.student.r2.common.dto.ContextInfo; 4 import org.kuali.student.r2.common.dto.EntityInfo; 5 import org.kuali.student.r2.common.dto.RelationshipInfo; 6 7 public class RelationshipDTOAssembler< E extends RelationshipInfo, F extends RelationshipInfo> { 8 9 10 public F assemble(E fromDTO, F toDTO, ContextInfo context) { 11 12 toDTO.setAttributes(fromDTO.getAttributes()); 13 toDTO.setEffectiveDate(fromDTO.getEffectiveDate()); 14 toDTO.setExpirationDate(fromDTO.getExpirationDate()); 15 toDTO.setId(fromDTO.getId()); 16 toDTO.setMeta(fromDTO.getMeta()); 17 toDTO.setStateKey(fromDTO.getStateKey()); 18 toDTO.setTypeKey(fromDTO.getTypeKey()); 19 toDTO.setId(fromDTO.getId()); 20 return toDTO; 21 22 } 23 24 }