public static final class TypeInfo.ChoiceTypeInfo extends TypeInfo.CompoundTypeInfoBase
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 |
|---|
ChoiceTypeInfo(java.lang.String schemaName,
java.lang.Class<?> javaClass,
java.lang.String templateName,
java.util.List<TypeInfo> templateArguments,
java.util.List<FieldInfo> fields,
java.util.List<ParameterInfo> parameters,
java.util.List<FunctionInfo> functions,
java.lang.String selector,
java.util.List<CaseInfo> cases)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CaseInfo> |
getCases()
Gets the type information for choice type cases.
|
java.lang.String |
getSelector()
Gets the selector for choice type.
|
getFields, getFunctions, getParametersgetTemplateArguments, getTemplateNamegetBitmaskValues, getBitSize, getColumns, getEnumItems, getJavaClass, getJavaType, getMessages, getMethods, getSchemaName, getSchemaType, getSqlConstraint, getTables, getUnderlyingType, getUnderlyingTypeArguments, getVirtualTableUsing, isWithoutRowIdpublic ChoiceTypeInfo(java.lang.String schemaName,
java.lang.Class<?> javaClass,
java.lang.String templateName,
java.util.List<TypeInfo> templateArguments,
java.util.List<FieldInfo> fields,
java.util.List<ParameterInfo> parameters,
java.util.List<FunctionInfo> functions,
java.lang.String selector,
java.util.List<CaseInfo> cases)
schemaName - The schema name to be stored in type information.javaClass - The Java class object to be stored in type information.templateName - The full schema template name.templateArguments - The sequence of type informations for template arguments.fields - The sequence of type informations for fields.parameters - The sequence of type informations for parameters.functions - The sequence of type informations for functions.selector - The selector expression.cases - The sequence of type informations for cases.public java.lang.String getSelector()
TypeInfogetSelector in interface TypeInfogetSelector in class TypeInfo.TypeInfoBasepublic java.util.List<CaseInfo> getCases()
TypeInfogetCases in interface TypeInfogetCases in class TypeInfo.TypeInfoBaseLast updated 2025-10-02 14:26:25