Class ImmutableSnmp
- java.lang.Object
-
- org.opennms.netmgt.events.api.model.ImmutableSnmp
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImmutableSnmp.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getCommunity()
java.lang.Integer
getGeneric()
java.lang.String
getId()
java.lang.String
getIdtext()
java.lang.Integer
getSpecific()
java.lang.Long
getTimeStamp()
java.lang.String
getTrapOID()
java.lang.String
getVersion()
boolean
hasGeneric()
int
hashCode()
boolean
hasSpecific()
boolean
hasTimeStamp()
static ISnmp
immutableCopy(ISnmp snmp)
static ImmutableSnmp.Builder
newBuilder()
static ImmutableSnmp.Builder
newBuilderFrom(ISnmp snmp)
java.lang.String
toString()
-
-
-
Method Detail
-
newBuilder
public static ImmutableSnmp.Builder newBuilder()
-
newBuilderFrom
public static ImmutableSnmp.Builder newBuilderFrom(ISnmp snmp)
-
getTrapOID
public java.lang.String getTrapOID()
- Specified by:
getTrapOID
in interfaceISnmp
-
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interfaceISnmp
-
getSpecific
public java.lang.Integer getSpecific()
- Specified by:
getSpecific
in interfaceISnmp
-
getGeneric
public java.lang.Integer getGeneric()
- Specified by:
getGeneric
in interfaceISnmp
-
getCommunity
public java.lang.String getCommunity()
- Specified by:
getCommunity
in interfaceISnmp
-
getTimeStamp
public java.lang.Long getTimeStamp()
- Specified by:
getTimeStamp
in interfaceISnmp
-
hasGeneric
public boolean hasGeneric()
- Specified by:
hasGeneric
in interfaceISnmp
-
hasSpecific
public boolean hasSpecific()
- Specified by:
hasSpecific
in interfaceISnmp
-
hasTimeStamp
public boolean hasTimeStamp()
- Specified by:
hasTimeStamp
in interfaceISnmp
-
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
-
-