##### Coverage Report - com.ctrip.framework.apollo.portal.entity.vo.ItemDiffs

Classes in this File | Line Coverage | Branch Coverage | Complexity
ItemDiffs |
77% | 7/9
N/A | N/A
| 1.0;1

1 |  |
     package com.ctrip.framework.apollo.portal.entity.vo;
2 |  |
3 |  |
     import com.ctrip.framework.apollo.core.dto.ItemChangeSets;
4 |  |
5 |  |
     public class ItemDiffs {
6 |  |
       private NamespaceIdentifer namespace;
7 |  |
       private ItemChangeSets diffs;
8 |  |
9 | 2 |
       public ItemDiffs(NamespaceIdentifer namespace){
10 | 2 |
         this.namespace = namespace;
11 | 2 |
       }
12 |  |
       public NamespaceIdentifer getNamespace() {
13 | 1 |
         return namespace;
14 |  |
       }
15 |  |
16 |  |
       public void setNamespace(NamespaceIdentifer namespace) {
17 | 0 |
         this.namespace = namespace;
18 | 0 |
       }
19 |  |
20 |  |
       public ItemChangeSets getDiffs() {
21 | 2 |
         return diffs;
22 |  |
       }
23 |  |
24 |  |
       public void setDiffs(ItemChangeSets diffs) {
25 | 2 |
         this.diffs = diffs;
26 | 2 |
       }
27 |  |
     }