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

E22565-02

oracle.apps.fnd.appltest.diagfwk.engine.impl.report
Class TableExtnImpl

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.report.ContainerExtnImpl
      extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.report.TableExtnImpl
All Implemented Interfaces:
Container, ReportConstants, Table, DiagConstants, ContainerExtn, TableExtn

public class TableExtnImpl
extends ContainerExtnImpl
implements TableExtn


Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status
 
Field Summary
 
Fields inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.ReportConstants
ERROR_TYPE_DIAG, ERROR_TYPE_EXEC, MSG_ATTENTION, MSG_NORMAL, SEVERITY_CRITICAL, SEVERITY_WARNING
 
Fields inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants
APPS_MSG_ID_TAG_NAME, CFG_ADR_PROVIDER_CLASS, CFG_CACHE_PROVIDER_CLASS, CFG_CRED_PROVIDER_CLASS, CFG_DAO_FACTORY_CLASS, CFG_DB_CONN_INFO_PROVIDER_CLASS, CFG_DB_CONN_PROVIDER_CLASS, CFG_NLS_PROVIDER_CLASS, CFG_PLSQL_PROVIDER_CLASS, CFG_PROFILE_PROVIDER_CLASS, CFG_SECURITY_PROVIDER_CLASS, CFG_SESSION_INFO_PROVIDER_CLASS, CFG_URL_PROVIDER_FACTORY_CLASS, CFG_WLS_MBEANSRV_CONNINFO_PROVIDER_CLASS, DATA_SECURITY_PERMISSION_ALLOWED, DATA_SECURITY_PERMISSION_NOT_ALLOWED, DELIM_URL, EXEC_MODE_CLI, EXEC_MODE_ESS, EXEC_MODE_INCIDENT, EXEC_MODE_JAVA, EXEC_MODE_UI, EXECUTABLE_TYPE_JAVA, EXECUTABLE_TYPE_PLSQL, EXECUTABLE_TYPE_TESTREF, FORMAT_HTML, FORMAT_XML, GUID_ORACLE_MINUS1, GUID_ORACLE_ZERO, INPUTS_STATUS_ALL_OPT_INPUTS, INPUTS_STATUS_NO_INPUTS, INPUTS_STATUS_REQ_INPUTS_NO_DEFAULTS, INPUTS_STATUS_REQ_INPUTS_W_DEFAULTS, IO_FLAG_I, IO_FLAG_O, JMX_API_BASE_OBJECT_NAME, LINK_EXTERNAL, LINK_INTERNAL, LINK_METALINK, N, NLS_BUNDLE_JAVA_RES, NLS_BUNDLE_MSG_SVC, NLS_BUNDLE_RES_REF, NLS_BUNDLE_XLIFF, NO, NULL, ODF_MBEAN_DOMAIN_NAME, PARAM_MON_INTERVAL, PLSQL_DEBUG_ENABLED_SYSTEM_PROP, PREREQ_TYPE_TAG_VALUE, PREREQ_TYPE_TEST, SECONDS_IN_ONE_DAY, SECONDS_IN_ONE_HOUR, STATUS_CANCELED, STATUS_EXECERROR, STATUS_FAILURE, STATUS_RUNNING, STATUS_SUCCESS, STATUS_WARNING, SYS_PROP_MAX_MONITOR_INTERNVAL, SYS_PROP_MAX_NUM_THREADS, SYSPROP_APPCONNFILE, SYSPROP_DIAG_CONFIG_FILE, TAG_TYPE_DIAG, TAG_TYPE_TAXONOMY, TEST_TYPE_DECL, TEST_TYPE_JAVA, USER_NAME, WEB_APP_NAME_TAG_NAME, Y, YES
 
Constructor Summary
TableExtnImpl()
          Default constructor
 
Method Summary
 void addColumnHeader(Header pColHeader)
          If ColumnHeaders don't exist create one
 void addColumnHeaders(java.util.List<Header> pColHeaders)
          Adds the given list of column headers to the table
 void addTableRow(TableRow pRow)
          If RowSet does not exist
 void fillJAXBMetadataObj(TableType pObj)
           
 java.util.List<Header> getColumnHeaders()
          Gets the list of column headers for this table.
 ErrorInfo getError()
          Gets the Error associated with this table
 java.util.List<ErrorInfo> getErrorInfoList()
          Gets the list of errors that were logged in this table (if any).
 TableType getJAXBMetadataObj()
          Returns the underlying JAXB TableType object
 java.lang.String getSQL()
          Gets the SQL statement that was used to generate the contents of this table
 SummaryInfo getSummary()
          Gets the Summary of the table contents
 Header getTableHeader()
          Gets the table header.
 java.util.List<TableRow> getTableRows()
          Gets the list of rows in this table
 void setError(ErrorInfo pError)
          Sets the ErrorInfo for this table (Optional)
 void setJAXBMetadataObj(TableType pObj)
          Sets the given underlying JAXB TableType object
 void setSQL(java.lang.String pSQL)
          Sets the SQL statement that was used to generate the contents of this table (Optional)
 void setSummary(SummaryInfo pSummary)
          Sets the SummaryInfo for this table (Optional)
 void setTableHeader(Header pHeader)
          Sets the header for the table.
 void visitAll(ReportVisitor pVisitor)
          Visits all elements within this element and invokes the visitContainer() callback method on the visitor for each child ement visited.
 
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.report.ContainerExtnImpl
copy, copy, fillJAXBMetadataObj, getMask, getObjectFactory, setJAXBMetadataObj, setMask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.Container
getMask, setMask
 

Constructor Detail

TableExtnImpl

public TableExtnImpl()
Default constructor

Method Detail

getJAXBMetadataObj

public TableType getJAXBMetadataObj()
Description copied from interface: TableExtn
Returns the underlying JAXB TableType object

Specified by:
getJAXBMetadataObj in interface ContainerExtn
Specified by:
getJAXBMetadataObj in interface TableExtn
Returns:
the underlying JAXB TableType object for this report

fillJAXBMetadataObj

public void fillJAXBMetadataObj(TableType pObj)

setJAXBMetadataObj

public void setJAXBMetadataObj(TableType pObj)
Description copied from interface: TableExtn
Sets the given underlying JAXB TableType object

Specified by:
setJAXBMetadataObj in interface TableExtn
Parameters:
pObj - the underlying JAXB TableType object for this report

setTableHeader

public void setTableHeader(Header pHeader)
Description copied from interface: Table
Sets the header for the table.

Specified by:
setTableHeader in interface Table
Parameters:
pHeader - the header for the table.

setSQL

public void setSQL(java.lang.String pSQL)
Description copied from interface: Table
Sets the SQL statement that was used to generate the contents of this table (Optional)

Specified by:
setSQL in interface Table
Parameters:
pSQL - SQL statement that was used to generate the contents of this table if relevant.

addColumnHeader

public void addColumnHeader(Header pColHeader)
If ColumnHeaders don't exist create one

Specified by:
addColumnHeader in interface Table
Parameters:
pColHeader - add a header to the ColumnHeaders

addColumnHeaders

public void addColumnHeaders(java.util.List<Header> pColHeaders)
Description copied from interface: Table
Adds the given list of column headers to the table

Specified by:
addColumnHeaders in interface Table
Parameters:
pColHeaders - the list of column headers to be added to the table.

addTableRow

public void addTableRow(TableRow pRow)
If RowSet does not exist

Specified by:
addTableRow in interface Table
Parameters:
pRow -

getTableHeader

public Header getTableHeader()
Description copied from interface: Table
Gets the table header.

Specified by:
getTableHeader in interface Table
Returns:
the table header.

getSQL

public java.lang.String getSQL()
Description copied from interface: Table
Gets the SQL statement that was used to generate the contents of this table

Specified by:
getSQL in interface Table
Returns:
the SQL statement that was used to generate the contents of this table. Returns null if SQL is not set.

getColumnHeaders

public java.util.List<Header> getColumnHeaders()
Description copied from interface: Table
Gets the list of column headers for this table.

Specified by:
getColumnHeaders in interface Table
Returns:
the list of column headers for this table.

getTableRows

public java.util.List<TableRow> getTableRows()
Description copied from interface: Table
Gets the list of rows in this table

Specified by:
getTableRows in interface Table
Returns:
the list of rows in this table.

getErrorInfoList

public java.util.List<ErrorInfo> getErrorInfoList()
Description copied from interface: TableExtn
Gets the list of errors that were logged in this table (if any).

Specified by:
getErrorInfoList in interface TableExtn
Returns:
the list of errors that were logged in this table.

visitAll

public void visitAll(ReportVisitor pVisitor)
Description copied from class: ContainerExtnImpl
Visits all elements within this element and invokes the visitContainer() callback method on the visitor for each child ement visited.

Specified by:
visitAll in class ContainerExtnImpl
Parameters:
pVisitor - visitor class to be invoked for each child element visited.

setSummary

public void setSummary(SummaryInfo pSummary)
Description copied from interface: Table
Sets the SummaryInfo for this table (Optional)

Specified by:
setSummary in interface Table
Parameters:
pSummary - SummaryInfo that contains the summary of this table.

setError

public void setError(ErrorInfo pError)
Description copied from interface: Table
Sets the ErrorInfo for this table (Optional)

Specified by:
setError in interface Table
Parameters:
pError - ErrorInfo that contains the error information associated with this table.

getSummary

public SummaryInfo getSummary()
Description copied from interface: Table
Gets the Summary of the table contents

Specified by:
getSummary in interface Table
Returns:
the SummaryInfo that contains the summary of the contents of this table. Returns null if SummaryInfo is not set.

getError

public ErrorInfo getError()
Description copied from interface: Table
Gets the Error associated with this table

Specified by:
getError in interface Table
Returns:
the ErrorInfo associated with this table. Returns null if ErrorInfo is not set.

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

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.