org.apache.tuscany.das.rdb
Class ConfigHelper
java.lang.Object
org.apache.tuscany.das.rdb.ConfigHelper
public class ConfigHelper
- extends java.lang.Object
A ConfigHelper is used as an aid in programmatic construction of Config instances.
Manual contrution fo COnfig is an alternative to providing needed configuration
information in an XML file
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigHelper
public ConfigHelper()
ConfigHelper
public ConfigHelper(Config config)
newInstance
public Config newInstance()
addPrimaryKey
public void addPrimaryKey(java.lang.String columnName)
addRelationship
public void addRelationship(java.lang.String parentName,
java.lang.String childName)
addTable
public void addTable(java.lang.String name,
java.lang.String propertyName)
getConfig
public Config getConfig()
-