Coverage Report - org.kuali.student.core.atp.infc.MilestoneInfc
 
Classes in this File Line Coverage Branch Coverage Complexity
MilestoneInfc
N/A
N/A
1
 
 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.core.atp.infc;
 17  
 
 18  
 import java.util.Date;
 19  
 import org.kuali.student.common.infc.KeyEntity;
 20  
 
 21  
 
 22  
 /**
 23  
  * Information about a milestone. A milestone may represent a single
 24  
  * point in time or a range depending on the value of isDateRange().
 25  
  *
 26  
  * @Author tom
 27  
  * @Since Tue Apr 05 14:22:34 EDT 2011
 28  
  */ 
 29  
 
 30  
 public interface MilestoneInfc
 31  
     extends KeyEntity {
 32  
 
 33  
     /**
 34  
      * Name: IsDateRange
 35  
      * Tests if this milestone has a date range. 
 36  
      *
 37  
      * @return true if the end date is different than the start date,
 38  
      *         false if the start end end date ar ethe same
 39  
      */
 40  
 
 41  
     public Boolean getIsDateRange();
 42  
 
 43  
 
 44  
     /**
 45  
      * Name: StartDate
 46  
      * The start date and time of the milestone.
 47  
      *
 48  
      * @return the milestone start date 
 49  
      */
 50  
 
 51  
     public Date getStartDate();
 52  
 
 53  
 
 54  
     /**
 55  
      * Name: EndDate 
 56  
      * The end date and time of the milestone. The end
 57  
      * date must be equal to or greater that the start.
 58  
      *
 59  
      * @return the milestone end date
 60  
      */
 61  
 
 62  
     public Date getEndDate();
 63  
 }