ariba.util.test
Class TestValidationParameterList
java.lang.Object
ariba.util.test.TestValidationParameterList
- All Implemented Interfaces:
- Iterable
public class TestValidationParameterList
- extends Object
- implements Iterable
_currentKey
public String _currentKey
_currentParameterMap
public Map<String,TestValidationParameter> _currentParameterMap
createList
public static TestValidationParameterList createList()
add
public boolean add(TestValidationParameter testValidationParameter)
add
public boolean add(String name,
String value)
add
public boolean add(String name,
String key,
String value)
add
public boolean add(String name,
TestValidationParameterList value)
add
public boolean add(String name,
String key,
TestValidationParameterList value)
getValidationParameters
public TestValidationParameter[] getValidationParameters()
createFlatValidationParameterList
public TestValidationParameter[] createFlatValidationParameterList()
iterator
public Iterator<TestValidationParameter> iterator()
- Specified by:
iterator in interface Iterable
size
public int size()
getParameter
public TestValidationParameter getParameter(int i)
verifyUniqueKeys
public List<String> verifyUniqueKeys()
- Validates that all of the keys are unique including keys within nested lists.
Note that the nested lists keys can collide with keys in the parent or other lists,
however the keys must all be unique for each entry in that list.
- Returns:
- a list of Strings which are the names of the non-unique keys (including parent path delimited by ::. The list will be empty if no problems were found.
createFromListOfParameters
public static TestValidationParameterList createFromListOfParameters(List<TestValidationParameter> list)
listOfKeys
public List<String> listOfKeys()
listOfParameterMaps
public List<Map<String,TestValidationParameter>> listOfParameterMaps()
nameForCurrentKey
public String nameForCurrentKey()
valueForCurrentMapAndKey
public String valueForCurrentMapAndKey()
highlightCurrentValue
public boolean highlightCurrentValue()
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.