EGF Engine
Release 0.1.0

org.eclipse.egf.common.helper
Class IDGeneratorHelper

java.lang.Object
  extended by org.eclipse.egf.common.helper.IDGeneratorHelper

public class IDGeneratorHelper
extends Object

Helper to generate object unique id.


Constructor Summary
IDGeneratorHelper()
           
 
Method Summary
static String generatePrefixUID(String prefix_p)
          Generate unique id using given prefix.
static String generateUID(Object object_p)
          Generate unique id for given object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDGeneratorHelper

public IDGeneratorHelper()
Method Detail

generateUID

public static String generateUID(Object object_p)
Generate unique id for given object.

Parameters:
object_p -
Returns:
the not null generated unique id.

generatePrefixUID

public static String generatePrefixUID(String prefix_p)
Generate unique id using given prefix.

Parameters:
prefix_p -
Returns:
the not null generated unique id.

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.