Coverage Report - org.kuali.rice.kns.bo.MultipleValueLookupMetadata
 
Classes in this File Line Coverage Branch Coverage Complexity
MultipleValueLookupMetadata
0%
0/13
N/A
1
 
 1  
 /*
 2  
  * Copyright 2007 The Kuali Foundation
 3  
  * 
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  * 
 8  
  * http://www.opensource.org/licenses/ecl2.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.rice.kns.bo;
 17  
 
 18  
 import java.sql.Timestamp;
 19  
 import java.util.LinkedHashMap;
 20  
 
 21  
 import org.kuali.rice.kns.util.KNSConstants;
 22  
 import javax.persistence.Column;
 23  
 import javax.persistence.Id;
 24  
 import javax.persistence.MappedSuperclass;
 25  
 import javax.persistence.Transient;
 26  
 
 27  
 @MappedSuperclass
 28  0
 public abstract class MultipleValueLookupMetadata extends PersistableBusinessObjectBase {
 29  
     @Id
 30  
     @Column(name="LOOKUP_RSLT_ID")
 31  
     private String lookupResultsSequenceNumber;
 32  
     @Column(name="PRNCPL_ID")
 33  
     private String lookupPersonId;
 34  
     /**
 35  
      * the time the lookup data was persisted, used by a batch purge job
 36  
      */
 37  
     @Transient
 38  
     private Timestamp lookupDate;
 39  
     
 40  
     public String getLookupResultsSequenceNumber() {
 41  0
         return lookupResultsSequenceNumber;
 42  
     }
 43  
 
 44  
     public void setLookupResultsSequenceNumber(String lookupResultsSequenceNumber) {
 45  0
         this.lookupResultsSequenceNumber = lookupResultsSequenceNumber;
 46  0
     }
 47  
 
 48  
     public String getLookupPersonId() {
 49  0
         return lookupPersonId;
 50  
     }
 51  
 
 52  
     public void setLookupPersonId(String lookupPersonId) {
 53  0
         this.lookupPersonId = lookupPersonId;
 54  0
     }
 55  
 
 56  
     @Override
 57  
     protected LinkedHashMap toStringMapper() {
 58  0
         LinkedHashMap map = new LinkedHashMap();
 59  0
         map.put(KNSConstants.LOOKUP_RESULTS_SEQUENCE_NUMBER, getLookupResultsSequenceNumber());
 60  0
         return map;
 61  
     }
 62  
 
 63  
     /**
 64  
      * @return the time the lookup data was persisted, used by a batch purge job
 65  
      */
 66  
     public Timestamp getLookupDate() {
 67  0
         return lookupDate;
 68  
     }
 69  
 
 70  
     /**
 71  
      * @param lookupDate the time the lookup data was persisted, used by a batch purge job
 72  
      */
 73  
     public void setLookupDate(Timestamp lookupDate) {
 74  0
         this.lookupDate = lookupDate;
 75  0
     }
 76  
 }
 77