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.SerializableThis 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 AlarmDatacopyFrom(IAlarmData source)voiddeleteAlarmType()voiddeleteAutoClean()voiddeleteX733ProbableCause()booleanequals(java.lang.Object o)java.lang.IntegergetAlarmType()Returns the value of field 'alarmType'.java.lang.BooleangetAutoClean()Returns the value of field 'autoClean'.java.lang.StringgetClearKey()Returns the value of field 'clearKey'.ManagedObjectgetManagedObject()java.lang.StringgetReductionKey()Returns the value of field 'reductionKey'.UpdateField[]getUpdateField()java.util.Collection<UpdateField>getUpdateFieldCollection()java.util.List<UpdateField>getUpdateFieldList()intgetUpdateFieldListCount()java.lang.StringgetX733AlarmType()Returns the value of field 'x733AlarmType'.java.lang.IntegergetX733ProbableCause()Returns the value of field 'x733ProbableCause'.booleanhasAlarmType()Method hasAlarmType.booleanhasAutoClean()Method hasAutoClean.inthashCode()java.lang.BooleanhasUpdateFields()booleanhasX733ProbableCause()Method hasX733ProbableCause.java.lang.BooleanisAutoClean()Returns the value of field 'autoClean'.voidsetAlarmType(java.lang.Integer alarmType)Sets the value of field 'alarmType'.voidsetAutoClean(java.lang.Boolean autoClean)Sets the value of field 'autoClean'.voidsetClearKey(java.lang.String clearKey)Sets the value of field 'clearKey'.voidsetManagedObject(ManagedObject m_managedObject)voidsetReductionKey(java.lang.String reductionKey)Sets the value of field 'reductionKey'.voidsetUpdateField(java.util.List<UpdateField> fields)voidsetUpdateField(UpdateField[] fields)voidsetUpdateFieldCollection(java.util.Collection<UpdateField> fields)voidsetX733AlarmType(java.lang.String x733AlarmType)Sets the value of field 'x733AlarmType'.voidsetX733ProbableCause(java.lang.Integer x733ProbableCause)Sets the value of field 'x733ProbableCause'.java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-