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

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

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

Create xmi:id's using the same hierarchical/URI fragment algorithm as EMOFResourceImpl


Constructor Summary
XMIUtils.HierachicalENamedElementIdCreator()
           
 
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.HierachicalENamedElementIdCreator

public XMIUtils.HierachicalENamedElementIdCreator()
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