public static final class TypeInfo.EnumTypeInfo extends TypeInfo.TypeInfoWithUnderlyingTypeBase
TypeInfo.BitmaskTypeInfo, TypeInfo.BuiltinTypeInfo, TypeInfo.ChoiceTypeInfo, TypeInfo.CompoundTypeInfoBase, TypeInfo.EnumTypeInfo, TypeInfo.FixedSizeBuiltinTypeInfo, TypeInfo.PubsubTypeInfo, TypeInfo.RecursiveTypeInfo, TypeInfo.ServiceTypeInfo, TypeInfo.SqlDatabaseTypeInfo, TypeInfo.SqlTableTypeInfo, TypeInfo.StructTypeInfo, TypeInfo.TemplatableTypeInfoBase, TypeInfo.TypeInfoBase, TypeInfo.TypeInfoWithUnderlyingTypeBase, TypeInfo.UnionTypeInfo
Constructor and Description |
---|
EnumTypeInfo(java.lang.String schemaName,
java.lang.Class<?> javaClass,
TypeInfo underlyingType,
java.util.List<java.util.function.Supplier<java.lang.Object>> underlyingTypeArguments,
java.util.List<ItemInfo> enumItems)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ItemInfo> |
getEnumItems()
Gets the type information for enumeration type items.
|
getUnderlyingType, getUnderlyingTypeArguments
getBitmaskValues, getBitSize, getCases, getColumns, getFields, getFunctions, getJavaClass, getJavaType, getMessages, getMethods, getParameters, getSchemaName, getSchemaType, getSelector, getSqlConstraint, getTables, getTemplateArguments, getTemplateName, getVirtualTableUsing, isWithoutRowId
public EnumTypeInfo(java.lang.String schemaName, java.lang.Class<?> javaClass, TypeInfo underlyingType, java.util.List<java.util.function.Supplier<java.lang.Object>> underlyingTypeArguments, java.util.List<ItemInfo> enumItems)
schemaName
- The schema name to be stored in type information.javaClass
- The Java class object to be stored in type information.underlyingType
- The reference to type information of underlying zserio type.underlyingTypeArguments
- The underlying zserio type arguments.enumItems
- The sequence of type informations for enumeration items.public java.util.List<ItemInfo> getEnumItems()
TypeInfo
getEnumItems
in interface TypeInfo
getEnumItems
in class TypeInfo.TypeInfoBase
Last updated 2024-12-05 10:34:50