001/** 002 * Copyright 2005-2016 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 */ 016package org.kuali.rice.kns.lookup; 017 018import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 019 020import javax.persistence.Column; 021import javax.persistence.Id; 022import javax.persistence.MappedSuperclass; 023import java.sql.Timestamp; 024 025/** 026 * @deprecated Only used in KNS classes, use KRAD. 027 */ 028@Deprecated 029@MappedSuperclass 030public abstract class MultipleValueLookupMetadata extends PersistableBusinessObjectBase { 031 @Id 032 @Column(name="LOOKUP_RSLT_ID") 033 private String lookupResultsSequenceNumber; 034 @Column(name="PRNCPL_ID") 035 private String lookupPersonId; 036 /** 037 * the time the lookup data was persisted, used by a batch purge job 038 */ 039 //@Transient 040 @Column(name="LOOKUP_DT") 041 private Timestamp lookupDate; 042 043 public String getLookupResultsSequenceNumber() { 044 return lookupResultsSequenceNumber; 045 } 046 047 public void setLookupResultsSequenceNumber(String lookupResultsSequenceNumber) { 048 this.lookupResultsSequenceNumber = lookupResultsSequenceNumber; 049 } 050 051 public String getLookupPersonId() { 052 return lookupPersonId; 053 } 054 055 public void setLookupPersonId(String lookupPersonId) { 056 this.lookupPersonId = lookupPersonId; 057 } 058 059 /** 060 * @return the time the lookup data was persisted, used by a batch purge job 061 */ 062 public Timestamp getLookupDate() { 063 return lookupDate; 064 } 065 066 /** 067 * @param lookupDate the time the lookup data was persisted, used by a batch purge job 068 */ 069 public void setLookupDate(Timestamp lookupDate) { 070 this.lookupDate = lookupDate; 071 } 072} 073