Class AbstractSchemaClassGenerator<T extends GenerationTarget>
java.lang.Object
no.sikt.graphitron.generators.abstractions.AbstractClassGenerator
no.sikt.graphitron.generators.abstractions.AbstractSchemaClassGenerator<T>
- All Implemented Interfaces:
ClassGenerator
- Direct Known Subclasses:
AbstractMapperClassGenerator,DataFetcherClassGenerator,DBClassGenerator,DTOGenerator,ExceptionStrategyConfigurationGenerator,ExceptionToErrorMappingProviderGenerator,TypeResolverClassGenerator
public abstract class AbstractSchemaClassGenerator<T extends GenerationTarget>
extends AbstractClassGenerator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class no.sikt.graphitron.generators.abstractions.AbstractClassGenerator
generateAllAsMap, generateAllToDirectory, getGeneratedClassName, getSpec, getSpec, setDependencies, writeToFile, writeToFile, writeToStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface no.sikt.graphitron.generators.abstractions.ClassGenerator
generateAll, getDefaultSaveDirectoryName, getFileNameSuffix
-
Field Details
-
processedSchema
-
-
Constructor Details
-
AbstractSchemaClassGenerator
-
-
Method Details
-
generate
- Parameters:
target- AGenerationTargetobject representing a source from which a class should be generated.- Returns:
- A complete class in the form of a javapoet
TypeSpec.
-