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, getParameters
getTemplateArguments, getTemplateName
getBitmaskValues, getBitSize, getColumns, getEnumItems, getJavaClass, getJavaType, getMessages, getMethods, getSchemaName, getSchemaType, getSqlConstraint, getTables, getUnderlyingType, getUnderlyingTypeArguments, getVirtualTableUsing, isWithoutRowId
public 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()
TypeInfo
getSelector
in interface TypeInfo
getSelector
in class TypeInfo.TypeInfoBase
public java.util.List<CaseInfo> getCases()
TypeInfo
getCases
in interface TypeInfo
getCases
in class TypeInfo.TypeInfoBase
Last updated 2024-12-05 10:34:50