org.opennms.netmgt.xml.event
Class AlarmData

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

public class AlarmData
extends java.lang.Object
implements java.io.Serializable

This element is used for converting events into alarms.

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

Constructor Summary
AlarmData()
           
 
Method Summary
 void deleteAlarmType()
          Method deleteAlarmType
 void deleteAutoClean()
          Method deleteAutoClean
 void deleteX733ProbableCause()
          Method deleteX733ProbableCause
 int getAlarmType()
          Returns the value of field 'alarmType'.
 boolean getAutoClean()
          Returns the value of field 'autoClean'.
 java.lang.String getClearUei()
          Returns the value of field 'clearUei'.
 java.lang.String getReductionKey()
          Returns the value of field 'reductionKey'.
 java.lang.String getX733AlarmType()
          Returns the value of field 'x733AlarmType'.
 int getX733ProbableCause()
          Returns the value of field 'x733ProbableCause'.
 boolean hasAlarmType()
          Method hasAlarmType
 boolean hasAutoClean()
          Method hasAutoClean
 boolean hasX733ProbableCause()
          Method hasX733ProbableCause
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setAlarmType(int alarmType)
          Sets the value of field 'alarmType'.
 void setAutoClean(boolean autoClean)
          Sets the value of field 'autoClean'.
 void setClearUei(java.lang.String clearUei)
          Sets the value of field 'clearUei'.
 void setReductionKey(java.lang.String reductionKey)
          Sets the value of field 'reductionKey'.
 void setX733AlarmType(java.lang.String x733AlarmType)
          Sets the value of field 'x733AlarmType'.
 void setX733ProbableCause(int x733ProbableCause)
          Sets the value of field 'x733ProbableCause'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlarmData

public AlarmData()
Method Detail

deleteAlarmType

public void deleteAlarmType()
Method deleteAlarmType


deleteAutoClean

public void deleteAutoClean()
Method deleteAutoClean


deleteX733ProbableCause

public void deleteX733ProbableCause()
Method deleteX733ProbableCause


getAlarmType

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

Returns:
int

getAutoClean

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

Returns:
boolean

getClearUei

public java.lang.String getClearUei()
Returns the value of field 'clearUei'.

Returns:
String

getReductionKey

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

Returns:
String

getX733AlarmType

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

Returns:
String

getX733ProbableCause

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

Returns:
int

hasAlarmType

public boolean hasAlarmType()
Method hasAlarmType

Returns:
boolean

hasAutoClean

public boolean hasAutoClean()
Method hasAutoClean

Returns:
boolean

hasX733ProbableCause

public boolean hasX733ProbableCause()
Method hasX733ProbableCause

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setAlarmType

public void setAlarmType(int 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'.

setClearUei

public void setClearUei(java.lang.String clearUei)
Sets the value of field 'clearUei'.

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

setReductionKey

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

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

setX733AlarmType

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

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

setX733ProbableCause

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

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

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.