Module dev.metaschema.databind
Class MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemType
java.lang.Object
dev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemType
- All Implemented Interfaces:
IBoundObject
@MetaschemaField(formalName="Item Type",
description="A fully qualified Java type for collection items. When specified, the generated field and getter will use this type instead of Object.",
name="item-type",
moduleClass=MetaschemaBindingsModule.class)
public static class MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemType
extends Object
implements IBoundObject
A fully qualified Java type for collection items. When specified, the
generated field and getter will use this type instead of Object.
-
Constructor Summary
ConstructorsConstructorDescriptionItemType()Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemTypeinstance with no metadata.ItemType(IMetaschemaData data) Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemTypeinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionGet additional Metaschema-related information for the object (i.e., resource location).Get the use Wildcard.getValue()Get the field value.voidsetUseWildcard(Boolean value) Set the use Wildcard.voidSet the field value.toString()
-
Constructor Details
-
ItemType
public ItemType()Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemTypeinstance with no metadata. -
ItemType
Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemTypeinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
Description copied from interface:IBoundObjectGet additional Metaschema-related information for the object (i.e., resource location).- Specified by:
getMetaschemaDatain interfaceIBoundObject- Returns:
- the Metaschema-related information
-
getUseWildcard
Get the use Wildcard.Whether to use a wildcard bounded type (List<? extends Type>). Defaults to true.
- Returns:
- the use-wildcard value, or
nullif not set
-
setUseWildcard
Set the use Wildcard.Whether to use a wildcard bounded type (List<? extends Type>). Defaults to true.
- Parameters:
value- the use-wildcard value to set, ornullto clear
-
getValue
Get the field value.- Returns:
- the value
-
setValue
Set the field value.- Parameters:
value- the value to set
-
toString
-