summaryrefslogtreecommitdiff
path: root/src/com/nis/nmsclient/model/AlarmInfo.java
blob: 58d85e6da64d0e7f0bdbe20ff773df080949c4f2 (plain)
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
package com.nis.nmsclient.model;

/**
 * 监测信息报警相关信息实体
 * 
 */
public class AlarmInfo {
	/**
	 * 告警设置id
	 */
	private Long id;
	/**
	 * 监测设置id
	 */
	private Long setInfoId;
	/**
	 * 监测类型
	 */
	private String checkType;
	/**
	 * 进程设置名称
	 */
	private String processIden;
	/**
	 * 字段Id
	 */
	private Long metadataId;
	/**
	 * 字段描述
	 */
	private String filedCommonts;
	/**
	 * 字段序号
	 */
	private Integer showNum;
	/**
	 * 报警状态
	 */
	private String policeState;
	/**
	 * 报警值
	 */
	private String policeValue;
	/**
	 * 报警单位
	 */
	private String policeUnit;
	/**
	 * 报警比较符:针对number型数据>、<、>=、<=、=   针对字符串类型数据equal、 include、exclude
	 */
	private String policeSysmbols;
	/**
	 * 报警等级
	 */
	private Integer policeLevel;
	/**
	 * 设置告警时,指定多个标识符(如多个盘符、多个CPU、多个网卡),如硬盘使用率,空:所有盘存在一个盘使用率超过告警值,则告警;all:所有盘总的使用率超过告警值,则告警;指定多个盘符:指定盘存在一个盘使用率超过告警值,则告警
	 */
	private String marker;
	/**
	 * 标识符对应字段在metadata表中的id
	 */
	private Integer markerFiledId;;
	/**
	 * 标识符对应字段在metadata表中的showNum
	 */
	private Integer markerFiledShowNum;
	
	
	public Long getSetInfoId() {
		return setInfoId;
	}
	public void setSetInfoId(Long setInfoId) {
		this.setInfoId = setInfoId;
	}
	public Long getMetadataId() {
		return metadataId;
	}
	public void setMetadataId(Long metadataId) {
		this.metadataId = metadataId;
	}
	public Integer getShowNum() {
		return showNum;
	}
	public void setShowNum(Integer showNum) {
		this.showNum = showNum;
	}
	public String getPoliceState() {
		return policeState;
	}
	public void setPoliceState(String policeState) {
		this.policeState = policeState;
	}
	public String getPoliceUnit() {
		return policeUnit;
	}
	public void setPoliceUnit(String policeUnit) {
		this.policeUnit = policeUnit;
	}
	public String getPoliceSysmbols() {
		return policeSysmbols;
	}
	public void setPoliceSysmbols(String policeSysmbols) {
		this.policeSysmbols = policeSysmbols;
	}

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Integer getPoliceLevel() {
		return policeLevel;
	}
	public void setPoliceLevel(Integer policeLevel) {
		this.policeLevel = policeLevel;
	}
	public String getCheckType() {
		return checkType;
	}
	public void setCheckType(String checkType) {
		this.checkType = checkType;
	}
	public String getProcessIden() {
		return processIden;
	}
	public void setProcessIden(String processIden) {
		this.processIden = processIden;
	}
	public String getFiledCommonts() {
		return filedCommonts;
	}
	public void setFiledCommonts(String filedCommonts) {
		this.filedCommonts = filedCommonts;
	}
	public String getPoliceValue() {
		return policeValue;
	}
	public void setPoliceValue(String policeValue) {
		this.policeValue = policeValue;
	}
	
	public String toString() {
		return "showNum=" + showNum + ",policeSysmbols=" + policeSysmbols
				+ ",policeValue=" + policeValue + ",policeLevel=" + policeLevel;
	}
	
	public String toStringVal(){
		return showNum + "|" + policeSysmbols + "|" + policeValue + "|"
				+ policeLevel + "|" + filedCommonts;
	}
	
	public String getMarker()
	{
		return marker;
	}
	
	public void setMarker(String marker)
	{
		this.marker = marker;
	}
	
	public Integer getMarkerFiledId()
	{
		return markerFiledId;
	}
	
	public void setMarkerFiledId(Integer markerFiledId)
	{
		this.markerFiledId = markerFiledId;
	}
	
	public Integer getMarkerFiledShowNum()
	{
		return markerFiledShowNum;
	}
	
	public void setMarkerFiledShowNum(Integer markerFiledShowNum)
	{
		this.markerFiledShowNum = markerFiledShowNum;
	}
	
}