How do I get the value definitions for a bitset or an enumeration?
The BitSetType and IntegerType can both be constrained to an enumerated set of values. The values are retrieved by calling the getAllSymbols() method, which returns an unordered array of enumeration symbols. The enumeration names and values are available in the symbols, through the normal MibValueSymbol API and the MibValue.toObject() method.
Related Questions
- Rateable Value Q: A premises has 50% of their rateable value waived as a charitable organisation. How should the applicant calculate the rateable value of the premises for conversion purposes?
- How do I get the value definitions for a bitset or an enumeration?
- How can I cast an enumeration value to print its numeric value?