Coverage Report - com.ctrip.framework.apollo.core.dto.ApolloConfigNotification
 
Classes in this File Line Coverage Branch Coverage Complexity
ApolloConfigNotification
0%
0/13
N/A
1
 
 1  
 package com.ctrip.framework.apollo.core.dto;
 2  
 
 3  
 /**
 4  
  * @author Jason Song(song_s@ctrip.com)
 5  
  */
 6  
 public class ApolloConfigNotification {
 7  
   private String namespaceName;
 8  
   private long notificationId;
 9  
 
 10  
   //for json converter
 11  0
   public ApolloConfigNotification() {
 12  0
   }
 13  
 
 14  0
   public ApolloConfigNotification(String namespaceName, long notificationId) {
 15  0
     this.namespaceName = namespaceName;
 16  0
     this.notificationId = notificationId;
 17  0
   }
 18  
 
 19  
   public String getNamespaceName() {
 20  0
     return namespaceName;
 21  
   }
 22  
 
 23  
   public long getNotificationId() {
 24  0
     return notificationId;
 25  
   }
 26  
 
 27  
   public void setNamespaceName(String namespaceName) {
 28  0
     this.namespaceName = namespaceName;
 29  0
   }
 30  
 
 31  
   public void setNotificationId(long notificationId) {
 32  0
     this.notificationId = notificationId;
 33  0
   }
 34  
 
 35  
   @Override
 36  
   public String toString() {
 37  0
     return "ApolloConfigNotification{" +
 38  
         "namespaceName='" + namespaceName + '\'' +
 39  
         ", notificationId=" + notificationId +
 40  
         '}';
 41  
   }
 42  
 }