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 AlarmData
copyFrom(IAlarmData source)
void
deleteAlarmType()
void
deleteAutoClean()
void
deleteX733ProbableCause()
boolean
equals(Object o)
Integer
getAlarmType()
Returns the value of field 'alarmType'.Boolean
getAutoClean()
Returns the value of field 'autoClean'.String
getClearKey()
Returns the value of field 'clearKey'.ManagedObject
getManagedObject()
String
getReductionKey()
Returns the value of field 'reductionKey'.UpdateField[]
getUpdateField()
Collection<UpdateField>
getUpdateFieldCollection()
List<UpdateField>
getUpdateFieldList()
int
getUpdateFieldListCount()
String
getX733AlarmType()
Returns the value of field 'x733AlarmType'.Integer
getX733ProbableCause()
Returns the value of field 'x733ProbableCause'.boolean
hasAlarmType()
Method hasAlarmType.boolean
hasAutoClean()
Method hasAutoClean.int
hashCode()
Boolean
hasUpdateFields()
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
setManagedObject(ManagedObject m_managedObject)
void
setReductionKey(String reductionKey)
Sets the value of field 'reductionKey'.void
setUpdateField(List<UpdateField> fields)
void
setUpdateField(UpdateField[] fields)
void
setUpdateFieldCollection(Collection<UpdateField> fields)
void
setX733AlarmType(String x733AlarmType)
Sets the value of field 'x733AlarmType'.void
setX733ProbableCause(Integer x733ProbableCause)
Sets the value of field 'x733ProbableCause'.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 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)
-
-