Package org.opennms.netmgt.xml.eventconf
Class Snmp
- java.lang.Object
-
- org.opennms.netmgt.xml.eventconf.Snmp
-
- All Implemented Interfaces:
Serializable
public class Snmp extends Object implements Serializable
The SNMP information from the trap- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Snmp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCommunity()
Integer
getGeneric()
The generic trap number.String
getId()
The SNMP enterprise IDString
getIdtext()
The SNMP enterprise ID textInteger
getSpecific()
The specific trap numberString
getTrapOID()
String
getVersion()
The SNMP versionint
hashCode()
void
setCommunity(String community)
void
setGeneric(Integer generic)
void
setId(String id)
void
setIdtext(String idText)
void
setSpecific(Integer specific)
void
setTrapOID(String m_trapOID)
void
setVersion(String version)
-
-
-
Method Detail
-
getId
public String getId()
The SNMP enterprise ID
-
setId
public void setId(String id)
-
getTrapOID
public String getTrapOID()
-
setTrapOID
public void setTrapOID(String m_trapOID)
-
getIdtext
public String getIdtext()
The SNMP enterprise ID text
-
setIdtext
public void setIdtext(String idText)
-
getVersion
public String getVersion()
The SNMP version
-
setVersion
public void setVersion(String version)
-
getSpecific
public Integer getSpecific()
The specific trap number
-
setSpecific
public void setSpecific(Integer specific)
-
getGeneric
public Integer getGeneric()
The generic trap number.
-
setGeneric
public void setGeneric(Integer generic)
-
getCommunity
public String getCommunity()
-
setCommunity
public void setCommunity(String community)
-
-