1 package org.kuali.student.r1.common.entity; 2 3 import java.util.Date; 4 5 import javax.persistence.Column; 6 import javax.persistence.Embeddable; 7 import javax.persistence.Temporal; 8 import javax.persistence.TemporalType; 9 10 @Deprecated 11 @Embeddable 12 public class Version { 13 @Column(name = "VER_IND_ID") 14 private String versionIndId; 15 16 @Column(name = "SEQ_NUM") 17 private Long sequenceNumber; 18 19 @Temporal(TemporalType.TIMESTAMP) 20 @Column(name = "CURR_VER_START") 21 private Date currentVersionStart; 22 23 @Temporal(TemporalType.TIMESTAMP) 24 @Column(name = "CURR_VER_END") 25 private Date currentVersionEnd; 26 27 @Column(name = "VER_FROM_ID") 28 private String versionedFromId; 29 30 @Column(name = "VER_CMT") 31 private String versionComment; 32 33 public Date getCurrentVersionStart() { 34 return currentVersionStart; 35 } 36 37 public void setCurrentVersionStart(Date currentVersionStart) { 38 this.currentVersionStart = currentVersionStart; 39 } 40 41 public Date getCurrentVersionEnd() { 42 return currentVersionEnd; 43 } 44 45 public void setCurrentVersionEnd(Date currentVersionEnd) { 46 this.currentVersionEnd = currentVersionEnd; 47 } 48 49 public String getVersionIndId() { 50 return versionIndId; 51 } 52 53 public void setVersionIndId(String versionIndId) { 54 this.versionIndId = versionIndId; 55 } 56 57 public Long getSequenceNumber() { 58 return sequenceNumber; 59 } 60 61 public void setSequenceNumber(Long sequenceNumber) { 62 this.sequenceNumber = sequenceNumber; 63 } 64 65 public String getVersionComment() { 66 return versionComment; 67 } 68 69 public void setVersionComment(String versionComment) { 70 this.versionComment = versionComment; 71 } 72 73 public String getVersionedFromId() { 74 return versionedFromId; 75 } 76 77 public void setVersionedFromId(String versionedFromId) { 78 this.versionedFromId = versionedFromId; 79 } 80 81 }