Module dev.metaschema.databind
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA fully qualified Java type for collection items. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBindinginstance with no metadata.Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBindinginstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionGet the item Type.Get additional Metaschema-related information for the object (i.e., resource location).getName()Get the name.voidsetItemType(MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemType value) Set the item Type.voidSet the name.toString()
-
Constructor Details
-
ChoiceGroupBinding
public ChoiceGroupBinding()Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBindinginstance with no metadata. -
ChoiceGroupBinding
Constructs a newdev.metaschema.databind.config.binding.MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBindinginstance 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
-
getName
Get the name.The name of the choice group (matches the group-as name in the metaschema).
- Returns:
- the name value
-
setName
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
@Nullable public MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemType 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
nullif not set
-
setItemType
public void setItemType(@Nullable MetaschemaBindings.MetaschemaBinding.DefineAssemblyBinding.ChoiceGroupBinding.ItemType value) 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, ornullto clear
-
toString
-