|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.web.outage.Outage
public class Outage
A JavaBean for holding information about a single outage.
| Field Summary | |
|---|---|
protected String |
building
|
protected String |
hostname
|
protected String |
ipAddress
|
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
|
| Constructor Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
String |
getBuilding()
can be null |
String |
getHostname()
can be null |
int |
getId()
getId |
String |
getIpAddress()
Getter for the field ipAddress. |
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. |
String |
toString()
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public int getId()
getId
public int getNodeId()
Getter for the field nodeId.
public String getIpAddress()
Getter for the field ipAddress.
String object.public String getHostname()
String object.public String getNodeLabel()
String object.public int getServiceId()
Getter for the field serviceId.
public String getServiceName()
String object.public Date getLostServiceTime()
Getter for the field lostServiceTime.
Date object.public Date getRegainedServiceTime()
Date object.public Integer getLostServiceEventId()
Integer 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 String getBuilding()
String object.public Date getTimeDown()
getLostServiceTime instead.
getTimeDown
Date object.public String toString()
toString
toString in class ObjectString object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||