Clover Coverage Report - KS Common 1.2-M3-SNAPSHOT (Aggregated)
Coverage timestamp: Mon Jun 6 2011 05:37:04 EDT
../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
8   83   8   1
0   41   1   8
8     1  
1    
 
  Meta       Line # 26 8 0% 8 0 100% 1.0
 
  (228)
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
14    */
15   
16    package org.kuali.student.common.entity;
17   
18    import java.util.Date;
19   
20    import javax.persistence.Column;
21    import javax.persistence.Embeddable;
22    import javax.persistence.Temporal;
23    import javax.persistence.TemporalType;
24   
25    @Embeddable
 
26    public class Meta {
27   
28    // Hibernate will not allow @Version in @Embeddable for some annoying reason
29    // @Version
30    // private long versionInd;
31   
32    // public long getVersionNumber() {
33    // return versionInd;
34    // }
35    //
36    // public void setVersionInd(long versionInd) {
37    // this.versionInd = versionInd;
38    // }
39   
40    @Temporal(TemporalType.TIMESTAMP)
41    @Column(updatable=false)
42    private Date createTime;
43   
44    @Column(updatable=false)
45    private String createId;
46   
47    @Temporal(TemporalType.TIMESTAMP)
48    private Date updateTime;
49   
50    private String updateId;
51   
 
52  5628 toggle public Date getCreateTime() {
53  5628 return createTime;
54    }
55   
 
56  2522 toggle public void setCreateTime(Date createTime) {
57  2522 this.createTime = createTime;
58    }
59   
 
60  5628 toggle public String getCreateId() {
61  5628 return createId;
62    }
63   
 
64  2516 toggle public void setCreateId(String createId) {
65  2516 this.createId = createId;
66    }
67   
 
68  5628 toggle public Date getUpdateTime() {
69  5628 return updateTime;
70    }
71   
 
72  3080 toggle public void setUpdateTime(Date updateTime) {
73  3080 this.updateTime = updateTime;
74    }
75   
 
76  5628 toggle public String getUpdateId() {
77  5628 return updateId;
78    }
79   
 
80  3080 toggle public void setUpdateId(String updateId) {
81  3080 this.updateId = updateId;
82    }
83    }