Package com.oss.metadata
Class EnumeratedInfo
java.lang.Object
com.oss.metadata.TypeInfo
com.oss.metadata.EnumeratedInfo
The EnumeratedInfo class represents the properties of the
ASN.1 type ENUMERATED. The following example:
A ::= ENUMERATED {a(10), b(20), c(30),... ,d(40), e(50)}contains both a memberList (of a, b, c, d and e), and an extension (of 2).
- Since:
- ASN.1/Java 2.1
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of enumeration elements that are defined after the extension marker.Return the enumerated list of named numbers.Methods inherited from class com.oss.metadata.TypeInfo
forName, forName, getASN1ModuleName, getASN1TypeName, getClassName, getConstraints, getJavaClass, getJavaClass, getName, getTags, isExtensible, isNullable, isPrimitive, isSimpleType, isSorted, isUseableByBER, isUseableByCER, isUseableByDER, isUseableByEXER, isUseableByJSON, isUseableByOER, isUseableByPER, isUseableByXER, isUserClass, isUseThreadContextClassLoader, setUseThreadContextClassLoader
-
Method Details
-
getEnumerationList
Return the enumerated list of named numbers.- Returns:
- reference to a list of named numbers.
-
extensionsCount
public int extensionsCount()Returns the number of enumeration elements that are defined after the extension marker.- Returns:
- number of enumeration elements that appear in the type definition after the extension marker.
-