org.opennms.dashboard.client
Class Alarm

java.lang.Object
  extended by org.opennms.dashboard.client.Alarm
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class Alarm
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable

Alarm class.

Since:
1.8.1
Version:
$Id: $
Author:
Mathew Brozowski, DJ Gregor, Mathew Brozowski, DJ Gregor

Constructor Summary
Alarm()
          Constructor for Alarm.
Alarm(String severity, String nodeLabel, int nodeId, boolean isDashboardRole, String logMsg, String description, int count, Date firstEventTime, Date lastEventTime)
          Constructor for Alarm.
 
Method Summary
 int getCount()
          getCount
 String getDescrption()
          getDescrption
 Date getFirstEventTime()
          getFirstEventTime
 String getIpAddress()
          getIpAddress
 boolean getIsDashboardRole()
          getIsDashboardRole
 Date getLastEventTime()
          getLastEventTime
 String getLogMsg()
          getLogMsg
 int getNodeId()
          getNodeId
 String getNodeLabel()
          getNodeLabel
 String getSeverity()
          getSeverity
 String getSvcName()
          getSvcName
 void setCount(int count)
          setCount
 void setDescrption(String descrption)
          setDescrption
 void setFirstEventTime(Date firstEventTime)
          setFirstEventTime
 void setIpAddress(String ipAddress)
          setIpAddress
 void setIsDashboardRole(boolean isDashboardRole)
          setIsDashboardRole
 void setLastEventTime(Date lastEventTime)
          setLastEventTime
 void setLogMsg(String logMsg)
          setLogMsg
 void setNodeId(int nodeId)
          setNodeId
 void setNodeLabel(String nodeLabel)
          setNodeLabel
 void setSeverity(String severity)
          setSeverity
 void setSvcName(String svcName)
          setSvcName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Alarm

public Alarm()

Constructor for Alarm.


Alarm

public Alarm(String severity,
             String nodeLabel,
             int nodeId,
             boolean isDashboardRole,
             String logMsg,
             String description,
             int count,
             Date firstEventTime,
             Date lastEventTime)

Constructor for Alarm.

Parameters:
severity - a String object.
nodeLabel - a String object.
nodeId - a int.
isDashboardRole - a boolean.
logMsg - a String object.
description - a String object.
count - a int.
firstEventTime - a java$util$Date object.
lastEventTime - a java$util$Date object.
Method Detail

getCount

public int getCount()

getCount

Returns:
a int.

setCount

public void setCount(int count)

setCount

Parameters:
count - a int.

getDescrption

public String getDescrption()

getDescrption

Returns:
a String object.

setDescrption

public void setDescrption(String descrption)

setDescrption

Parameters:
descrption - a String object.

getIpAddress

public String getIpAddress()

getIpAddress

Returns:
a String object.

setIpAddress

public void setIpAddress(String ipAddress)

setIpAddress

Parameters:
ipAddress - a String object.

getNodeId

public int getNodeId()

getNodeId

Returns:
a int.

setNodeId

public void setNodeId(int nodeId)

setNodeId

Parameters:
nodeId - a int.

getNodeLabel

public String getNodeLabel()

getNodeLabel

Returns:
a String object.

setNodeLabel

public void setNodeLabel(String nodeLabel)

setNodeLabel

Parameters:
nodeLabel - a String object.

getSeverity

public String getSeverity()

getSeverity

Returns:
a String object.

setSeverity

public void setSeverity(String severity)

setSeverity

Parameters:
severity - a String object.

getSvcName

public String getSvcName()

getSvcName

Returns:
a String object.

setSvcName

public void setSvcName(String svcName)

setSvcName

Parameters:
svcName - a String object.

getFirstEventTime

public Date getFirstEventTime()

getFirstEventTime

Returns:
a java$util$Date object.

setFirstEventTime

public void setFirstEventTime(Date firstEventTime)

setFirstEventTime

Parameters:
firstEventTime - a java$util$Date object.

getLastEventTime

public Date getLastEventTime()

getLastEventTime

Returns:
a java$util$Date object.

setLastEventTime

public void setLastEventTime(Date lastEventTime)

setLastEventTime

Parameters:
lastEventTime - a java$util$Date object.

getLogMsg

public String getLogMsg()

getLogMsg

Returns:
a String object.

setLogMsg

public void setLogMsg(String logMsg)

setLogMsg

Parameters:
logMsg - a String object.

setIsDashboardRole

public void setIsDashboardRole(boolean isDashboardRole)

setIsDashboardRole

Parameters:
isDashboardRole - a boolean.

getIsDashboardRole

public boolean getIsDashboardRole()

getIsDashboardRole

Returns:
a boolean.


Copyright © 2011. All Rights Reserved.