org.opennms.netmgt.xml.event
Class AlarmData

java.lang.Object
  extended by org.opennms.netmgt.xml.event.AlarmData
All Implemented Interfaces:
Serializable

public class AlarmData
extends Object
implements Serializable

This element is used for converting events into alarms.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
AlarmData()
           
 
Method Summary
 void deleteAlarmType()
           
 void deleteAutoClean()
           
 void deleteX733ProbableCause()
           
 Integer getAlarmType()
          Returns the value of field 'alarmType'.
 Boolean getAutoClean()
          Returns the value of field 'autoClean'.
 String getClearKey()
          Returns the value of field 'clearKey'.
 String getReductionKey()
          Returns the value of field 'reductionKey'.
 String getX733AlarmType()
          Returns the value of field 'x733AlarmType'.
 Integer getX733ProbableCause()
          Returns the value of field 'x733ProbableCause'.
 boolean hasAlarmType()
          Method hasAlarmType.
 boolean hasAutoClean()
          Method hasAutoClean.
 boolean hasX733ProbableCause()
          Method hasX733ProbableCause.
 Boolean isAutoClean()
          Returns the value of field 'autoClean'.
 void setAlarmType(Integer alarmType)
          Sets the value of field 'alarmType'.
 void setAutoClean(Boolean autoClean)
          Sets the value of field 'autoClean'.
 void setClearKey(String clearKey)
          Sets the value of field 'clearKey'.
 void setReductionKey(String reductionKey)
          Sets the value of field 'reductionKey'.
 void setX733AlarmType(String x733AlarmType)
          Sets the value of field 'x733AlarmType'.
 void setX733ProbableCause(Integer x733ProbableCause)
          Sets the value of field 'x733ProbableCause'.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AlarmData

public AlarmData()
Method Detail

deleteAlarmType

public void deleteAlarmType()

deleteAutoClean

public void deleteAutoClean()

deleteX733ProbableCause

public void deleteX733ProbableCause()

getAlarmType

public Integer getAlarmType()
Returns the value of field 'alarmType'.

Returns:
the value of field 'AlarmType'.

getAutoClean

public Boolean getAutoClean()
Returns the value of field 'autoClean'.

Returns:
the value of field 'AutoClean'.

getClearKey

public String getClearKey()
Returns the value of field 'clearKey'.

Returns:
the value of field 'ClearKey'.

getReductionKey

public String getReductionKey()
Returns the value of field 'reductionKey'.

Returns:
the value of field 'ReductionKey'.

getX733AlarmType

public String getX733AlarmType()
Returns the value of field 'x733AlarmType'.

Returns:
the value of field 'X733AlarmType'.

getX733ProbableCause

public Integer getX733ProbableCause()
Returns the value of field 'x733ProbableCause'.

Returns:
the value of field 'X733ProbableCause'.

hasAlarmType

public boolean hasAlarmType()
Method hasAlarmType.

Returns:
true if at least one AlarmType has been added

hasAutoClean

public boolean hasAutoClean()
Method hasAutoClean.

Returns:
true if at least one AutoClean has been added

hasX733ProbableCause

public boolean hasX733ProbableCause()
Method hasX733ProbableCause.

Returns:
true if at least one X733ProbableCause has been added

isAutoClean

public Boolean isAutoClean()
Returns the value of field 'autoClean'.

Returns:
the value of field 'AutoClean'.

setAlarmType

public void setAlarmType(Integer alarmType)
Sets the value of field 'alarmType'.

Parameters:
alarmType - the value of field 'alarmType'.

setAutoClean

public void setAutoClean(Boolean autoClean)
Sets the value of field 'autoClean'.

Parameters:
autoClean - the value of field 'autoClean'.

setClearKey

public void setClearKey(String clearKey)
Sets the value of field 'clearKey'.

Parameters:
clearKey - the value of field 'clearKey'.

setReductionKey

public void setReductionKey(String reductionKey)
Sets the value of field 'reductionKey'.

Parameters:
reductionKey - the value of field 'reductionKey'.

setX733AlarmType

public void setX733AlarmType(String x733AlarmType)
Sets the value of field 'x733AlarmType'.

Parameters:
x733AlarmType - the value of field 'x733AlarmType'.

setX733ProbableCause

public void setX733ProbableCause(Integer x733ProbableCause)
Sets the value of field 'x733ProbableCause'.

Parameters:
x733ProbableCause - the value of field 'x733ProbableCause'.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.