EGF Engine
Release 0.1.0

org.eclipse.egf.model.internal.helper
Class ModelUIDGeneratorHelper

java.lang.Object
  extended by org.eclipse.egf.model.internal.helper.ModelUIDGeneratorHelper

public class ModelUIDGeneratorHelper
extends Object

Helper to generate id for model elements.


Method Summary
 String createUID(EObject modelElement_p)
          Creates an unique id for given model element.
static ModelUIDGeneratorHelper getInstance()
          Get the unique instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createUID

public String createUID(EObject modelElement_p)
Creates an unique id for given model element.

Parameters:
modelElement_p - the object that an identifier is created for.
Returns:
a not null string.

getInstance

public static ModelUIDGeneratorHelper getInstance()
Get the unique instance.

Returns:
a not null instance.

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.