| java.lang.Object org.dbunit.dataset.AbstractDataSet org.dbunit.dataset.ReplacementDataSet
ReplacementDataSet | public class ReplacementDataSet extends AbstractDataSet (Code) | | Decorator that replace configured values from the decorated dataset
with replacement values.
author: Manuel Laflamme since: Mar 17, 2003 version: $Revision: 554 $ |
Constructor Summary | |
public | ReplacementDataSet(IDataSet dataSet) Create a new ReplacementDataSet object that decorates the specified dataset. | public | ReplacementDataSet(IDataSet dataSet, Map objectMap, Map substringMap) Create a new ReplacementDataSet object that decorates the specified dataset. |
ReplacementDataSet | public ReplacementDataSet(IDataSet dataSet)(Code) | | Create a new ReplacementDataSet object that decorates the specified dataset.
Parameters: dataSet - the decorated table |
ReplacementDataSet | public ReplacementDataSet(IDataSet dataSet, Map objectMap, Map substringMap)(Code) | | Create a new ReplacementDataSet object that decorates the specified dataset.
Parameters: dataSet - the decorated dataset Parameters: objectMap - the replacement objects mapping Parameters: substringMap - the replacement substrings mapping |
addReplacementObject | public void addReplacementObject(Object originalObject, Object replacementObject)(Code) | | Add a new Object replacement mapping.
Parameters: originalObject - the object to replace Parameters: replacementObject - the replacement object |
addReplacementSubstring | public void addReplacementSubstring(String originalSubstring, String replacementSubstring)(Code) | | Add a new substring replacement mapping.
Parameters: originalSubstring - the substring to replace Parameters: replacementSubstring - the replacement substring |
setSubstringDelimiters | public void setSubstringDelimiters(String startDelimiter, String endDelimiter)(Code) | | Sets substring delimiters.
|
|
|