org.eclipse.ocl.examples.common.utils
Class XMIUtils.UUIDCreator

java.lang.Object
  extended by org.eclipse.ocl.examples.common.utils.XMIUtils.UUIDCreator
All Implemented Interfaces:
XMIUtils.IdCreator
Enclosing class:
XMIUtils

public static class XMIUtils.UUIDCreator
extends java.lang.Object
implements XMIUtils.IdCreator

Create xmi:id's comprising a unique universal identifier


Constructor Summary
XMIUtils.UUIDCreator()
           
 
Method Summary
 java.lang.String createId(org.eclipse.emf.ecore.EObject eObject, java.util.Set<java.lang.String> knownIds)
          Create the id for eObject avoiding any ids in knownIds, which may be null for no exclusions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMIUtils.UUIDCreator

public XMIUtils.UUIDCreator()
Method Detail

createId

public java.lang.String createId(org.eclipse.emf.ecore.EObject eObject,
                                 java.util.Set<java.lang.String> knownIds)
Description copied from interface: XMIUtils.IdCreator
Create the id for eObject avoiding any ids in knownIds, which may be null for no exclusions.

Specified by:
createId in interface XMIUtils.IdCreator
Returns: