Class DefaultDefinitionBindingConfiguration
java.lang.Object
gov.nist.secauto.metaschema.databind.codegen.config.DefaultDefinitionBindingConfiguration
- All Implemented Interfaces:
IDefinitionBindingConfiguration
-
Constructor Summary
ConstructorDescriptionCreate a new definition binding configuration.Create a new definition binding configuration based on a previous configuration. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInterfaceToImplement
(String interfaceName) 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.void
setClassName
(String name) void
-
Constructor Details
-
DefaultDefinitionBindingConfiguration
Create a new definition binding configuration. -
DefaultDefinitionBindingConfiguration
Create a new definition binding configuration based on a previous configuration.- Parameters:
config
- the previous configuration
-
-
Method Details
-
getClassName
Description copied from interface:IDefinitionBindingConfiguration
Get the class name to use for the generated class associated with this binding.- Specified by:
getClassName
in interfaceIDefinitionBindingConfiguration
- Returns:
- a class name
-
setClassName
-
getQualifiedBaseClassName
Description copied from interface:IDefinitionBindingConfiguration
Get the class that the associated generated class will extend.- Specified by:
getQualifiedBaseClassName
in interfaceIDefinitionBindingConfiguration
- Returns:
- a full type, including the package
-
setQualifiedBaseClassName
-
getInterfacesToImplement
Description copied from interface:IDefinitionBindingConfiguration
A collection of interfaces that the associated generated class will implement.- Specified by:
getInterfacesToImplement
in interfaceIDefinitionBindingConfiguration
- Returns:
- a list of fully qualified type names for interfaces
-
addInterfaceToImplement
-