java.lang.Object
software.xdev.spring.data.eclipse.store.repository.support.id.strategy.auto.AbstractAutoIdFinder<ID>
All Implemented Interfaces:
IdFinder<ID>
Direct Known Subclasses:
AutoIntegerIdFinder, AutoLongIdFinder, AutoStringIdFinder, AutoUUIDIdFinder

public abstract class AbstractAutoIdFinder<ID> extends Object implements IdFinder<ID>
  • Constructor Details

    • AbstractAutoIdFinder

      protected AbstractAutoIdFinder(Supplier<ID> lastIdGetter)
  • Method Details

    • findId

      public ID findId()
      Specified by:
      findId in interface IdFinder<ID>
    • getNext

      protected abstract ID getNext(ID oldId)