package at.gv.egovernment.moa.id.util; import java.util.Date; /** * Random number generator used to generate ID's * @author Paul Ivancsics * @version $Id$ */ public class Random { /** random number generator used */ private static java.util.Random random = new java.util.Random(new Date().getTime()); /** * Creates a new random number, to be used as an ID. * * @return random long as a String */ public static String nextRandom() { return "" + random.nextLong(); } }