Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

oracle.apps.fnd.appltest.diagfwk.engine.impl
Class NameValueListImpl

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<NameValue>
              extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.NameValueListImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<NameValue>, java.util.Collection<NameValue>, java.util.List<NameValue>, java.util.RandomAccess, NameValueList

public class NameValueListImpl
extends java.util.ArrayList<NameValue>
implements NameValueList

Since:
release specific (what release of product did this appear in)
Version:
$Header: NameValueListImpl.java 22-oct-2007.21:01:24 ppradhan Exp $
Author:
ppradhan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
NameValueListImpl()
           
 
Method Summary
 void add(java.lang.String pName, java.lang.Object pValue)
          Adds the given name with the givne object value to the list
 void add(java.lang.String pName, java.lang.String pValue)
          Adds the given name and value to the list
 NameValue get(java.lang.String pName)
          Returns a particular NameValue element with the given name
 java.lang.String getValue(java.lang.String pName)
          Returns the value of the given parameter from this list.
 java.lang.String[] getValueArr()
          Returns an array of values for the NameValue instances in this list
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

NameValueListImpl

public NameValueListImpl()
Method Detail

get

public NameValue get(java.lang.String pName)
Description copied from interface: NameValueList
Returns a particular NameValue element with the given name

Specified by:
get in interface NameValueList
Parameters:
pName - name of the name value pair
Returns:
a NameValue instance with the given name

getValue

public java.lang.String getValue(java.lang.String pName)
Description copied from interface: NameValueList
Returns the value of the given parameter from this list. If a NameValue element with the given name is not found, then returns null.

Specified by:
getValue in interface NameValueList
Parameters:
pName - name of the parameter
Returns:
the value of the given parameter from this list. If a NameValue element with the given name is not found, then returns null.

add

public void add(java.lang.String pName,
                java.lang.String pValue)
Description copied from interface: NameValueList
Adds the given name and value to the list

Specified by:
add in interface NameValueList
Parameters:
pName - name of the name value pair
pValue - value of the name value pair

add

public void add(java.lang.String pName,
                java.lang.Object pValue)
Description copied from interface: NameValueList
Adds the given name with the givne object value to the list

Specified by:
add in interface NameValueList
Parameters:
pName - name of the name value pair
pValue - value of the name value pair

getValueArr

public java.lang.String[] getValueArr()
Description copied from interface: NameValueList
Returns an array of values for the NameValue instances in this list

Specified by:
getValueArr in interface NameValueList
Returns:
an array of values for the NameValue instances

Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.