Class MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemType

java.lang.Object
dev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemType
All Implemented Interfaces:
IBoundObject
Enclosing class:
MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding

@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 Details

    • ItemType

      public ItemType()
      Constructs a new dev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemType instance with no metadata.
    • ItemType

      public ItemType(IMetaschemaData data)
      Constructs a new dev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemType instance with the specified metadata.
      Parameters:
      data - the metaschema data, or null if none
  • Method Details

    • getMetaschemaData

      public IMetaschemaData getMetaschemaData()
      Description copied from interface: IBoundObject
      Get additional Metaschema-related information for the object (i.e., resource location).
      Specified by:
      getMetaschemaData in interface IBoundObject
      Returns:
      the Metaschema-related information
    • getUseWildcard

      @Nullable public Boolean getUseWildcard()
      Get the use Wildcard.

      Whether to use a wildcard bounded type (List<? extends Type>). Defaults to true.

      Returns:
      the use-wildcard value, or null if not set
    • setUseWildcard

      public void setUseWildcard(@Nullable Boolean value)
      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, or null to clear
    • getValue

      @Nullable public String getValue()
      Get the field value.
      Returns:
      the value
    • setValue

      public void setValue(@Nullable String value)
      Set the field value.
      Parameters:
      value - the value to set
    • toString

      public String toString()
      Overrides:
      toString in class Object