com.cisco.provisioning.cpe.api
Class SnmpType

java.lang.Object
  extended by com.cisco.provisioning.cpe.api.SnmpType
All Implemented Interfaces:
Serializable

public class SnmpType
extends Object
implements Serializable

SnmpType encapsulates an Snmp datatype.

See Also:
Serialized Form

Field Summary
static SnmpType BITS
          Constant for a bits Snmp datatype
static SnmpType COUNTER
          Constant for a counter Snmp datatype
static SnmpType INTEGER
          Constant for an integer Snmp datatype
static SnmpType IPADDRESS
          Constant for an IP address Snmp datatype
static SnmpType OID
          Constant for an oid Snmp datatype
static SnmpType OPAQUE
          Constant for an opaque Snmp datatype
static long serialVersionUID
           
static SnmpType STRING
          Constant for a string Snmp datatype
static SnmpType TIMETICKS
          Constant for a timeticks Snmp datatype
 
Method Summary
 boolean equals(Object obj)
          Determines if this SnmpType object is equal to the specified object.
 int hashCode()
          The hash code of this object.
 String toString()
          Creates a String representation of internal state.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

INTEGER

public static final SnmpType INTEGER
Constant for an integer Snmp datatype


STRING

public static final SnmpType STRING
Constant for a string Snmp datatype


TIMETICKS

public static final SnmpType TIMETICKS
Constant for a timeticks Snmp datatype


OPAQUE

public static final SnmpType OPAQUE
Constant for an opaque Snmp datatype


IPADDRESS

public static final SnmpType IPADDRESS
Constant for an IP address Snmp datatype


COUNTER

public static final SnmpType COUNTER
Constant for a counter Snmp datatype


OID

public static final SnmpType OID
Constant for an oid Snmp datatype


BITS

public static final SnmpType BITS
Constant for a bits Snmp datatype

Method Detail

toString

public String toString()
Creates a String representation of internal state.

Overrides:
toString in class Object
Returns:
String representation of object.

hashCode

public int hashCode()
The hash code of this object. See Object.hashCode for more information

Overrides:
hashCode in class Object
Returns:
The hascode of this object

equals

public boolean equals(Object obj)
Determines if this SnmpType object is equal to the specified object.

Overrides:
equals in class Object
Returns:
true if the specified object is equal to this object. false if the objects are not equal.