View Javadoc

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