Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
MultipleValueLookupMetadata |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright 2005-2011 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.krad.bo; | |
17 | ||
18 | import javax.persistence.Column; | |
19 | import javax.persistence.Id; | |
20 | import javax.persistence.MappedSuperclass; | |
21 | import java.sql.Timestamp; | |
22 | ||
23 | @MappedSuperclass | |
24 | 0 | public abstract class MultipleValueLookupMetadata extends PersistableBusinessObjectBase { |
25 | @Id | |
26 | @Column(name="LOOKUP_RSLT_ID") | |
27 | private String lookupResultsSequenceNumber; | |
28 | @Column(name="PRNCPL_ID") | |
29 | private String lookupPersonId; | |
30 | /** | |
31 | * the time the lookup data was persisted, used by a batch purge job | |
32 | */ | |
33 | //@Transient | |
34 | @Column(name="LOOKUP_DT") | |
35 | private Timestamp lookupDate; | |
36 | ||
37 | public String getLookupResultsSequenceNumber() { | |
38 | 0 | return lookupResultsSequenceNumber; |
39 | } | |
40 | ||
41 | public void setLookupResultsSequenceNumber(String lookupResultsSequenceNumber) { | |
42 | 0 | this.lookupResultsSequenceNumber = lookupResultsSequenceNumber; |
43 | 0 | } |
44 | ||
45 | public String getLookupPersonId() { | |
46 | 0 | return lookupPersonId; |
47 | } | |
48 | ||
49 | public void setLookupPersonId(String lookupPersonId) { | |
50 | 0 | this.lookupPersonId = lookupPersonId; |
51 | 0 | } |
52 | ||
53 | /** | |
54 | * @return the time the lookup data was persisted, used by a batch purge job | |
55 | */ | |
56 | public Timestamp getLookupDate() { | |
57 | 0 | return lookupDate; |
58 | } | |
59 | ||
60 | /** | |
61 | * @param lookupDate the time the lookup data was persisted, used by a batch purge job | |
62 | */ | |
63 | public void setLookupDate(Timestamp lookupDate) { | |
64 | 0 | this.lookupDate = lookupDate; |
65 | 0 | } |
66 | } | |
67 |