Interface IdGeneratorStrategyInterpreter


  • public interface IdGeneratorStrategyInterpreter
    Strategy for interpreting identifier generator related information.
    • Method Detail

      • interpretTableGenerator

        void interpretTableGenerator​(TableGenerator tableGeneratorAnnotation,
                                     IdentifierGeneratorDefinition.Builder definitionBuilder)
        Extract the IdentifierGeneratorDefinition related to the given TableGenerator annotation
        Parameters:
        tableGeneratorAnnotation - The annotation
        definitionBuilder - The IdentifierGeneratorDefinition builder to which to apply any interpreted/extracted configuration
      • interpretSequenceGenerator

        void interpretSequenceGenerator​(SequenceGenerator sequenceGeneratorAnnotation,
                                        IdentifierGeneratorDefinition.Builder definitionBuilder)
        Extract the IdentifierGeneratorDefinition related to the given SequenceGenerator annotation
        Parameters:
        sequenceGeneratorAnnotation - The annotation
        definitionBuilder - The IdentifierGeneratorDefinition builder to which to apply any interpreted/extracted configuration