Clover Coverage Report - KS Common 1.2-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Mar 3 2011 04:36:44 EST
../../../../../../img/srcFileCovDistChart0.png 54% of files have more coverage
12   119   12   1
0   58   1   12
12     1  
1    
 
  VersionInfo       Line # 35 12 0% 12 24 0% 0.0
 
No Tests
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
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    * Detailed information about a proposal.
27    *
28    * @Author KSContractMojo
29    * @Author Kamal
30    * @Since Thu May 28 10:25:28 EDT 2009
31    * @See <a href="https://wiki.kuali.org/display/KULSTU/versionInfo+Structure">VersionInfo</>
32    *
33    */
34    @XmlAccessorType(XmlAccessType.FIELD)
 
35    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    * Version independent Id that remains the same across all versions
59    */
 
60  0 toggle public String getVersionIndId() {
61  0 return versionIndId;
62    }
63   
 
64  0 toggle public void setVersionIndId(String versionIndId) {
65  0 this.versionIndId = versionIndId;
66    }
67   
68    /**
69    * The sequence number of the version
70    */
 
71  0 toggle public Long getSequenceNumber() {
72  0 return sequenceNumber;
73    }
74   
 
75  0 toggle public void setSequenceNumber(Long sequenceNumber) {
76  0 this.sequenceNumber = sequenceNumber;
77    }
78   
79    /**
80    * The date and time this version became current.
81    */
 
82  0 toggle public Date getCurrentVersionStart() {
83  0 return currentVersionStart;
84    }
85   
 
86  0 toggle public void setCurrentVersionStart(Date currentVersionStart) {
87  0 this.currentVersionStart = currentVersionStart;
88    }
89   
90    /**
91    * The date and time when this version stopped being current.
92    */
 
93  0 toggle public Date getCurrentVersionEnd() {
94  0 return currentVersionEnd;
95    }
96   
 
97  0 toggle public void setCurrentVersionEnd(Date currentVersionEnd) {
98  0 this.currentVersionEnd = currentVersionEnd;
99    }
100   
101    /**
102    * Comments associated with the verison
103    */
 
104  0 toggle public String getVersionComment() {
105  0 return versionComment;
106    }
107   
 
108  0 toggle public void setVersionComment(String versionComment) {
109  0 this.versionComment = versionComment;
110    }
111   
 
112  0 toggle public void setVersionedFromId(String versionedFromId) {
113  0 this.versionedFromId = versionedFromId;
114    }
115   
 
116  0 toggle public String getVersionedFromId() {
117  0 return versionedFromId;
118    }
119    }