public class VirtDataSourceImpl extends Object implements VirtDataSource, com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
LOOP_COUNT_PROPERTY, NAME_PROPERTY, TYPE_PROPERTY
DB_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 DataSourceContainer
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
addPropertyChangeListener
in interface DataSourceContainer
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface DataSourceContainer
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
removePropertyChangeListener
in interface DataSourceContainer
public void addProperties(List<String> propertiesToAdd)
addProperties
in interface DataSourceContainer
public void removeProperties(List<String> propertiesToRemove)
removeProperties
in interface DataSourceContainer
public void saveConfig()
saveConfig
in interface VirtDataSource
public com.eviware.soapui.config.VirtDataSourceConfig getConfig()
getConfig
in interface VirtDataSource
public com.eviware.soapui.model.ModelItem getModelItem()
getModelItem
in interface DataSourceContainer
getModelItem
in interface com.eviware.soapui.model.TestPropertyHolder
public void addTestPropertyListener(com.eviware.soapui.model.testsuite.TestPropertyListener listener)
addTestPropertyListener
in interface DataSourceContainer
addTestPropertyListener
in interface com.eviware.soapui.model.TestPropertyHolder
public void removeTestPropertyListener(com.eviware.soapui.model.testsuite.TestPropertyListener listener)
removeTestPropertyListener
in interface DataSourceContainer
removeTestPropertyListener
in interface com.eviware.soapui.model.TestPropertyHolder
public int getPropertyCount()
getPropertyCount
in interface DataSourceContainer
getPropertyCount
in interface com.eviware.soapui.model.TestPropertyHolder
public com.eviware.soapui.support.types.StringList getOrderedPropertyNames()
getOrderedPropertyNames
in interface DataSourceContainer
public boolean repositionAtStartRow(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context) throws Exception
repositionAtStartRow
in interface DataSourceContainer
Exception
public AbstractResourceContainer<DatabaseConnection> getDatabaseConnectionContainer()
getDatabaseConnectionContainer
in interface DataSourceContainer
public String[] getPropertyNames()
getPropertyNames
in interface DataSourceContainer
getPropertyNames
in interface com.eviware.soapui.model.TestPropertyHolder
public com.eviware.soapui.model.testsuite.TestProperty removeProperty(String name)
removeProperty
in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
removeProperty
in interface DataSourceContainer
public boolean renameProperty(String name, String newName)
renameProperty
in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
renameProperty
in interface DataSourceContainer
public String isValidPropertyName(String name)
isValidPropertyName
in interface DataSourceContainer
public void moveProperty(String propertyName, int targetIndex)
moveProperty
in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
moveProperty
in interface DataSourceContainer
public com.eviware.soapui.model.testsuite.TestProperty addProperty(String value)
addProperty
in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
addProperty
in interface DataSourceContainer
public com.eviware.soapui.support.types.StringToStringMap getPreparedProperties()
getPreparedProperties
in interface DataSourceContainer
public void setPreparedProperties(com.eviware.soapui.support.types.StringToStringMap preparedProperties)
setPreparedProperties
in interface DataSourceContainer
public com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder getTestPropertyHolder()
getTestPropertyHolder
in interface DataSourceContainer
public com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase getTestCase()
getTestCase
in interface DataSourceContainer
public com.eviware.soapui.config.DataSourceContainerConfig getDataSourceContainerConfig()
getDataSourceContainerConfig
in interface DataSourceContainer
public DataSource setDataSource(String type)
setDataSource
in interface DataSourceContainer
public String getName()
getName
in interface VirtDataSource
public void setName(String name)
public boolean isTrimValues()
isTrimValues
in interface VirtDataSource
public void setTrimValues(boolean trimValues)
public boolean isEntitizeValues()
isEntitizeValues
in interface VirtDataSource
public void setEntitizeValues(boolean entitizeValues)
public DataSource getDataSource()
getDataSource
in interface DataSourceContainer
getDataSource
in interface VirtDataSource
public void prepare(com.eviware.soapui.model.mock.MockRunner mockRunner, com.eviware.soapui.model.mock.MockRunContext mockRunContext) throws Exception
prepare
in interface VirtDataSource
Exception
public void finish(com.eviware.soapui.model.mock.MockRunner mockRunner, com.eviware.soapui.model.mock.MockRunContext mockRunContext) throws Exception
finish
in interface VirtDataSource
Exception
public void resetLoopCount()
public void release()
release
in interface VirtDataSource
public 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 VirtDataSource
Exception
public void load(com.eviware.soapui.model.mock.MockRunner runner, com.eviware.soapui.model.mock.MockRunContext runContext) throws Exception
load
in interface VirtDataSource
Exception
public int getLoopCount()
getLoopCount
in interface VirtDataSource
protected 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.TestPropertyHolder
public List<com.eviware.soapui.model.testsuite.TestProperty> getPropertyList()
getPropertyList
in interface com.eviware.soapui.model.TestPropertyHolder
public com.eviware.soapui.model.testsuite.TestProperty getPropertyAt(int index)
getPropertyAt
in interface com.eviware.soapui.model.TestPropertyHolder
public String getPropertiesLabel()
getPropertiesLabel
in interface com.eviware.soapui.model.TestPropertyHolder
public void setPropertyValue(String name, String value)
setPropertyValue
in interface com.eviware.soapui.model.TestPropertyHolder
public String getPropertyValue(String name)
getPropertyValue
in interface com.eviware.soapui.model.TestPropertyHolder
public com.eviware.soapui.model.testsuite.TestProperty getProperty(String name)
getProperty
in interface com.eviware.soapui.model.TestPropertyHolder
Copyright © 2019. All rights reserved.