| 5519 |
amar.kumar |
1 |
package in.shop2020.alert.domain;
|
|
|
2 |
|
|
|
3 |
import in.shop2020.alert.EntityProcessedState;
|
|
|
4 |
import in.shop2020.alert.EntityType;
|
|
|
5 |
|
|
|
6 |
import java.util.Date;
|
|
|
7 |
|
|
|
8 |
public class MonitoredEntity {
|
|
|
9 |
|
|
|
10 |
long id;
|
|
|
11 |
EntityType entityType;
|
|
|
12 |
int eventType;
|
|
|
13 |
String entityIdentifier;
|
|
|
14 |
Date warnExpiryTime;
|
|
|
15 |
Date criticalExpiryTime;
|
|
|
16 |
String entityProperties;
|
|
|
17 |
EntityProcessedState entityProcessedState;
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
public long getId() {
|
|
|
21 |
return id;
|
|
|
22 |
}
|
|
|
23 |
public void setId(long id) {
|
|
|
24 |
this.id = id;
|
|
|
25 |
}
|
|
|
26 |
public EntityType getEntityType() {
|
|
|
27 |
return entityType;
|
|
|
28 |
}
|
|
|
29 |
public void setEntityType(EntityType entityType) {
|
|
|
30 |
this.entityType = entityType;
|
|
|
31 |
}
|
|
|
32 |
public int getEventType() {
|
|
|
33 |
return eventType;
|
|
|
34 |
}
|
|
|
35 |
public void setEventType(int eventType) {
|
|
|
36 |
this.eventType = eventType;
|
|
|
37 |
}
|
|
|
38 |
public String getEntityIdentifier() {
|
|
|
39 |
return entityIdentifier;
|
|
|
40 |
}
|
|
|
41 |
public void setEntityIdentifier(String entityIdentifier) {
|
|
|
42 |
this.entityIdentifier = entityIdentifier;
|
|
|
43 |
}
|
|
|
44 |
public Date getWarnExpiryTime() {
|
|
|
45 |
return warnExpiryTime;
|
|
|
46 |
}
|
|
|
47 |
public void setWarnExpiryTime(Date warnExpiryTime) {
|
|
|
48 |
this.warnExpiryTime = warnExpiryTime;
|
|
|
49 |
}
|
|
|
50 |
public Date getCriticalExpiryTime() {
|
|
|
51 |
return criticalExpiryTime;
|
|
|
52 |
}
|
|
|
53 |
public void setCriticalExpiryTime(Date criticalExpiryTime) {
|
|
|
54 |
this.criticalExpiryTime = criticalExpiryTime;
|
|
|
55 |
}
|
|
|
56 |
public String getEntityProperties() {
|
|
|
57 |
return entityProperties;
|
|
|
58 |
}
|
|
|
59 |
public void setEntityProperties(String entityProperties) {
|
|
|
60 |
this.entityProperties = entityProperties;
|
|
|
61 |
}
|
|
|
62 |
public EntityProcessedState getEntityProcessedState() {
|
|
|
63 |
return entityProcessedState;
|
|
|
64 |
}
|
|
|
65 |
public void setEntityProcessedState(EntityProcessedState entityProcessedState) {
|
|
|
66 |
this.entityProcessedState = entityProcessedState;
|
|
|
67 |
}
|
|
|
68 |
|
|
|
69 |
}
|