Package org.opennms.netmgt.xml.event
Class AlarmData
- java.lang.Object
-
- 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.- 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(Object o)IntegergetAlarmType()Returns the value of field 'alarmType'.BooleangetAutoClean()Returns the value of field 'autoClean'.StringgetClearKey()Returns the value of field 'clearKey'.ManagedObjectgetManagedObject()StringgetReductionKey()Returns the value of field 'reductionKey'.UpdateField[]getUpdateField()Collection<UpdateField>getUpdateFieldCollection()List<UpdateField>getUpdateFieldList()intgetUpdateFieldListCount()StringgetX733AlarmType()Returns the value of field 'x733AlarmType'.IntegergetX733ProbableCause()Returns the value of field 'x733ProbableCause'.booleanhasAlarmType()Method hasAlarmType.booleanhasAutoClean()Method hasAutoClean.inthashCode()BooleanhasUpdateFields()booleanhasX733ProbableCause()Method hasX733ProbableCause.BooleanisAutoClean()Returns the value of field 'autoClean'.voidsetAlarmType(Integer alarmType)Sets the value of field 'alarmType'.voidsetAutoClean(Boolean autoClean)Sets the value of field 'autoClean'.voidsetClearKey(String clearKey)Sets the value of field 'clearKey'.voidsetManagedObject(ManagedObject m_managedObject)voidsetReductionKey(String reductionKey)Sets the value of field 'reductionKey'.voidsetUpdateField(List<UpdateField> fields)voidsetUpdateField(UpdateField[] fields)voidsetUpdateFieldCollection(Collection<UpdateField> fields)voidsetX733AlarmType(String x733AlarmType)Sets the value of field 'x733AlarmType'.voidsetX733ProbableCause(Integer x733ProbableCause)Sets the value of field 'x733ProbableCause'.StringtoString()
-
-
-
Method Detail
-
copyFrom
public static AlarmData copyFrom(IAlarmData source)
-
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'.
-
getUpdateField
public UpdateField[] getUpdateField()
-
getUpdateFieldCollection
public Collection<UpdateField> getUpdateFieldCollection()
-
getUpdateFieldList
public List<UpdateField> getUpdateFieldList()
-
getUpdateFieldListCount
public int getUpdateFieldListCount()
-
hasUpdateFields
public Boolean hasUpdateFields()
-
setUpdateField
public void setUpdateField(UpdateField[] fields)
-
setUpdateField
public void setUpdateField(List<UpdateField> fields)
-
setUpdateFieldCollection
public void setUpdateFieldCollection(Collection<UpdateField> fields)
-
getManagedObject
public ManagedObject getManagedObject()
-
setManagedObject
public void setManagedObject(ManagedObject m_managedObject)
-
-