Interface IGeneratedModuleClass
- All Superinterfaces:
IGeneratedClass
Provides information about a generated Java class that represents a Module
module.
-
Method Summary
Modifier and TypeMethodDescriptionGet the collection of generated classes representing definitions associated with the Module module.Get the associated Module module data.Get the Java package name associated with the Module module.default Class<? extends IBoundModule>
load
(ClassLoader classLoader) Dynamicly load this class.Methods inherited from interface gov.nist.secauto.metaschema.databind.codegen.IGeneratedClass
getClassFile, getClassName
-
Method Details
-
getModule
Get the associated Module module data.- Returns:
- the module data
-
getPackageName
Get the Java package name associated with the Module module.- Returns:
- the package name
-
getGeneratedDefinitionClasses
Get the collection of generated classes representing definitions associated with the Module module.- Returns:
- the collection of definition classes
-
load
@NonNull default Class<? extends IBoundModule> load(@NonNull ClassLoader classLoader) throws ClassNotFoundException Dynamicly load this class.- Parameters:
classLoader
- the class loader to use to load this class- Returns:
- the module class
- Throws:
ClassNotFoundException
- if this classwas not found- Since:
- 2.0.0
-