org.eigenbase.jmi
Interface JmiObjUtil.Namer

All Known Implementing Classes:
DdlGenerator.NamerImpl
Enclosing class:
JmiObjUtil

public static interface JmiObjUtil.Namer

Generates a name for a JMI element.

This is an interface because the name often depends upon the details the metamodel, and different applications call for different levels of verbosity. Typically people choose to identify an object by its type and its path to the root element, for example "LocalTable(MYCATALOG.MYSCHEMA.MYTABLE)".


Method Summary
 String getName(RefObject o)
          Returns a string to which identifies a given element to an end-user.
 

Method Detail

getName

String getName(RefObject o)
Returns a string to which identifies a given element to an end-user.

Parameters:
o - Element
Returns:
Descriptor