cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
package cn.ksource.web.service.cmdb;
 
import java.util.HashMap;
import java.util.Map;
 
/**
 * 存放CI基础信息
 */
public class CIPropertity {
 
    //CI的ID
    private String ci_id;
    
    private Map attr = new HashMap();
    
    //基本属性
    private Map basePropertity = new HashMap();
    
    //通用属性
    private Map commonPropertity = new HashMap();
    
    //一级属性
    private Map firstLevelPropertity = new HashMap();
    
    //二级属性
    private Map secondLevelPropertity = new HashMap();
    
    //三级属性
    private Map thirdLevelPropertity = new HashMap();
    
    //所属分类信息
    private CICategory category;
    
    //元数据信息
    private CIPropertityMetadata meta;
    
    
    public Map getAttr() {
        return attr;
    }
    
    public void setAttr(Map attr) {
        this.attr.putAll(attr);
    }
    
    public void addAttr(Object key,Object value){
        this.attr.put(key, value);
    }
    
    
    public CICategory getCategory() {
        return category;
    }
    
    public void setCategory(CICategory category) {
        this.category = category;
    }
    
    public CIPropertityMetadata getMeta() {
        return meta;
    }
    
    public void setMeta(CIPropertityMetadata meta) {
        this.meta = meta;
    }
    
    public String getCi_id() {
        return ci_id;
    }
 
    public void setCi_id(String ci_id) {
        this.ci_id = ci_id;
    }
 
 
    
 
    public Map getBasePropertity() {
        return basePropertity;
    }
 
    public void setBasePropertity(Map basePropertity) {
        this.basePropertity = basePropertity;
    }
 
    public Map getCommonPropertity() {
        return commonPropertity;
    }
 
    public void setCommonPropertity(Map commonPropertity) {
        this.commonPropertity = commonPropertity;
    }
 
 
    public Map getFirstLevelPropertity() {
        return firstLevelPropertity;
    }
 
    public void setFirstLevelPropertity(Map firstLevelPropertity) {
        this.firstLevelPropertity = firstLevelPropertity;
    }
 
    
 
    public Map getSecondLevelPropertity() {
        return secondLevelPropertity;
    }
 
    public void setSecondLevelPropertity(Map secondLevelPropertity) {
        this.secondLevelPropertity = secondLevelPropertity;
    }
 
    
 
    public Map getThirdLevelPropertity() {
        return thirdLevelPropertity;
    }
 
    public void setThirdLevelPropertity(Map thirdLevelPropertity) {
        this.thirdLevelPropertity = thirdLevelPropertity;
    }
 
    
}