@Test public void testAdditionalInfoLength() { String BigValue = randomAlphaNumeric(1001); m_alarmInfo = new AlarmInfo(TEST_ALARM_TYPE_ID, "", m_sourceObject, m_raisedTime, m_severity, BigValue, TEST_DEVICE_ID); assertEquals(1000, m_alarmInfo.getAlarmText().length()); }
public String getAlarmText() { return m_alarmText; }
AlarmInfo { public String getAlarmText() { return m_alarmText; } }
AlarmInfo { public String getAlarmText() { return m_alarmText; } AlarmInfo(String alarmTypeId, ModelNodeId sourceObject, Timestamp time, AlarmSeverity severity,
                     String alarmText, String deviceName);  AlarmInfo(String alarmTypeId, String alarmTypeQualifier, ModelNodeId sourceObject, Timestamp time, AlarmSeverity severity,
                     String alarmText, String deviceName);  AlarmInfo(String alarmTypeId, String alarmTypeQualifier, ModelNodeId sourceObject, String sourceObjectNamespaces,
                     Timestamp eventTime, AlarmSeverity severity, String alarmText, String deviceName, String resourceString);  AlarmInfo(String alarmTypeId, String alarmTypeQualifier, ModelNodeId sourceObject, Timestamp time, AlarmSeverity severity,
                     String alarmText, String deviceName, String sourceObjectString); }
AlarmInfo { public String getAlarmText() { return m_alarmText; } AlarmInfo(String alarmTypeId, ModelNodeId sourceObject, Timestamp time, AlarmSeverity severity,
                     String alarmText, String deviceName);  AlarmInfo(String alarmTypeId, String alarmTypeQualifier, ModelNodeId sourceObject, Timestamp time, AlarmSeverity severity,
                     String alarmText, String deviceName);  AlarmInfo(String alarmTypeId, String alarmTypeQualifier, ModelNodeId sourceObject, String sourceObjectNamespaces,
                     Timestamp eventTime, AlarmSeverity severity, String alarmText, String deviceName, String resourceString);  AlarmInfo(String alarmTypeId, String alarmTypeQualifier, ModelNodeId sourceObject, Timestamp time, AlarmSeverity severity,
                     String alarmText, String deviceName, String sourceObjectString); String getAlarmTypeId(); String getAlarmTypeQualifier(); ModelNodeId getSourceObject(); void setSourceObject(ModelNodeId sourceObject); Timestamp getTime(); AlarmSeverity getSeverity(); String getAlarmText(); String getDeviceName(); String getSourceObjectString(); void setSourceObjectString(String sourceObjectString); String getSourceObjectNamespaces(); void setSourceObjectNamespaces(String sourceObjectNamespaces); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
AlarmInfo { public String getAlarmText() { return m_alarmText; } AlarmInfo(String alarmTypeId, ModelNodeId sourceObject, Timestamp time, AlarmSeverity severity,
                     String alarmText, String deviceName);  AlarmInfo(String alarmTypeId, String alarmTypeQualifier, ModelNodeId sourceObject, Timestamp time, AlarmSeverity severity,
                     String alarmText, String deviceName);  AlarmInfo(String alarmTypeId, String alarmTypeQualifier, ModelNodeId sourceObject, String sourceObjectNamespaces,
                     Timestamp eventTime, AlarmSeverity severity, String alarmText, String deviceName, String resourceString);  AlarmInfo(String alarmTypeId, String alarmTypeQualifier, ModelNodeId sourceObject, Timestamp time, AlarmSeverity severity,
                     String alarmText, String deviceName, String sourceObjectString); String getAlarmTypeId(); String getAlarmTypeQualifier(); ModelNodeId getSourceObject(); void setSourceObject(ModelNodeId sourceObject); Timestamp getTime(); AlarmSeverity getSeverity(); String getAlarmText(); String getDeviceName(); String getSourceObjectString(); void setSourceObjectString(String sourceObjectString); String getSourceObjectNamespaces(); void setSourceObjectNamespaces(String sourceObjectNamespaces); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }