Package org.opennms.netmgt.model.alarm
Class SituationSummary
- java.lang.Object
-
- org.opennms.netmgt.model.alarm.SituationSummary
-
public class SituationSummary extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SituationSummary(java.lang.Integer situationId, OnmsSeverity situationSeverity, java.lang.String situationLocations, java.lang.Long affectedNodes, java.lang.Long relatedAlarms, java.util.Date minLastEventDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
long
getAffectedNodes()
java.lang.String
getFuzzyTimeDown()
java.util.Date
getMinLastEventDate()
long
getRelatedAlarms()
int
getSituationId()
java.util.List<java.lang.String>
getSituationLocationList()
java.lang.String
getSituationLocations()
OnmsSeverity
getSituationSeverity()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
SituationSummary
public SituationSummary(java.lang.Integer situationId, OnmsSeverity situationSeverity, java.lang.String situationLocations, java.lang.Long affectedNodes, java.lang.Long relatedAlarms, java.util.Date minLastEventDate)
-
-
Method Detail
-
getSituationId
public int getSituationId()
-
getMinLastEventDate
public java.util.Date getMinLastEventDate()
-
getSituationSeverity
public OnmsSeverity getSituationSeverity()
-
getSituationLocations
public java.lang.String getSituationLocations()
-
getSituationLocationList
public java.util.List<java.lang.String> getSituationLocationList()
-
getAffectedNodes
public long getAffectedNodes()
-
getRelatedAlarms
public long getRelatedAlarms()
-
getFuzzyTimeDown
public java.lang.String getFuzzyTimeDown()
-
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
-
-