Class AbstractMapperClassGenerator<T extends GenerationField>

All Implemented Interfaces:
ClassGenerator
Direct Known Subclasses:
JavaRecordMapperClassGenerator, RecordMapperClassGenerator

public abstract class AbstractMapperClassGenerator<T extends GenerationField> extends AbstractSchemaClassGenerator<T>
  • Field Details

  • Constructor Details

    • AbstractMapperClassGenerator

      public AbstractMapperClassGenerator(ProcessedSchema processedSchema, boolean toRecord)
  • Method Details

    • generateAll

      public List<no.sikt.graphitron.javapoet.TypeSpec> generateAll()
      Description copied from interface: ClassGenerator
      Generate the classes and return the list of TypeSpecs.
    • typeSpecFilter

      protected boolean typeSpecFilter(no.sikt.graphitron.javapoet.TypeSpec spec)
    • filterProperties

      protected abstract boolean filterProperties(GenerationField field)
    • getDefaultSaveDirectoryName

      public String getDefaultSaveDirectoryName()
      Returns:
      The final directory path within the package where the classes are ultimately saved.
    • isToRecord

      public boolean isToRecord()