Coverage Report - com.ctrip.apollo.core.dto.ItemDTO
 
Classes in this File Line Coverage Branch Coverage Complexity
ItemDTO
0%
0/33
N/A
1
 
 1  
 package com.ctrip.apollo.core.dto;
 2  
 
 3  
 import java.util.Date;
 4  
 
 5  
 public class ItemDTO {
 6  
 
 7  
   private long id;
 8  
 
 9  
   private long namespaceId;
 10  
 
 11  
   private String key;
 12  
 
 13  
   private String value;
 14  
 
 15  
   private String comment;
 16  
 
 17  
   private int lineNum;
 18  
 
 19  
   private String lastModifiedBy;
 20  
 
 21  
   private Date lastModifiedTime;
 22  
 
 23  0
   public ItemDTO() {
 24  
 
 25  0
   }
 26  
 
 27  0
   public ItemDTO(String key, String value, String comment, int lineNum) {
 28  0
     this.key = key;
 29  0
     this.value = value;
 30  0
     this.comment = comment;
 31  0
     this.lineNum = lineNum;
 32  0
   }
 33  
 
 34  
   public long getId() {
 35  0
     return id;
 36  
   }
 37  
 
 38  
   public void setId(long id) {
 39  0
     this.id = id;
 40  0
   }
 41  
 
 42  
   public String getComment() {
 43  0
     return comment;
 44  
   }
 45  
 
 46  
   public String getKey() {
 47  0
     return key;
 48  
   }
 49  
 
 50  
   public long getNamespaceId() {
 51  0
     return namespaceId;
 52  
   }
 53  
 
 54  
   public String getValue() {
 55  0
     return value;
 56  
   }
 57  
 
 58  
   public void setComment(String comment) {
 59  0
     this.comment = comment;
 60  0
   }
 61  
 
 62  
   public void setKey(String key) {
 63  0
     this.key = key;
 64  0
   }
 65  
 
 66  
   public void setNamespaceId(long namespaceId) {
 67  0
     this.namespaceId = namespaceId;
 68  0
   }
 69  
 
 70  
   public void setValue(String value) {
 71  0
     this.value = value;
 72  0
   }
 73  
 
 74  
   public int getLineNum() {
 75  0
     return lineNum;
 76  
   }
 77  
 
 78  
   public void setLineNum(int lineNum) {
 79  0
     this.lineNum = lineNum;
 80  0
   }
 81  
 
 82  
   public String getLastModifiedBy() {
 83  0
     return lastModifiedBy;
 84  
   }
 85  
 
 86  
   public void setLastModifiedBy(String lastModifiedBy) {
 87  0
     this.lastModifiedBy = lastModifiedBy;
 88  0
   }
 89  
 
 90  
   public Date getLastModifiedTime() {
 91  0
     return lastModifiedTime;
 92  
   }
 93  
 
 94  
   public void setLastModifiedTime(Date lastModifiedTime) {
 95  0
     this.lastModifiedTime = lastModifiedTime;
 96  0
   }
 97  
 
 98  
   @Override
 99  
   public String toString() {
 100  0
     return "ItemDTO{" +
 101  
            "id=" + id +
 102  
            ", namespaceId=" + namespaceId +
 103  
            ", key='" + key + '\'' +
 104  
            ", value='" + value + '\'' +
 105  
            ", comment='" + comment + '\'' +
 106  
            ", lineNum=" + lineNum +
 107  
            ", lastModifiedBy='" + lastModifiedBy + '\'' +
 108  
            ", lastModifiedTime=" + lastModifiedTime +
 109  
            '}';
 110  
   }
 111  
 }