Class ImmutableAlarmData
- java.lang.Object
-
- org.opennms.netmgt.events.api.model.ImmutableAlarmData
-
- All Implemented Interfaces:
IAlarmData
public final class ImmutableAlarmData extends java.lang.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(java.lang.Object o)
java.lang.Integer
getAlarmType()
java.lang.Boolean
getAutoClean()
java.lang.String
getClearKey()
IManagedObject
getManagedObject()
java.lang.String
getReductionKey()
java.util.List<IUpdateField>
getUpdateFieldList()
java.lang.String
getX733AlarmType()
java.lang.Integer
getX733ProbableCause()
boolean
hasAlarmType()
boolean
hasAutoClean()
int
hashCode()
java.lang.Boolean
hasUpdateFields()
boolean
hasX733ProbableCause()
static IAlarmData
immutableCopy(IAlarmData alarmData)
java.lang.Boolean
isAutoClean()
static ImmutableAlarmData.Builder
newBuilder()
static ImmutableAlarmData.Builder
newBuilderFrom(IAlarmData alarmData)
java.lang.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 java.lang.Integer getAlarmType()
- Specified by:
getAlarmType
in interfaceIAlarmData
-
hasAlarmType
public boolean hasAlarmType()
- Specified by:
hasAlarmType
in interfaceIAlarmData
-
getAutoClean
public java.lang.Boolean getAutoClean()
- Specified by:
getAutoClean
in interfaceIAlarmData
-
hasAutoClean
public boolean hasAutoClean()
- Specified by:
hasAutoClean
in interfaceIAlarmData
-
getClearKey
public java.lang.String getClearKey()
- Specified by:
getClearKey
in interfaceIAlarmData
-
getReductionKey
public java.lang.String getReductionKey()
- Specified by:
getReductionKey
in interfaceIAlarmData
-
getX733AlarmType
public java.lang.String getX733AlarmType()
- Specified by:
getX733AlarmType
in interfaceIAlarmData
-
getX733ProbableCause
public java.lang.Integer getX733ProbableCause()
- Specified by:
getX733ProbableCause
in interfaceIAlarmData
-
hasX733ProbableCause
public boolean hasX733ProbableCause()
- Specified by:
hasX733ProbableCause
in interfaceIAlarmData
-
isAutoClean
public java.lang.Boolean isAutoClean()
- Specified by:
isAutoClean
in interfaceIAlarmData
-
getUpdateFieldList
public java.util.List<IUpdateField> getUpdateFieldList()
- Specified by:
getUpdateFieldList
in interfaceIAlarmData
-
hasUpdateFields
public java.lang.Boolean hasUpdateFields()
- Specified by:
hasUpdateFields
in interfaceIAlarmData
-
getManagedObject
public IManagedObject getManagedObject()
- Specified by:
getManagedObject
in interfaceIAlarmData
-
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
-
-