/** * Returns the next id for this store's {@link IdGenerator}. * * @return The next free id */ @Override public long nextId() { return idGenerator.nextId(); }
public IdentifiableMixin(IdGenerator generator) { this.id = generator.nextId(); }