Here you can find the source of generateID()
public static String generateID()
//package com.java2s; //License from project: Apache License import java.util.UUID; public class Main { /**/*w w w .j a v a 2 s .c o m*/ * This method generates unique IDs for LOD properties. * * @return unique ID as a string */ public static String generateID() { return UUID.randomUUID().toString(); } }