com.im.df.api 5.9

com.im.df.api.support
Class DerivedNames

java.lang.Object
  extended by com.im.df.api.support.DerivedNames

public class DerivedNames
extends Object

This class provides a helper, that can generate default names for DIF items. Create an instance of it for each name you want to generate, then call createXXX method.


Method Summary
 String createEntityName(String tableName)
           
 String createFieldName(String columnName, DFEntity parent)
           
 String createRelationshipName(String fkName)
           
static DerivedNames getInstance(DFSchema schema)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DerivedNames getInstance(DFSchema schema)

createEntityName

public String createEntityName(String tableName)

createFieldName

public String createFieldName(String columnName,
                              DFEntity parent)

createRelationshipName

public String createRelationshipName(String fkName)

com.im.df.api 5.9