Coverage Report - org.kuali.student.r2.core.versionmanagement.infc.Version
 
Classes in this File Line Coverage Branch Coverage Complexity
Version
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright 2011 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may        obtain a copy of the License at
 7  
  *
 8  
  *         http://www.osedu.org/licenses/ECL-2.0
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.student.r2.core.versionmanagement.infc;
 17  
 
 18  
 import java.util.Date;
 19  
 
 20  
 /**
 21  
  * Version object
 22  
  *
 23  
  * @Version 2.0
 24  
  * @Author Sri komandur@uw.edu
 25  
  */
 26  
 
 27  
 public interface Version {
 28  
 
 29  
     /**
 30  
      * Version independent Id that remains the same across all versions
 31  
      * @name Version Independent Id
 32  
      * @readOnly
 33  
      * @required
 34  
      */
 35  
     public String getVersionIndId();
 36  
     /**
 37  
      * The sequence number of the version
 38  
      * @name Sequence Number
 39  
      * @readOnly
 40  
      * @required
 41  
      */
 42  
     public Long getSequenceNumber();
 43  
 
 44  
     /**
 45  
      * The date and time this version became current.
 46  
      * @name Current Version Start Date
 47  
      * @required
 48  
      */
 49  
     public Date getCurrentVersionStart();
 50  
 
 51  
     /**
 52  
      * The date and time when this version stopped being current.
 53  
      * @name Current Version End Date
 54  
      */
 55  
     public Date getCurrentVersionEnd();
 56  
 
 57  
     /**
 58  
      * Comments associated with the version
 59  
      * @name Version Comment
 60  
      */
 61  
     public String getVersionComment();
 62  
 
 63  
     /**
 64  
      * Version from which this version was created
 65  
      *
 66  
      * @name Versioned From Id
 67  
      * @readOnly
 68  
      */
 69  
     public String getVersionedFromId();
 70  
 }
 71