|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.api.SnmpVariable
public final class SnmpVariable
Class to encapsulate an snmp name/value/type.
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
SnmpVariable(String oid,
String value,
SnmpType type)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Determines if this SnmpVariable object is equal to the specified object. |
String |
getOid()
Returns the oid |
SnmpType |
getType()
Returns the type |
String |
getValue()
Returns the value |
int |
hashCode()
The hash code of this object. |
String |
toString()
Creates String representation of internal state. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public SnmpVariable(String oid,
String value,
SnmpType type)
oid - represents the String value of the oid.
We currently only support numerical descriptions of oids, not
textual. For example, the sysuptime is represented
as .1.3.6.1.2.1.1.3.value - represents the oid's value.type - represents the oid type.| Method Detail |
|---|
public String getOid()
public String getValue()
public SnmpType getType()
public String toString()
toString in class Objectpublic int hashCode()
Object.hashCode for more information
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||