Class MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding

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

@MetaschemaAssembly(formalName="Choice Group Binding", description="Provides binding configuration for a choice group within the parent assembly.", name="choice-group-binding", moduleClass=MetaschemaBindingsModule.class) public static class MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding extends Object implements IBoundObject
Provides binding configuration for a choice group within the parent assembly.
  • Constructor Details

    • ChoiceGroupBinding

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

      public ChoiceGroupBinding(IMetaschemaData data)
      Constructs a new dev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding 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
    • getName

      @NonNull public String getName()
      Get the name.

      The name of the choice group (matches the group-as name in the metaschema).

      Returns:
      the name value
    • setName

      public void setName(@NonNull String value)
      Set the name.

      The name of the choice group (matches the group-as name in the metaschema).

      Parameters:
      value - the name value to set
    • getItemType

      Get the item Type.

      A fully qualified Java type for collection items. When specified, the generated field and getter will use this type instead of Object.

      Returns:
      the item-type value, or null if not set
    • setItemType

      Set the item Type.

      A fully qualified Java type for collection items. When specified, the generated field and getter will use this type instead of Object.

      Parameters:
      value - the item-type value to set, or null to clear
    • toString

      public String toString()
      Overrides:
      toString in class Object