public class VirtDataSourceImpl extends Object implements VirtDataSource, com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
LOOP_COUNT_PROPERTY, NAME_PROPERTY, TYPE_PROPERTYDB_PREPARED_PROPERTIES_PROPERTY, DB_PREPARED_PROPERTIES_PROPERTY_SOAP_UI_PRO| Constructor and Description |
|---|
VirtDataSourceImpl(com.eviware.soapui.model.ModelItem modelItem,
com.eviware.soapui.config.VirtDataSourceConfig dataSourceConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperties(List<String> propertiesToAdd) |
com.eviware.soapui.model.testsuite.TestProperty |
addProperty(String value) |
void |
addPropertyChangeListener(PropertyChangeListener listener) |
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
addTestPropertyListener(com.eviware.soapui.model.testsuite.TestPropertyListener listener) |
void |
finish(com.eviware.soapui.model.mock.MockRunner mockRunner,
com.eviware.soapui.model.mock.MockRunContext mockRunContext) |
protected void |
firePropertyAdded(String name) |
protected void |
firePropertyMoved(String name,
int oldIndex,
int newIndex) |
protected void |
firePropertyRemoved(String name) |
protected void |
firePropertyRenamed(String oldName,
String newName) |
com.eviware.soapui.config.VirtDataSourceConfig |
getConfig() |
AbstractResourceContainer<DatabaseConnection> |
getDatabaseConnectionContainer() |
DataSource |
getDataSource() |
com.eviware.soapui.config.DataSourceContainerConfig |
getDataSourceContainerConfig() |
int |
getLoopCount() |
com.eviware.soapui.model.ModelItem |
getModelItem() |
String |
getName() |
com.eviware.soapui.support.types.StringList |
getOrderedPropertyNames() |
com.eviware.soapui.support.types.StringToStringMap |
getPreparedProperties() |
Map<String,com.eviware.soapui.model.testsuite.TestProperty> |
getProperties() |
String |
getPropertiesLabel() |
com.eviware.soapui.model.testsuite.TestProperty |
getProperty(String name) |
com.eviware.soapui.model.testsuite.TestProperty |
getPropertyAt(int index) |
int |
getPropertyCount() |
List<com.eviware.soapui.model.testsuite.TestProperty> |
getPropertyList() |
String[] |
getPropertyNames() |
String |
getPropertyValue(String name) |
com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase |
getTestCase() |
com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder |
getTestPropertyHolder() |
boolean |
hasProperty(String name) |
protected void |
increaseLoopCount() |
boolean |
isEntitizeValues() |
boolean |
isTrimValues() |
String |
isValidPropertyName(String name) |
void |
load(com.eviware.soapui.model.mock.MockRunner runner,
com.eviware.soapui.model.mock.MockRunContext runContext) |
void |
moveProperty(String propertyName,
int targetIndex) |
com.eviware.soapui.support.types.StringToStringMap |
next(com.eviware.soapui.model.mock.MockRunner mockRunner,
com.eviware.soapui.model.mock.MockRunContext mockRunContext) |
void |
prepare(com.eviware.soapui.model.mock.MockRunner mockRunner,
com.eviware.soapui.model.mock.MockRunContext mockRunContext) |
void |
release() |
void |
removeProperties(List<String> propertiesToRemove) |
com.eviware.soapui.model.testsuite.TestProperty |
removeProperty(String name) |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
removeTestPropertyListener(com.eviware.soapui.model.testsuite.TestPropertyListener listener) |
boolean |
renameProperty(String name,
String newName) |
boolean |
repositionAtStartRow(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context) |
void |
resetLoopCount() |
void |
saveConfig() |
DataSource |
setDataSource(String type) |
void |
setEntitizeValues(boolean entitizeValues) |
void |
setName(String name) |
void |
setPreparedProperties(com.eviware.soapui.support.types.StringToStringMap preparedProperties) |
void |
setPropertyValue(String name,
String value) |
void |
setTrimValues(boolean trimValues) |
public VirtDataSourceImpl(com.eviware.soapui.model.ModelItem modelItem,
com.eviware.soapui.config.VirtDataSourceConfig dataSourceConfig)
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in interface DataSourceContainerpublic void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
addPropertyChangeListener in interface DataSourceContainerpublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface DataSourceContainerpublic void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
removePropertyChangeListener in interface DataSourceContainerpublic void addProperties(List<String> propertiesToAdd)
addProperties in interface DataSourceContainerpublic void removeProperties(List<String> propertiesToRemove)
removeProperties in interface DataSourceContainerpublic void saveConfig()
saveConfig in interface VirtDataSourcepublic com.eviware.soapui.config.VirtDataSourceConfig getConfig()
getConfig in interface VirtDataSourcepublic com.eviware.soapui.model.ModelItem getModelItem()
getModelItem in interface DataSourceContainergetModelItem in interface com.eviware.soapui.model.TestPropertyHolderpublic void addTestPropertyListener(com.eviware.soapui.model.testsuite.TestPropertyListener listener)
addTestPropertyListener in interface DataSourceContaineraddTestPropertyListener in interface com.eviware.soapui.model.TestPropertyHolderpublic void removeTestPropertyListener(com.eviware.soapui.model.testsuite.TestPropertyListener listener)
removeTestPropertyListener in interface DataSourceContainerremoveTestPropertyListener in interface com.eviware.soapui.model.TestPropertyHolderpublic int getPropertyCount()
getPropertyCount in interface DataSourceContainergetPropertyCount in interface com.eviware.soapui.model.TestPropertyHolderpublic com.eviware.soapui.support.types.StringList getOrderedPropertyNames()
getOrderedPropertyNames in interface DataSourceContainerpublic boolean repositionAtStartRow(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context)
throws Exception
repositionAtStartRow in interface DataSourceContainerExceptionpublic AbstractResourceContainer<DatabaseConnection> getDatabaseConnectionContainer()
getDatabaseConnectionContainer in interface DataSourceContainerpublic String[] getPropertyNames()
getPropertyNames in interface DataSourceContainergetPropertyNames in interface com.eviware.soapui.model.TestPropertyHolderpublic com.eviware.soapui.model.testsuite.TestProperty removeProperty(String name)
removeProperty in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolderremoveProperty in interface DataSourceContainerpublic boolean renameProperty(String name, String newName)
renameProperty in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolderrenameProperty in interface DataSourceContainerpublic String isValidPropertyName(String name)
isValidPropertyName in interface DataSourceContainerpublic void moveProperty(String propertyName, int targetIndex)
moveProperty in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHoldermoveProperty in interface DataSourceContainerpublic com.eviware.soapui.model.testsuite.TestProperty addProperty(String value)
addProperty in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolderaddProperty in interface DataSourceContainerpublic com.eviware.soapui.support.types.StringToStringMap getPreparedProperties()
getPreparedProperties in interface DataSourceContainerpublic void setPreparedProperties(com.eviware.soapui.support.types.StringToStringMap preparedProperties)
setPreparedProperties in interface DataSourceContainerpublic com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder getTestPropertyHolder()
getTestPropertyHolder in interface DataSourceContainerpublic com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase getTestCase()
getTestCase in interface DataSourceContainerpublic com.eviware.soapui.config.DataSourceContainerConfig getDataSourceContainerConfig()
getDataSourceContainerConfig in interface DataSourceContainerpublic DataSource setDataSource(String type)
setDataSource in interface DataSourceContainerpublic String getName()
getName in interface VirtDataSourcepublic void setName(String name)
public boolean isTrimValues()
isTrimValues in interface VirtDataSourcepublic void setTrimValues(boolean trimValues)
public boolean isEntitizeValues()
isEntitizeValues in interface VirtDataSourcepublic void setEntitizeValues(boolean entitizeValues)
public DataSource getDataSource()
getDataSource in interface DataSourceContainergetDataSource in interface VirtDataSourcepublic void prepare(com.eviware.soapui.model.mock.MockRunner mockRunner,
com.eviware.soapui.model.mock.MockRunContext mockRunContext)
throws Exception
prepare in interface VirtDataSourceExceptionpublic void finish(com.eviware.soapui.model.mock.MockRunner mockRunner,
com.eviware.soapui.model.mock.MockRunContext mockRunContext)
throws Exception
finish in interface VirtDataSourceExceptionpublic void resetLoopCount()
public void release()
release in interface VirtDataSourcepublic com.eviware.soapui.support.types.StringToStringMap next(com.eviware.soapui.model.mock.MockRunner mockRunner,
com.eviware.soapui.model.mock.MockRunContext mockRunContext)
throws Exception
next in interface VirtDataSourceExceptionpublic void load(com.eviware.soapui.model.mock.MockRunner runner,
com.eviware.soapui.model.mock.MockRunContext runContext)
throws Exception
load in interface VirtDataSourceExceptionpublic int getLoopCount()
getLoopCount in interface VirtDataSourceprotected void increaseLoopCount()
protected void firePropertyAdded(String name)
protected void firePropertyRemoved(String name)
protected void firePropertyMoved(String name, int oldIndex, int newIndex)
public boolean hasProperty(String name)
hasProperty in interface com.eviware.soapui.model.TestPropertyHolderpublic List<com.eviware.soapui.model.testsuite.TestProperty> getPropertyList()
getPropertyList in interface com.eviware.soapui.model.TestPropertyHolderpublic com.eviware.soapui.model.testsuite.TestProperty getPropertyAt(int index)
getPropertyAt in interface com.eviware.soapui.model.TestPropertyHolderpublic String getPropertiesLabel()
getPropertiesLabel in interface com.eviware.soapui.model.TestPropertyHolderpublic void setPropertyValue(String name, String value)
setPropertyValue in interface com.eviware.soapui.model.TestPropertyHolderpublic String getPropertyValue(String name)
getPropertyValue in interface com.eviware.soapui.model.TestPropertyHolderpublic com.eviware.soapui.model.testsuite.TestProperty getProperty(String name)
getProperty in interface com.eviware.soapui.model.TestPropertyHolderCopyright © 2019. All rights reserved.