1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.common.versionmanagement.dto; |
17 | |
|
18 | |
import java.io.Serializable; |
19 | |
import java.util.Date; |
20 | |
|
21 | |
import javax.xml.bind.annotation.XmlAccessType; |
22 | |
import javax.xml.bind.annotation.XmlAccessorType; |
23 | |
import javax.xml.bind.annotation.XmlElement; |
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
@XmlAccessorType(XmlAccessType.FIELD) |
35 | 0 | public class VersionInfo implements Serializable { |
36 | |
|
37 | |
private static final long serialVersionUID = 1L; |
38 | |
|
39 | |
@XmlElement |
40 | |
private String versionIndId; |
41 | |
|
42 | |
@XmlElement |
43 | |
private Long sequenceNumber; |
44 | |
|
45 | |
@XmlElement |
46 | |
private Date currentVersionStart; |
47 | |
|
48 | |
@XmlElement |
49 | |
private Date currentVersionEnd; |
50 | |
|
51 | |
@XmlElement |
52 | |
private String versionComment; |
53 | |
|
54 | |
@XmlElement |
55 | |
private String versionedFromId; |
56 | |
|
57 | |
|
58 | |
|
59 | |
|
60 | |
public String getVersionIndId() { |
61 | 0 | return versionIndId; |
62 | |
} |
63 | |
|
64 | |
public void setVersionIndId(String versionIndId) { |
65 | 0 | this.versionIndId = versionIndId; |
66 | 0 | } |
67 | |
|
68 | |
|
69 | |
|
70 | |
|
71 | |
public Long getSequenceNumber() { |
72 | 0 | return sequenceNumber; |
73 | |
} |
74 | |
|
75 | |
public void setSequenceNumber(Long sequenceNumber) { |
76 | 0 | this.sequenceNumber = sequenceNumber; |
77 | 0 | } |
78 | |
|
79 | |
|
80 | |
|
81 | |
|
82 | |
public Date getCurrentVersionStart() { |
83 | 0 | return currentVersionStart; |
84 | |
} |
85 | |
|
86 | |
public void setCurrentVersionStart(Date currentVersionStart) { |
87 | 0 | this.currentVersionStart = currentVersionStart; |
88 | 0 | } |
89 | |
|
90 | |
|
91 | |
|
92 | |
|
93 | |
public Date getCurrentVersionEnd() { |
94 | 0 | return currentVersionEnd; |
95 | |
} |
96 | |
|
97 | |
public void setCurrentVersionEnd(Date currentVersionEnd) { |
98 | 0 | this.currentVersionEnd = currentVersionEnd; |
99 | 0 | } |
100 | |
|
101 | |
|
102 | |
|
103 | |
|
104 | |
public String getVersionComment() { |
105 | 0 | return versionComment; |
106 | |
} |
107 | |
|
108 | |
public void setVersionComment(String versionComment) { |
109 | 0 | this.versionComment = versionComment; |
110 | 0 | } |
111 | |
|
112 | |
public void setVersionedFromId(String versionedFromId) { |
113 | 0 | this.versionedFromId = versionedFromId; |
114 | 0 | } |
115 | |
|
116 | |
public String getVersionedFromId() { |
117 | 0 | return versionedFromId; |
118 | |
} |
119 | |
} |