001 package org.kuali.student.r1.common.entity; 002 003 import java.util.Date; 004 005 import javax.persistence.Column; 006 import javax.persistence.Embeddable; 007 import javax.persistence.Temporal; 008 import javax.persistence.TemporalType; 009 010 @Deprecated 011 @Embeddable 012 public class Version { 013 @Column(name = "VER_IND_ID") 014 private String versionIndId; 015 016 @Column(name = "SEQ_NUM") 017 private Long sequenceNumber; 018 019 @Temporal(TemporalType.TIMESTAMP) 020 @Column(name = "CURR_VER_START") 021 private Date currentVersionStart; 022 023 @Temporal(TemporalType.TIMESTAMP) 024 @Column(name = "CURR_VER_END") 025 private Date currentVersionEnd; 026 027 @Column(name = "VER_FROM_ID") 028 private String versionedFromId; 029 030 @Column(name = "VER_CMT") 031 private String versionComment; 032 033 public Date getCurrentVersionStart() { 034 return currentVersionStart; 035 } 036 037 public void setCurrentVersionStart(Date currentVersionStart) { 038 this.currentVersionStart = currentVersionStart; 039 } 040 041 public Date getCurrentVersionEnd() { 042 return currentVersionEnd; 043 } 044 045 public void setCurrentVersionEnd(Date currentVersionEnd) { 046 this.currentVersionEnd = currentVersionEnd; 047 } 048 049 public String getVersionIndId() { 050 return versionIndId; 051 } 052 053 public void setVersionIndId(String versionIndId) { 054 this.versionIndId = versionIndId; 055 } 056 057 public Long getSequenceNumber() { 058 return sequenceNumber; 059 } 060 061 public void setSequenceNumber(Long sequenceNumber) { 062 this.sequenceNumber = sequenceNumber; 063 } 064 065 public String getVersionComment() { 066 return versionComment; 067 } 068 069 public void setVersionComment(String versionComment) { 070 this.versionComment = versionComment; 071 } 072 073 public String getVersionedFromId() { 074 return versionedFromId; 075 } 076 077 public void setVersionedFromId(String versionedFromId) { 078 this.versionedFromId = versionedFromId; 079 } 080 081 }