SourceForge.net Logo

org.netsnmp.ASN
Class OBJECTID

java.lang.Object
  |
  +--org.netsnmp.ASN.ASNValue
        |
        +--org.netsnmp.ASN.OBJECTID
All Implemented Interfaces:
Comparable, Serializable

public class OBJECTID
extends ASNValue

Author:
Andrew E. Page aepage@users.sourceforge.net
See Also:
Serialized Form

Field Summary
 int[] descriptor
           
static ASN_TYPE type
           
 
Constructor Summary
OBJECTID(int[] descriptor)
          Creates a new instance of OBJECTID
 
Method Summary
 int asn_type()
           
 Object toJavaObject()
          Converts the value to a Java Object
 int[] toOBJECTID()
          Converts the value to an OBJECTOID
 ASN_TYPE type()
           
 
Methods inherited from class org.netsnmp.ASN.ASNValue
compareTo, toBoolean, toInt, toInt64, toOctetString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public static final ASN_TYPE type

descriptor

public int[] descriptor
Constructor Detail

OBJECTID

public OBJECTID(int[] descriptor)
Creates a new instance of OBJECTID

Method Detail

asn_type

public int asn_type()
Specified by:
asn_type in class ASNValue

type

public ASN_TYPE type()
Specified by:
type in class ASNValue

toOBJECTID

public int[] toOBJECTID()
Description copied from class: ASNValue
Converts the value to an OBJECTOID

Overrides:
toOBJECTID in class ASNValue

toJavaObject

public Object toJavaObject()
Description copied from class: ASNValue
Converts the value to a Java Object

Specified by:
toJavaObject in class ASNValue

SourceForge.net Logo