org.opennms.bb.eui.operator.utils.datablocks
Class EventSnmpInfo

java.lang.Object
  |
  +--org.opennms.bb.eui.operator.utils.datablocks.EventSnmpInfo

public class EventSnmpInfo
extends Object

EventSnmpInfo holds data from each .. block in either the incoming event or the event in 'event.conf'

Author:
Sowmya, OpenNMS.org

Field Summary
 String m_eid
          the enterprise ID - corresponds to the EID of a SNMP trap
 String m_eidText
          the EID text
 String m_generic
          the general type for the trap
 String m_specific
          the specific type for the trap
 
Constructor Summary
EventSnmpInfo(EventSnmpInfo snmpInfo)
          Constructs a 'EventSnmpInfo' object from another EventSnmpInfo object
EventSnmpInfo(String eid, String eidText, String specific, String generic)
          Constructs a 'EventSnmpInfo' object with the parms
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

m_eid

public String m_eid
the enterprise ID - corresponds to the EID of a SNMP trap

m_eidText

public String m_eidText
the EID text

m_specific

public String m_specific
the specific type for the trap

m_generic

public String m_generic
the general type for the trap
Constructor Detail

EventSnmpInfo

public EventSnmpInfo(String eid,
                     String eidText,
                     String specific,
                     String generic)
Constructs a 'EventSnmpInfo' object with the parms

EventSnmpInfo

public EventSnmpInfo(EventSnmpInfo snmpInfo)
Constructs a 'EventSnmpInfo' object from another EventSnmpInfo object
Method Detail

toString

public String toString()
Overrides:
toString in class Object