Coverage Report - org.kuali.rice.kew.dto.DocumentEventDTO
 
Classes in this File Line Coverage Branch Coverage Complexity
DocumentEventDTO
0%
0/13
N/A
1
 
 1  
 /*
 2  
  * Copyright 2005-2008 The Kuali Foundation
 3  
  * 
 4  
  * 
 5  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 6  
  * you may not use this file except in compliance with the License.
 7  
  * You may obtain a copy of the License at
 8  
  * 
 9  
  * http://www.opensource.org/licenses/ecl2.php
 10  
  * 
 11  
  * Unless required by applicable law or agreed to in writing, software
 12  
  * distributed under the License is distributed on an "AS IS" BASIS,
 13  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 14  
  * See the License for the specific language governing permissions and
 15  
  * limitations under the License.
 16  
  */
 17  
 package org.kuali.rice.kew.dto;
 18  
 
 19  
 import java.io.Serializable;
 20  
 
 21  
 /**
 22  
  * Superclass for all Document Events which can be generated by the routing engine.
 23  
  * 
 24  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 25  
  */
 26  
 public abstract class DocumentEventDTO implements Serializable {
 27  
 
 28  
     public static final String ROUTE_LEVEL_CHANGE = "rt_lvl_change";
 29  
     public static final String ROUTE_STATUS_CHANGE = "rt_status_change";
 30  
     public static final String DELETE_CHANGE = "delete_document";
 31  
     public static final String ACTION_TAKEN = "action_taken";
 32  
     public static final String BEFORE_PROCESS = "before_process";
 33  
     public static final String AFTER_PROCESS = "after_process";
 34  
     public static final String LOCK_DOCUMENTS = "lock_documents";
 35  
 
 36  
     private String documentEventCode;
 37  
     private String documentId;
 38  
     private String appDocId;
 39  
     
 40  0
     public DocumentEventDTO() {}
 41  
 
 42  0
     public DocumentEventDTO(String documentEventCode) {
 43  0
         this.documentEventCode = documentEventCode;
 44  0
     }
 45  
     
 46  
     public String getAppDocId() {
 47  0
         return appDocId;
 48  
     }
 49  
 
 50  
     public void setAppDocId(String appDocId) {
 51  0
         this.appDocId = appDocId;
 52  0
     }
 53  
 
 54  
     public String getDocumentEventCode() {
 55  0
         return documentEventCode;
 56  
     }
 57  
 
 58  
     public void setDocumentEventCode(String documentEventCode) {
 59  0
         this.documentEventCode = documentEventCode;
 60  0
     }
 61  
 
 62  
     public String getDocumentId() {
 63  0
         return documentId;
 64  
     }
 65  
 
 66  
     public void setDocumentId(String documentId) {
 67  0
         this.documentId = documentId;
 68  0
     }
 69  
     
 70  
 }