public class Outage extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
building |
protected String |
eventLocation |
protected String |
hostname |
protected String |
ipAddress |
protected String |
location |
protected Integer |
lostServiceEventId |
protected String |
lostServiceNotificationAcknowledgedBy |
protected Integer |
lostServiceNotificationId |
protected Date |
lostServiceTime |
protected int |
nodeId |
protected String |
nodeLabel |
protected int |
outageId |
protected Integer |
regainedServiceEventId |
protected Date |
regainedServiceTime |
protected int |
serviceId |
protected String |
serviceName |
protected String |
suppressedBy |
protected Date |
suppressTime |
Modifier | Constructor and Description |
---|---|
protected |
Outage()
Constructor for Outage.
|
protected |
Outage(int outageId,
int nodeId,
String nodeLabel,
String ipAddress,
String hostname,
int serviceId,
String serviceName,
Date lostServiceTime,
Date regainedServiceTime,
Integer lostServiceEventId,
Integer regainedServiceEventId,
Integer lostServiceNotificationId,
String lostServiceNotificationAcknowledgedBy,
Date suppressTime,
String suppressedBy)
Constructor for Outage.
|
protected |
Outage(int outageId,
int nodeId,
String nodeLabel,
String ipAddress,
String hostname,
int serviceId,
String serviceName,
Date lostServiceTime,
Date regainedServiceTime,
Integer lostServiceEventId,
Integer regainedServiceEventId,
Integer lostServiceNotificationId,
String lostServiceNotificationAcknowledgedBy,
Date suppressTime,
String suppressedBy,
String building)
Constructor for Outage.
|
Modifier and Type | Method and Description |
---|---|
String |
getBuilding()
can be null
|
String |
getEventLocation() |
String |
getHostname()
can be null
|
int |
getId()
getId
|
String |
getIpAddress()
Getter for the field
ipAddress . |
String |
getLocation() |
Integer |
getLostServiceEventId()
can be null
|
String |
getLostServiceNotificationAcknowledgedBy()
can be null
|
Integer |
getLostServiceNotificationId()
can be null
|
Date |
getLostServiceTime()
Getter for the field
lostServiceTime . |
int |
getNodeId()
Getter for the field
nodeId . |
String |
getNodeLabel()
can be null
|
Integer |
getRegainedServiceEventId()
can be null
|
Date |
getRegainedServiceTime()
can be null
|
int |
getServiceId()
Getter for the field
serviceId . |
String |
getServiceName()
can be null
|
String |
getSuppressedBy()
Getter for the field
suppressedBy . |
Date |
getSuppressTime()
Getter for the field
suppressTime . |
Date |
getTimeDown()
Deprecated.
Please use
getLostServiceTime instead. |
void |
setEventLocation(String eventLocation) |
void |
setLocation(String location) |
String |
toString()
toString
|
protected int outageId
protected int nodeId
protected String ipAddress
protected String hostname
protected String nodeLabel
protected int serviceId
protected String serviceName
protected Date lostServiceTime
protected Date regainedServiceTime
protected Integer lostServiceEventId
protected Integer regainedServiceEventId
protected Integer lostServiceNotificationId
protected String lostServiceNotificationAcknowledgedBy
protected Date suppressTime
protected String suppressedBy
protected String building
protected String location
protected String eventLocation
protected Outage()
Constructor for Outage.
protected Outage(int outageId, int nodeId, String nodeLabel, String ipAddress, String hostname, int serviceId, String serviceName, Date lostServiceTime, Date regainedServiceTime, Integer lostServiceEventId, Integer regainedServiceEventId, Integer lostServiceNotificationId, String lostServiceNotificationAcknowledgedBy, Date suppressTime, String suppressedBy)
Constructor for Outage.
outageId
- a int.nodeId
- a int.nodeLabel
- a String
object.ipAddress
- a String
object.hostname
- a String
object.serviceId
- a int.serviceName
- a String
object.lostServiceTime
- a Date
object.regainedServiceTime
- a Date
object.lostServiceEventId
- a Integer
object.regainedServiceEventId
- a Integer
object.lostServiceNotificationId
- a Integer
object.lostServiceNotificationAcknowledgedBy
- a String
object.suppressTime
- a Date
object.suppressedBy
- a String
object.protected Outage(int outageId, int nodeId, String nodeLabel, String ipAddress, String hostname, int serviceId, String serviceName, Date lostServiceTime, Date regainedServiceTime, Integer lostServiceEventId, Integer regainedServiceEventId, Integer lostServiceNotificationId, String lostServiceNotificationAcknowledgedBy, Date suppressTime, String suppressedBy, String building)
Constructor for Outage.
outageId
- a int.nodeId
- a int.nodeLabel
- a String
object.ipAddress
- a String
object.hostname
- a String
object.serviceId
- a int.serviceName
- a String
object.lostServiceTime
- a Date
object.regainedServiceTime
- a Date
object.lostServiceEventId
- a Integer
object.regainedServiceEventId
- a Integer
object.lostServiceNotificationId
- a Integer
object.lostServiceNotificationAcknowledgedBy
- a String
object.suppressTime
- a Date
object.suppressedBy
- a String
object.building
- a String
object.public int getId()
getId
public int getNodeId()
Getter for the field nodeId
.
public int getServiceId()
Getter for the field serviceId
.
public Date getLostServiceTime()
Getter for the field lostServiceTime
.
Date
object.public Integer getRegainedServiceEventId()
Integer
object.public Integer getLostServiceNotificationId()
Integer
object.public String getLostServiceNotificationAcknowledgedBy()
String
object.public Date getSuppressTime()
Getter for the field suppressTime
.
Date
object.public String getSuppressedBy()
Getter for the field suppressedBy
.
String
object.public Date getTimeDown()
getLostServiceTime
instead.getTimeDown
Date
object.public String getLocation()
public void setLocation(String location)
public String getEventLocation()
public void setEventLocation(String eventLocation)
Copyright © 2020. All rights reserved.