Coverage Report - org.kuali.rice.kew.webservice.DocumentResponse
 
Classes in this File Line Coverage Branch Coverage Complexity
DocumentResponse
0%
0/26
N/A
1
 
 1  
 /*
 2  
  * Copyright 2008-2009 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.webservice;
 17  
 
 18  
 import java.util.List;
 19  
 
 20  
 /**
 21  
  * Response object used when creating or obtaining documents
 22  
  */
 23  
 public class DocumentResponse extends StandardResponse {
 24  
     protected String docId;
 25  
     protected String docContent;
 26  
     protected String title;
 27  
     protected List<NoteDetail> notes;
 28  
     protected String actionRequested;
 29  0
     public DocumentResponse() {}
 30  0
     public DocumentResponse(StandardResponse standardResponse) {
 31  0
         this.appDocId = standardResponse.getAppDocId();
 32  0
         this.createDate = standardResponse.getCreateDate();
 33  0
         this.docStatus = standardResponse.getDocStatus();
 34  0
         this.errorMessage = standardResponse.getErrorMessage();
 35  0
         this.initiatorPrincipalId = standardResponse.getInitiatorPrincipalId();
 36  0
         this.initiatorName = standardResponse.getInitiatorName();
 37  0
         this.routedByPrincipalId = standardResponse.getRoutedByPrincipalId();
 38  0
         this.routedByUserName = standardResponse.getRoutedByUserName();
 39  0
     }
 40  
     public String getDocContent() {
 41  0
         return docContent;
 42  
     }
 43  
     public void setDocContent(String docContent) {
 44  0
         this.docContent = docContent;
 45  0
     }
 46  
     public String getTitle() {
 47  0
         return title;
 48  
     }
 49  
     public void setTitle(String title) {
 50  0
         this.title = title;
 51  0
     }
 52  
     public List<NoteDetail> getNotes() {
 53  0
         return notes;
 54  
     }
 55  
     public void setNotes(List<NoteDetail> notes) {
 56  0
         this.notes = notes;
 57  0
     }
 58  
     public String getActionRequested() {
 59  0
         return actionRequested;
 60  
     }
 61  
     public void setActionRequested(String actionRequested) {
 62  0
         this.actionRequested = actionRequested;
 63  0
     }
 64  
     public String getDocId() {
 65  0
         return docId;
 66  
     }
 67  
     public void setDocId(String docId) {
 68  0
         this.docId = docId;
 69  0
     }
 70  
 }