Coverage Report - org.kuali.rice.kew.api.document.DocumentStatusTransitionContract
 
Classes in this File Line Coverage Branch Coverage Complexity
DocumentStatusTransitionContract
N/A
N/A
1
 
 1  
 /**
 2  
  * Copyright 2005-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.opensource.org/licenses/ecl2.php
 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.rice.kew.api.document;
 17  
 
 18  
 import org.joda.time.DateTime;
 19  
 
 20  
 public interface DocumentStatusTransitionContract {
 21  
     /**
 22  
      * The unique id of the DocumentStatusTransition.
 23  
      *
 24  
      * @return id
 25  
      */
 26  
     String getId();
 27  
 
 28  
     /**
 29  
      * The id parent document of the DocumentStatusTransition.
 30  
      *
 31  
      * @return documentId
 32  
      */
 33  
         String getDocumentId();
 34  
 
 35  
     /**
 36  
      * The previous status value of the DocumentStatusTransition.
 37  
      *
 38  
      * @return oldStatus
 39  
      */
 40  
         String getOldStatus();
 41  
 
 42  
     /**
 43  
      * The new status value of the DocumentStatusTransition.
 44  
      *
 45  
      * @return newStatus
 46  
      */
 47  
         String getNewStatus();
 48  
 
 49  
     /**
 50  
      * The date of the DocumentStatusTransition.
 51  
      *
 52  
      * @return statusTransitionDate
 53  
      */
 54  
         DateTime getStatusTransitionDate();
 55  
 }