AlarmParameters { @Override public String toString() { return "AlarmParameters [alarmTypeId=" + m_alarmTypeId + ", resource=" + m_resource + ", lastStatusChange=" + m_lastStatusChange + ", lastPerceivedSeverity=" + m_lastPerceivedSeverity + ", lastAlarmText=" + m_lastAlarmText + ", resourceObjectString=" + m_resourceObjectString + ", resourceNamespaces=" + m_resourceNamespaces + "]"; } AlarmParameters(String alarmTypeId, ModelNodeId resource, Timestamp lastStatusChange, AlarmSeverity lastPerceivedSeverity,
                           String lastAlarmText);  AlarmParameters(String alarmTypeId, String alarmTypeQualifier, ModelNodeId resource, Timestamp lastStatusChange,
                           AlarmSeverity lastPerceivedSeverity,
                           String lastAlarmText);  AlarmParameters(String alarmTypeId, String alarmTypeQualifier, ModelNodeId resource, Timestamp lastStatusChange,
                           AlarmSeverity lastPerceivedSeverity,
                           String lastAlarmText, String mountKey, String resourceObjectString); String getAlarmTypeId(); String getAlarmTypeQualifier(); ModelNodeId getResource(); Timestamp getLastStatusChange(); AlarmSeverity getLastPerceivedSeverity(); String getLastAlarmText(); String getMountKey(); void setMountKey(String mountKey); String getResourceObjectString(); void setResourceObjectString(String resourceObjectString); String getResourceNamespaces(); void setResourceNamespaces(String resourceNamespaces); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testToString() { assertEquals("AlarmParameters [alarmTypeId=testAlarmTypeId, resource=ModelNodeId[/container=device-manager/container=device-holder/name=TestBAA/container=device/name=R1.S1.LT1.P1.ONT1], lastStatusChange=" + m_alarmParameters.getLastStatusChange() + ", lastPerceivedSeverity=cleared, lastAlarmText=testLastAlarmText, resourceObjectString=null, resourceNamespaces=null]", m_alarmParameters.toString()); }