001// License: GPL. For details, see LICENSE file.
002package org.openstreetmap.josm.plugins.streetside.utils;
003
004import java.util.UUID;
005
006/**
007 * Utility class to generated unique ids for Streetside "sequences".
008 * Due to the functionality inherited from Mapillary the plugin is structured to
009 * handle sequences of contiguous imagery, but Streetside only has implicit
010 * sequences defined by the "pre" and "ne" attributes.
011 * 
012 * See {@link org.openstreetmap.josm.plugins.streetside.StreetsideSequence}
013 */
014public class StreetsideSequenceIdGenerator {
015
016  private StreetsideSequenceIdGenerator() {
017    // private constructor to avoid instantiation
018  }
019
020  public static String generateId() {
021    return UUID.randomUUID().toString();
022  }
023}