Class ModelPartExtractorRegistry

java.lang.Object
nl.datasteel.crudcraft.codegen.reader.model.ModelPartExtractorRegistry

public final class ModelPartExtractorRegistry extends Object
Registry for model part extractors. Provides a mapping from model part types to their corresponding extractors. This allows for dynamic extraction of model parts based on their type.
  • Method Details

    • get

      public static <T> ModelPartExtractor<T> get(Class<T> partType)
      Retrieves the extractor for a given model part type.
      Type Parameters:
      T - the type of the model part
      Parameters:
      partType - the class of the model part type
      Returns:
      the extractor for the specified model part type, or null if not found