Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
BaseVersionEntity |
|
| 1.0;1 |
1 | package org.kuali.student.r2.common.entity; | |
2 | ||
3 | import javax.persistence.Column; | |
4 | import javax.persistence.MappedSuperclass; | |
5 | import javax.persistence.Version; | |
6 | ||
7 | @MappedSuperclass | |
8 | 0 | public class BaseVersionEntity extends BaseEntity{ |
9 | ||
10 | @Version | |
11 | @Column(name="VER_NBR") | |
12 | private Long versionNumber; | |
13 | ||
14 | public Long getVersionNumber() { | |
15 | 0 | return versionNumber; |
16 | } | |
17 | ||
18 | public void setVersionNumber(Long versionNumber) { | |
19 | 0 | this.versionNumber = versionNumber; |
20 | 0 | } |
21 | } |