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

E22565-02

oracle.apps.fnd.appltest.diagfwk.api
Interface NameValueList

All Superinterfaces:
java.util.Collection<NameValue>, java.lang.Iterable<NameValue>, java.util.List<NameValue>
All Known Implementing Classes:
NameValueListImpl

public interface NameValueList
extends java.util.List<NameValue>

Models a list of NameValue elements.

Since:
release specific (what release of product did this appear in)
Version:
$Header: NameValueList.java 22-oct-2007.20:54:43 ppradhan Exp $
Author:
ppradhan

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 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
 

Method Detail

get

NameValue get(java.lang.String pName)
Returns a particular NameValue element with the given name

Parameters:
pName - name of the name value pair
Returns:
a NameValue instance with the given name

getValue

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

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

void add(java.lang.String pName,
         java.lang.String pValue)
Adds the given name and value to the list

Parameters:
pName - name of the name value pair
pValue - value of the name value pair

add

void add(java.lang.String pName,
         java.lang.Object pValue)
Adds the given name with the givne object value to the list

Parameters:
pName - name of the name value pair
pValue - value of the name value pair

getValueArr

java.lang.String[] getValueArr()
Returns an array of values for the NameValue instances in this list

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.