ariba.util.test
Class TestValidationParameterList
java.lang.Object
ariba.util.test.TestValidationParameterList
- All Implemented Interfaces:
- java.lang.Iterable
public class TestValidationParameterList
- extends java.lang.Object
- implements java.lang.Iterable
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_currentKey
public java.lang.String _currentKey
_currentParameterMap
public java.util.Map<java.lang.String,TestValidationParameter> _currentParameterMap
createList
public static TestValidationParameterList createList()
add
public boolean add(TestValidationParameter testValidationParameter)
add
public boolean add(java.lang.String name,
java.lang.String value)
add
public boolean add(java.lang.String name,
java.lang.String key,
java.lang.String value)
add
public boolean add(java.lang.String name,
TestValidationParameterList value)
add
public boolean add(java.lang.String name,
java.lang.String key,
TestValidationParameterList value)
getValidationParameters
public TestValidationParameter[] getValidationParameters()
createFlatValidationParameterList
public TestValidationParameter[] createFlatValidationParameterList()
iterator
public java.util.Iterator<TestValidationParameter> iterator()
- Specified by:
iterator
in interface java.lang.Iterable
size
public int size()
getParameter
public TestValidationParameter getParameter(int i)
verifyUniqueKeys
public java.util.List<java.lang.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(java.util.List<TestValidationParameter> list)
listOfKeys
public java.util.List<java.lang.String> listOfKeys()
listOfParameterMaps
public java.util.List<java.util.Map<java.lang.String,TestValidationParameter>> listOfParameterMaps()
nameForCurrentKey
public java.lang.String nameForCurrentKey()
valueForCurrentMapAndKey
public java.lang.String valueForCurrentMapAndKey()
highlightCurrentValue
public boolean highlightCurrentValue()
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.