net.sf.farrago.ddl.gen
Class DdlGenerator.NamerImpl

java.lang.Object
  extended by net.sf.farrago.ddl.gen.DdlGenerator.NamerImpl
All Implemented Interfaces:
JmiObjUtil.Namer
Enclosing class:
DdlGenerator

private static class DdlGenerator.NamerImpl
extends Object
implements JmiObjUtil.Namer

Implementation of JmiObjUtil.Namer which generates names for objects based on their position in the CWM catalog-schema-object hierarchy.

For example, a table's name might be "CATALOG.SALES.EMP (LocalTable)".


Constructor Summary
private DdlGenerator.NamerImpl()
           
 
Method Summary
 String getName(RefObject o)
          Returns a string to which identifies a given element to an end-user.
private  void yy(CwmModelElement modelElement, StringBuilder buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DdlGenerator.NamerImpl

private DdlGenerator.NamerImpl()
Method Detail

getName

public String getName(RefObject o)
Description copied from interface: JmiObjUtil.Namer
Returns a string to which identifies a given element to an end-user.

Specified by:
getName in interface JmiObjUtil.Namer
Parameters:
o - Element
Returns:
Descriptor

yy

private void yy(CwmModelElement modelElement,
                StringBuilder buf)