1 package org.kuali.ole.ingest.resolver; 2 3 import org.kuali.ole.OLEConstants; 4 import org.kuali.ole.ingest.pojo.ProfileTerm; 5 6 /** 7 * Created by IntelliJ IDEA. 8 * User: pvsubrah 9 * Date: 3/28/12 10 * Time: 3:10 PM 11 * To change this template use File | Settings | File Templates. 12 */ 13 public class ExistingTermResolver extends AbstractProfileTermResolver{ 14 /** 15 * This method returns the profile terms need to be resolved 16 * @param profileTerm 17 * @return profileTerm 18 */ 19 @Override 20 protected Object resolveFromProfileTerm(ProfileTerm profileTerm) { 21 return profileTerm.getExistingField(); 22 } 23 24 /** 25 * Gets the existing field constant from oleConstants 26 * @return existing field. 27 */ 28 @Override 29 public String getOutput() { 30 return OLEConstants.EXISTING_FIELD; 31 } 32 }