public class NorthboundAlarm extends Object implements Preservable, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
NorthboundAlarm.AlarmType
The Enumeration AlarmType.
|
static class |
NorthboundAlarm.x733AlarmType
The Enumeration x733AlarmType.
|
static class |
NorthboundAlarm.x733ProbableCause
The Enumeration x733ProbableCause.
|
Modifier and Type | Field and Description |
---|---|
static NorthboundAlarm |
SYNC_LOST_ALARM
The Constant SYNC_LOST_ALARM.
|
Constructor and Description |
---|
NorthboundAlarm()
Instantiates a new northbound alarm.
|
NorthboundAlarm(OnmsAlarm alarm)
Instantiates a new northbound alarm.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getAckTime()
Gets the acknowledge time.
|
String |
getAckUser()
Gets the acknowledge user.
|
String |
getAlarmKey()
Gets the alarm key.
|
NorthboundAlarm.AlarmType |
getAlarmType()
Gets the alarm type.
|
String |
getAppDn()
Gets the App DN.
|
String |
getClearKey()
Gets the clear key.
|
Integer |
getCount()
Gets the count.
|
String |
getDesc()
Gets the description.
|
List<OnmsEventParameter> |
getEventParametersCollection()
Gets the event parameters collection.
|
Date |
getFirstOccurrence()
Gets the first occurrence.
|
String |
getForeignId()
Gets the node foreign id.
|
String |
getForeignSource()
Gets the node foreign source.
|
Integer |
getId()
Gets the ID.
|
String |
getIpAddr()
Gets the IP address.
|
Date |
getLastOccurrence()
Gets the last occurrence.
|
String |
getLogMsg()
Gets the log message.
|
Integer |
getNodeId()
Gets the node id.
|
String |
getNodeLabel()
Gets the node label.
|
String |
getNodeSysObjectId()
Gets the node system object id.
|
String |
getObjectInstance()
Gets the object instance.
|
String |
getObjectType()
Gets the object type.
|
String |
getOperInst()
Gets the operator instructions.
|
String |
getOssKey()
Gets the OSS key.
|
String |
getOssState()
Gets the OSS state.
|
Map<String,String> |
getParameters()
Gets the parameters.
|
OnmsMonitoringSystem |
getPoller()
Gets the poller.
|
String |
getService()
Gets the service.
|
OnmsSeverity |
getSeverity()
Gets the severity.
|
Date |
getSuppressed()
Gets the suppressed.
|
String |
getSuppressedBy()
Gets the suppressed by.
|
Date |
getSuppressedUntil()
Gets the suppressed until.
|
String |
getTicketId()
Gets the ticket id.
|
TroubleTicketState |
getTicketState()
Gets the ticket state.
|
String |
getUei()
Gets the UEI.
|
int |
getX733Cause()
Gets the x733 cause.
|
String |
getX733Type()
Gets the x733 type.
|
int |
hashCode() |
boolean |
isPreserved()
Checks if is preserved.
|
void |
setAckTime(Date ackTime)
Sets the acknowledge time.
|
void |
setAckUser(String ackUser)
Sets the acknowledge user.
|
void |
setAlarmKey(String alarmKey)
Sets the alarm key.
|
void |
setAlarmType(NorthboundAlarm.AlarmType alarmType)
Sets the alarm type.
|
void |
setAppDn(String appDn)
Sets the App DN.
|
void |
setClearKey(String clearKey)
Sets the clear key.
|
void |
setCount(Integer count)
Sets the count.
|
void |
setDesc(String desc)
Sets the description.
|
void |
setEventParametersCollection(List<OnmsEventParameter> eventParametersCollection)
Sets the event parameters collection.
|
void |
setEventParametersMap(Map<String,String> eventParametersMap)
Sets the event parameters map.
|
void |
setFirstOccurrence(Date firstOccurrence)
Sets the first occurrence.
|
void |
setForeignId(String foreignId)
Sets the foreign id.
|
void |
setForeignSource(String foreignSource)
Sets the foreign source.
|
void |
setId(Integer id)
Sets the id.
|
void |
setIpAddr(String ipAddr)
Sets the IP address.
|
void |
setLastOccurrence(Date lastOccurrence)
Sets the last occurrence.
|
void |
setLogMsg(String logMsg)
Sets the log message.
|
void |
setNodeId(Integer nodeId)
Sets the node id.
|
void |
setNodeLabel(String nodeLabel)
Sets the node label.
|
void |
setNodeSysObjectId(String nodeSysObjectId)
Sets the node sys object id.
|
void |
setObjectInstance(String objectInstance)
Sets the object instance.
|
void |
setObjectType(String objectType)
Sets the object type.
|
void |
setOperInst(String operInst)
Sets the operator instructions.
|
void |
setOssKey(String ossKey)
Sets the OSS key.
|
void |
setOssState(String ossState)
Sets the OSS state.
|
void |
setPoller(OnmsDistPoller poller)
Sets the poller.
|
void |
setPreserved(boolean preserved)
Sets the preserved.
|
void |
setService(String service)
Sets the service.
|
void |
setSeverity(OnmsSeverity severity)
Sets the severity.
|
void |
setSuppressed(Date suppressed)
Sets the suppressed.
|
void |
setSuppressedBy(String suppressedBy)
Sets the suppressed by.
|
void |
setSuppressedUntil(Date suppressedUntil)
Sets the suppressed until.
|
void |
setTicketId(String ticketId)
Sets the ticket id.
|
void |
setTicketState(TroubleTicketState ticketState)
Sets the ticket state.
|
void |
setUei(String uei)
Sets the UEI.
|
void |
setx733Cause(int x733Cause)
Sets the x733 cause.
|
void |
setx733Type(String x733Type)
Sets the x733 type.
|
String |
toString() |
public static final NorthboundAlarm SYNC_LOST_ALARM
public NorthboundAlarm()
public NorthboundAlarm(OnmsAlarm alarm)
alarm
- the alarmpublic Integer getId()
public String getUei()
public Date getAckTime()
public String getAckUser()
public NorthboundAlarm.AlarmType getAlarmType()
public String getAppDn()
public String getClearKey()
public Integer getCount()
public String getDesc()
public OnmsMonitoringSystem getPoller()
public Date getFirstOccurrence()
public String getIpAddr()
public Date getLastOccurrence()
public String getLogMsg()
public String getObjectInstance()
public String getObjectType()
public String getOperInst()
public String getOssKey()
public String getOssState()
public String getAlarmKey()
public String getService()
public OnmsSeverity getSeverity()
public Date getSuppressed()
public Date getSuppressedUntil()
public String getSuppressedBy()
public String getTicketId()
public TroubleTicketState getTicketState()
public String getX733Type()
public int getX733Cause()
public Map<String,String> getParameters()
public List<OnmsEventParameter> getEventParametersCollection()
public boolean isPreserved()
Preservable
isPreserved
in interface Preservable
public void setPreserved(boolean preserved)
Preservable
setPreserved
in interface Preservable
preserved
- the new preservedpublic Integer getNodeId()
public String getNodeLabel()
public String getNodeSysObjectId()
public String getForeignSource()
public String getForeignId()
public void setId(Integer id)
id
- the new idpublic void setUei(String uei)
uei
- the new UEIpublic void setNodeId(Integer nodeId)
nodeId
- the new node idpublic void setNodeLabel(String nodeLabel)
nodeLabel
- the new node labelpublic void setNodeSysObjectId(String nodeSysObjectId)
nodeSysObjectId
- the new node sys object idpublic void setForeignSource(String foreignSource)
foreignSource
- the new foreign sourcepublic void setForeignId(String foreignId)
foreignId
- the new foreign idpublic void setAckTime(Date ackTime)
ackTime
- the new acknowledge timepublic void setAckUser(String ackUser)
ackUser
- the new acknowledge userpublic void setAlarmType(NorthboundAlarm.AlarmType alarmType)
alarmType
- the new alarm typepublic void setAppDn(String appDn)
appDn
- the new App DNpublic void setClearKey(String clearKey)
clearKey
- the new clear keypublic void setCount(Integer count)
count
- the new countpublic void setDesc(String desc)
desc
- the new descriptionpublic void setPoller(OnmsDistPoller poller)
poller
- the new pollerpublic void setFirstOccurrence(Date firstOccurrence)
firstOccurrence
- the new first occurrencepublic void setIpAddr(String ipAddr)
ipAddr
- the new IP addresspublic void setLastOccurrence(Date lastOccurrence)
lastOccurrence
- the new last occurrencepublic void setLogMsg(String logMsg)
logMsg
- the new log messagepublic void setObjectInstance(String objectInstance)
objectInstance
- the new object instancepublic void setObjectType(String objectType)
objectType
- the new object typepublic void setOperInst(String operInst)
operInst
- the new operator instructionspublic void setOssKey(String ossKey)
ossKey
- the new OSS keypublic void setOssState(String ossState)
ossState
- the new OSS statepublic void setAlarmKey(String alarmKey)
alarmKey
- the new alarm keypublic void setService(String service)
service
- the new servicepublic void setSeverity(OnmsSeverity severity)
severity
- the new severitypublic void setSuppressed(Date suppressed)
suppressed
- the new suppressedpublic void setSuppressedUntil(Date suppressedUntil)
suppressedUntil
- the new suppressed untilpublic void setSuppressedBy(String suppressedBy)
suppressedBy
- the new suppressed bypublic void setTicketId(String ticketId)
ticketId
- the new ticket idpublic void setTicketState(TroubleTicketState ticketState)
ticketState
- the new ticket statepublic void setx733Type(String x733Type)
x733Type
- the new x733 typepublic void setx733Cause(int x733Cause)
x733Cause
- the new x733 causepublic void setEventParametersMap(Map<String,String> eventParametersMap)
eventParametersMap
- the event parameters mappublic void setEventParametersCollection(List<OnmsEventParameter> eventParametersCollection)
eventParametersCollection
- the new event parameters collectionCopyright © 2021. All rights reserved.