Coverage Report - org.kuali.student.common.ui.client.dto.FileStatus
 
Classes in this File Line Coverage Branch Coverage Complexity
FileStatus
0%
0/15
N/A
1
FileStatus$FileTransferStatus
0%
0/1
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.common.ui.client.dto;
 17  
 
 18  
 import java.io.Serializable;
 19  
 
 20  
 
 21  0
 public class FileStatus implements Serializable{
 22  
         private static final long serialVersionUID = 1L;
 23  
         
 24  0
         public static enum FileTransferStatus{IN_PROGRESS, UPLOAD_FINISHED, COMMIT_FINISHED, ERROR, FILE_ERROR}
 25  0
         private FileTransferStatus status = FileTransferStatus.IN_PROGRESS;
 26  0
         private Long progress = 0L;
 27  
         private String fileName;
 28  
         private String docId;
 29  
         
 30  
         public String getFileName() {
 31  0
                 return fileName;
 32  
         }
 33  
         public void setFileName(String fileName) {
 34  0
                 this.fileName = fileName;
 35  0
         }
 36  
         public FileTransferStatus getStatus() {
 37  0
                 return status;
 38  
         }
 39  
         public void setStatus(FileTransferStatus status) {
 40  0
                 this.status = status;
 41  0
         }
 42  
         public Long getProgress() {
 43  0
                 return progress;
 44  
         }
 45  
         public void setProgress(Long progress) {
 46  0
                 this.progress = progress;
 47  0
         }
 48  
         public String getDocId() {
 49  0
                 return docId;
 50  
         }
 51  
         public void setDocId(String docId) {
 52  0
                 this.docId = docId;
 53  0
         }
 54  
         
 55  
         
 56  
 }