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