Interface IDefinitionBindingConfiguration

All Known Implementing Classes:
DefaultDefinitionBindingConfiguration

public interface IDefinitionBindingConfiguration
Provides binding configuration for a specific Metaschema definition.

This interface defines how an individual field or assembly definition is mapped to a generated Java class, including the class name, base class, and interfaces to implement.

  • Method Details

    • getClassName

      @Nullable String getClassName()
      Get the class name to use for the generated class associated with this binding.
      Returns:
      a class name
    • getQualifiedBaseClassName

      @Nullable String getQualifiedBaseClassName()
      Get the class that the associated generated class will extend.
      Returns:
      a full type, including the package
    • getInterfacesToImplement

      @NonNull List<String> getInterfacesToImplement()
      A collection of interfaces that the associated generated class will implement.
      Returns:
      a list of fully qualified type names for interfaces
    • getChoiceGroupBindings

      @NonNull Map<String,IChoiceGroupBindingConfiguration> getChoiceGroupBindings()
      Get the choice group binding configurations for this definition.

      Choice group bindings provide configuration for choice groups within this assembly definition, keyed by the choice group's group-as name.

      Returns:
      a map of group-as name to choice group binding configuration