use of org.talend.components.jdbc.runtime.setting.AllSetting in project components by Talend.
the class TJDBCRollbackProperties method getRuntimeSetting.
@Override
public AllSetting getRuntimeSetting() {
AllSetting setting = new AllSetting();
CommonUtils.setReferenceInfo(setting, referencedComponent);
setting.setCloseConnection(this.closeConnection.getValue());
return setting;
}
use of org.talend.components.jdbc.runtime.setting.AllSetting in project components by Talend.
the class TJDBCSPProperties method getRuntimeSetting.
@Override
public AllSetting getRuntimeSetting() {
AllSetting setting = new AllSetting();
CommonUtils.setReferenceInfo(setting, referencedComponent);
CommonUtils.setCommonConnectionInfo(setting, connection);
setting.setSpName(spName.getValue());
setting.setIsFunction(isFunction.getValue());
setting.setReturnResultIn(returnResultIn.getValue());
setting.setSchemaColumns4SPParameters(spParameterTable.schemaColumns.getValue());
setting.setParameterTypes(spParameterTable.parameterTypes.getValue());
setting.setUseDataSource(this.useDataSource.getValue());
setting.setDataSource(this.dataSource.getValue());
return setting;
}
use of org.talend.components.jdbc.runtime.setting.AllSetting in project components by Talend.
the class JDBCOutputPropertiesTest method testGetRuntimeSetting.
@Test
public void testGetRuntimeSetting() {
JDBCOutputProperties fixture = new JDBCOutputProperties("output");
JDBCDatasetProperties dataset = new JDBCDatasetProperties("dataset");
JDBCDatastoreProperties datastore = new JDBCDatastoreProperties("datastore");
datastore.init();
dataset.setDatastoreProperties(datastore);
fixture.setDatasetProperties(dataset);
AllSetting result = fixture.getRuntimeSetting();
assertNotNull(result);
}
use of org.talend.components.jdbc.runtime.setting.AllSetting in project components by Talend.
the class TJDBCClosePropertiesTest method testGetRuntimeSetting.
/**
* Run the AllSetting getRuntimeSetting() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 17-6-20 PM3:14
*/
@Test
public void testGetRuntimeSetting() throws Exception {
TJDBCCloseProperties fixture = new TJDBCCloseProperties("");
AllSetting result = fixture.getRuntimeSetting();
assertNotNull(result);
}
use of org.talend.components.jdbc.runtime.setting.AllSetting in project components by Talend.
the class JDBCConnectionWizardProperties method getRuntimeSetting.
@Override
public AllSetting getRuntimeSetting() {
AllSetting setting = new AllSetting();
CommonUtils.setCommonConnectionInfo(setting, connection);
return setting;
}
Aggregations