Module dev.metaschema.databind
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 Summary
Modifier and TypeMethodDescriptionGet the choice group binding configurations for this definition.Get the class name to use for the generated class associated with this binding.A collection of interfaces that the associated generated class will implement.Get the class that the associated generated class will extend.
-
Method Details
-
getClassName
Get the class name to use for the generated class associated with this binding.- Returns:
- a class name
-
getQualifiedBaseClassName
Get the class that the associated generated class will extend.- Returns:
- a full type, including the package
-
getInterfacesToImplement
A collection of interfaces that the associated generated class will implement.- Returns:
- a list of fully qualified type names for interfaces
-
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-asname.- Returns:
- a map of group-as name to choice group binding configuration
-