Package org.opennms.netmgt.xml.event
Class AlarmData
- java.lang.Object
-
- 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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlarmData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AlarmData
copyFrom(IAlarmData source)
void
deleteAlarmType()
void
deleteAutoClean()
void
deleteX733ProbableCause()
boolean
equals(java.lang.Object o)
java.lang.Integer
getAlarmType()
Returns the value of field 'alarmType'.java.lang.Boolean
getAutoClean()
Returns the value of field 'autoClean'.java.lang.String
getClearKey()
Returns the value of field 'clearKey'.ManagedObject
getManagedObject()
java.lang.String
getReductionKey()
Returns the value of field 'reductionKey'.UpdateField[]
getUpdateField()
java.util.Collection<UpdateField>
getUpdateFieldCollection()
java.util.List<UpdateField>
getUpdateFieldList()
int
getUpdateFieldListCount()
java.lang.String
getX733AlarmType()
Returns the value of field 'x733AlarmType'.java.lang.Integer
getX733ProbableCause()
Returns the value of field 'x733ProbableCause'.boolean
hasAlarmType()
Method hasAlarmType.boolean
hasAutoClean()
Method hasAutoClean.int
hashCode()
java.lang.Boolean
hasUpdateFields()
boolean
hasX733ProbableCause()
Method hasX733ProbableCause.java.lang.Boolean
isAutoClean()
Returns the value of field 'autoClean'.void
setAlarmType(java.lang.Integer alarmType)
Sets the value of field 'alarmType'.void
setAutoClean(java.lang.Boolean autoClean)
Sets the value of field 'autoClean'.void
setClearKey(java.lang.String clearKey)
Sets the value of field 'clearKey'.void
setManagedObject(ManagedObject m_managedObject)
void
setReductionKey(java.lang.String reductionKey)
Sets the value of field 'reductionKey'.void
setUpdateField(java.util.List<UpdateField> fields)
void
setUpdateField(UpdateField[] fields)
void
setUpdateFieldCollection(java.util.Collection<UpdateField> fields)
void
setX733AlarmType(java.lang.String x733AlarmType)
Sets the value of field 'x733AlarmType'.void
setX733ProbableCause(java.lang.Integer x733ProbableCause)
Sets the value of field 'x733ProbableCause'.java.lang.String
toString()
-
-
-
Method Detail
-
copyFrom
public static AlarmData copyFrom(IAlarmData source)
-
deleteAlarmType
public void deleteAlarmType()
-
deleteAutoClean
public void deleteAutoClean()
-
deleteX733ProbableCause
public void deleteX733ProbableCause()
-
getAlarmType
public java.lang.Integer getAlarmType()
Returns the value of field 'alarmType'.- Returns:
- the value of field 'AlarmType'.
-
getAutoClean
public java.lang.Boolean getAutoClean()
Returns the value of field 'autoClean'.- Returns:
- the value of field 'AutoClean'.
-
getClearKey
public java.lang.String getClearKey()
Returns the value of field 'clearKey'.- Returns:
- the value of field 'ClearKey'.
-
getReductionKey
public java.lang.String getReductionKey()
Returns the value of field 'reductionKey'.- Returns:
- the value of field 'ReductionKey'.
-
getX733AlarmType
public java.lang.String getX733AlarmType()
Returns the value of field 'x733AlarmType'.- Returns:
- the value of field 'X733AlarmType'.
-
getX733ProbableCause
public java.lang.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 java.lang.Boolean isAutoClean()
Returns the value of field 'autoClean'.- Returns:
- the value of field 'AutoClean'.
-
setAlarmType
public void setAlarmType(java.lang.Integer alarmType)
Sets the value of field 'alarmType'.- Parameters:
alarmType
- the value of field 'alarmType'.
-
setAutoClean
public void setAutoClean(java.lang.Boolean autoClean)
Sets the value of field 'autoClean'.- Parameters:
autoClean
- the value of field 'autoClean'.
-
setClearKey
public void setClearKey(java.lang.String clearKey)
Sets the value of field 'clearKey'.- Parameters:
clearKey
- the value of field 'clearKey'.
-
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(java.lang.Integer x733ProbableCause)
Sets the value of field 'x733ProbableCause'.- Parameters:
x733ProbableCause
- the value of field 'x733ProbableCause'.
-
getUpdateField
public UpdateField[] getUpdateField()
-
getUpdateFieldCollection
public java.util.Collection<UpdateField> getUpdateFieldCollection()
-
getUpdateFieldList
public java.util.List<UpdateField> getUpdateFieldList()
-
getUpdateFieldListCount
public int getUpdateFieldListCount()
-
hasUpdateFields
public java.lang.Boolean hasUpdateFields()
-
setUpdateField
public void setUpdateField(UpdateField[] fields)
-
setUpdateField
public void setUpdateField(java.util.List<UpdateField> fields)
-
setUpdateFieldCollection
public void setUpdateFieldCollection(java.util.Collection<UpdateField> fields)
-
getManagedObject
public ManagedObject getManagedObject()
-
setManagedObject
public void setManagedObject(ManagedObject m_managedObject)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-