Class ImmutableAlarmData
- java.lang.Object
-
- org.opennms.netmgt.events.api.model.ImmutableAlarmData
-
- All Implemented Interfaces:
IAlarmData
public final class ImmutableAlarmData extends Object implements IAlarmData
An immutable implementation of 'IAlarmData
'.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImmutableAlarmData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Integer
getAlarmType()
Boolean
getAutoClean()
String
getClearKey()
IManagedObject
getManagedObject()
String
getReductionKey()
List<IUpdateField>
getUpdateFieldList()
String
getX733AlarmType()
Integer
getX733ProbableCause()
boolean
hasAlarmType()
boolean
hasAutoClean()
int
hashCode()
Boolean
hasUpdateFields()
boolean
hasX733ProbableCause()
static IAlarmData
immutableCopy(IAlarmData alarmData)
Boolean
isAutoClean()
static ImmutableAlarmData.Builder
newBuilder()
static ImmutableAlarmData.Builder
newBuilderFrom(IAlarmData alarmData)
String
toString()
-
-
-
Method Detail
-
newBuilder
public static ImmutableAlarmData.Builder newBuilder()
-
newBuilderFrom
public static ImmutableAlarmData.Builder newBuilderFrom(IAlarmData alarmData)
-
immutableCopy
public static IAlarmData immutableCopy(IAlarmData alarmData)
-
getAlarmType
public Integer getAlarmType()
- Specified by:
getAlarmType
in interfaceIAlarmData
-
hasAlarmType
public boolean hasAlarmType()
- Specified by:
hasAlarmType
in interfaceIAlarmData
-
getAutoClean
public Boolean getAutoClean()
- Specified by:
getAutoClean
in interfaceIAlarmData
-
hasAutoClean
public boolean hasAutoClean()
- Specified by:
hasAutoClean
in interfaceIAlarmData
-
getClearKey
public String getClearKey()
- Specified by:
getClearKey
in interfaceIAlarmData
-
getReductionKey
public String getReductionKey()
- Specified by:
getReductionKey
in interfaceIAlarmData
-
getX733AlarmType
public String getX733AlarmType()
- Specified by:
getX733AlarmType
in interfaceIAlarmData
-
getX733ProbableCause
public Integer getX733ProbableCause()
- Specified by:
getX733ProbableCause
in interfaceIAlarmData
-
hasX733ProbableCause
public boolean hasX733ProbableCause()
- Specified by:
hasX733ProbableCause
in interfaceIAlarmData
-
isAutoClean
public Boolean isAutoClean()
- Specified by:
isAutoClean
in interfaceIAlarmData
-
getUpdateFieldList
public List<IUpdateField> getUpdateFieldList()
- Specified by:
getUpdateFieldList
in interfaceIAlarmData
-
hasUpdateFields
public Boolean hasUpdateFields()
- Specified by:
hasUpdateFields
in interfaceIAlarmData
-
getManagedObject
public IManagedObject getManagedObject()
- Specified by:
getManagedObject
in interfaceIAlarmData
-
-