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;
|
}
|
|
|
}
|