JASMI API

com.agentpp.smi
Interface IEnum


public interface IEnum

IEnum represents a label/value pair. Please note that the value part not necessarily is an Integer value. It may also contain hex and binary values as defined in SMIv1/v2.

Version:
1.7
Author:
Frank Fock

Method Summary
 java.lang.String getComment()
          Gets the ASN.1 comment associated with this enumerated value.
 java.lang.String getLabel()
           
 long getLongValue()
          Get the value as a long.
 java.lang.String getValue()
           
 

Method Detail

getLabel

java.lang.String getLabel()

getValue

java.lang.String getValue()

getComment

java.lang.String getComment()
Gets the ASN.1 comment associated with this enumerated value.

Returns:
a String (possibly multi-line) that contains the ASN.1 comment including comment delimiters "--".

getLongValue

long getLongValue()
Get the value as a long. Binary, octal, and hex values will be transformed into unsigned decimal long value.

Returns:
a possibly singed long value.

JASMI API

JASMI 3
Copyright 2001-2010 Frank Fock
All Rights Reserved