Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

oracle.apps.fnd.appltest.diagfwk.test.sample.lov
Class SampleDiagTestLOVProvider

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.test.sample.lov.SampleDiagTestLOVProvider
All Implemented Interfaces:
DiagLOVProvider

public class SampleDiagTestLOVProvider
extends java.lang.Object
implements DiagLOVProvider

A Sample LOV Provider that provides data for a LOV of diagnostic tests registered in the test repository. This provider is for illustration purposes only.


Constructor Summary
SampleDiagTestLOVProvider()
           
 
Method Summary
protected  java.lang.Object createLOVRow(java.sql.ResultSet pRs)
           
 java.util.List getData(InputParamContext context)
          Returns the data for this LOV.
 java.util.List<LOVColumn> getLOVColumnList()
          Returns the metadata about the LOV columns in the form of a list of LOVColumn objects
 java.lang.String getNlsBundle()
          Returns the NLS Bundle name for the LOV.
 java.lang.String getValueColumnName()
          Returns the name of the value column for this LOV
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleDiagTestLOVProvider

public SampleDiagTestLOVProvider()
Method Detail

getNlsBundle

public java.lang.String getNlsBundle()
Description copied from interface: DiagLOVProvider
Returns the NLS Bundle name for the LOV. This is generally the class name for a Java Resource Bundle.

Specified by:
getNlsBundle in interface DiagLOVProvider
Returns:
the NLS Bundle name.

getLOVColumnList

public java.util.List<LOVColumn> getLOVColumnList()
Description copied from interface: DiagLOVProvider
Returns the metadata about the LOV columns in the form of a list of LOVColumn objects

Specified by:
getLOVColumnList in interface DiagLOVProvider
Returns:
a list of LOVColumn objects for each column in the LOV.

getValueColumnName

public java.lang.String getValueColumnName()
Description copied from interface: DiagLOVProvider
Returns the name of the value column for this LOV

Specified by:
getValueColumnName in interface DiagLOVProvider
Returns:
the name of the value column for this LOV.

getData

public java.util.List getData(InputParamContext context)
Description copied from interface: DiagLOVProvider
Returns the data for this LOV. The list can be either a list of Java bean objects (with attribute names matching the corresponding column names). This list can also be a list of Map objects with the attributes keyed using the corresponding column names.

Specified by:
getData in interface DiagLOVProvider
Parameters:
context - the context provided by the framework when getting the data for the LOV.
Returns:
the list of data for the LOV.

createLOVRow

protected java.lang.Object createLOVRow(java.sql.ResultSet pRs)
                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.