com.gisgraphy.domain.repository

## Interface IIdGenerator

- All Known Implementing Classes:
    IdGenerator

      public interface IIdGenerator

  class to generate ids in order to add streets and place to the datastore and not be in conflict
  Author:
    David Masclet

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getFeatureId()`
    `long` | `getGid()`
    `long` | `getNextFeatureId()`
    `long` | `getNextGId()`
    `void` | `sync()` synchronise the generator with the database

- - ### Method Detail

    - #### getNextFeatureId

          long getNextFeatureId()

    - #### getNextGId

          long getNextGId()

    - #### getFeatureId

          long getFeatureId()

    - #### getGid

          long getGid()

    - #### sync

          void sync()

      synchronise the generator with the database

Copyright © 2015. All rights reserved.