Class DefaultBindingConfiguration.MetaschemaBindingConfiguration
java.lang.Object
gov.nist.secauto.metaschema.databind.codegen.config.DefaultBindingConfiguration.MetaschemaBindingConfiguration
- Enclosing class:
- DefaultBindingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionSet the binding configuration for theIAssemblyDefinition
with the providedname
.Set the binding configuration for theIFieldDefinition
with the providedname
.Get the binding configuration for theIAssemblyDefinition
with the providedname
.Get the binding configuration for theIFieldDefinition
with the providedname
.
-
Method Details
-
getAssemblyDefinitionBindingConfig
@Nullable public IDefinitionBindingConfiguration getAssemblyDefinitionBindingConfig(@NonNull String name) Get the binding configuration for theIAssemblyDefinition
with the providedname
.- Parameters:
name
- the definition name- Returns:
- the definition's binding configuration or
null
if no configuration is provided
-
getFieldDefinitionBindingConfig
@Nullable public IDefinitionBindingConfiguration getFieldDefinitionBindingConfig(@NonNull String name) Get the binding configuration for theIFieldDefinition
with the providedname
.- Parameters:
name
- the definition name- Returns:
- the definition's binding configuration or
null
if no configuration is provided
-
addAssemblyDefinitionBindingConfig
@Nullable public IDefinitionBindingConfiguration addAssemblyDefinitionBindingConfig(@NonNull String name, @NonNull IDefinitionBindingConfiguration config) Set the binding configuration for theIAssemblyDefinition
with the providedname
.- Parameters:
name
- the definition nameconfig
- the new binding configuration for the definition- Returns:
- the definition's old binding configuration or
null
if no configuration was previously provided
-
addFieldDefinitionBindingConfig
@Nullable public IDefinitionBindingConfiguration addFieldDefinitionBindingConfig(@NonNull String name, @NonNull IDefinitionBindingConfiguration config) Set the binding configuration for theIFieldDefinition
with the providedname
.- Parameters:
name
- the definition nameconfig
- the new binding configuration for the definition- Returns:
- the definition's old binding configuration or
null
if no configuration was previously provided
-