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 SectionExtnImpl

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

public class SectionExtnImpl
extends ContainerExtnImpl
implements SectionExtn


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
SectionExtnImpl()
           
 
Method Summary
 void addErrorInfo(ErrorInfo pErrInfo)
          Adds an error to this section
 void addMsg(Message pMsg)
          Adds an individual message to this section
 void addMsgList(MsgList pList)
          Adds a list of messages to this section
 void addSection(Section pSection)
          Adds another section to this section
 void addTable(Table pTable)
          Adds a table to this section
protected static void copy(ErrInfoType pSource, ErrInfoType pTarget)
           
protected static void copy(ListType pSource, ListType pTarget)
           
protected static void copy(TableType pSource, TableType pTarget)
           
 void fillJAXBMetadataObj(SectionType pObj)
           
 java.util.List<Container> getContents()
          Gets the contents of this section namely, any tables, lists or messages that were added to this section
 java.util.List<ErrorInfo> getErrorInfo()
          Gets the list of errors in this section.
 DescriptiveHeader getHeader()
          Gets the header for this section.
 SectionType getJAXBMetadataObj()
          Returns the underlying JAXB SectionType object
 void setHeader(DescriptiveHeader pHeader)
          Sets the header for this section
 void setJAXBMetadataObj(SectionType pObj)
          Sets the given underlying JAXB SectionType object
 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

SectionExtnImpl

public SectionExtnImpl()
Method Detail

setHeader

public void setHeader(DescriptiveHeader pHeader)
Sets the header for this section

Specified by:
setHeader in interface Section
Parameters:
pHeader - the header for this section

addTable

public void addTable(Table pTable)
Adds a table to this section

Specified by:
addTable in interface Section
Parameters:
pTable - a table to be added to this section

addMsgList

public void addMsgList(MsgList pList)
Adds a list of messages to this section

Specified by:
addMsgList in interface Section
Parameters:
pList - a list of messages

addMsg

public void addMsg(Message pMsg)
Adds an individual message to this section

Specified by:
addMsg in interface Section
Parameters:
pMsg - a message

copy

protected static void copy(ListType pSource,
                           ListType pTarget)

copy

protected static void copy(TableType pSource,
                           TableType pTarget)

copy

protected static void copy(ErrInfoType pSource,
                           ErrInfoType pTarget)

addErrorInfo

public void addErrorInfo(ErrorInfo pErrInfo)
Adds an error to this section

Specified by:
addErrorInfo in interface Section
Parameters:
pErrInfo - an error information

addSection

public void addSection(Section pSection)
Adds another section to this section

Specified by:
addSection in interface Section
Parameters:
pSection - a sub section to be added to this section

getHeader

public DescriptiveHeader getHeader()
Gets the header for this section.

Specified by:
getHeader in interface Section
Returns:
the header for this section

getErrorInfo

public java.util.List<ErrorInfo> getErrorInfo()
Gets the list of errors in this section. Includes errors that may have been logged within table cells as well.

Specified by:
getErrorInfo in interface Section
Returns:
the list of errors in this section

getContents

public java.util.List<Container> getContents()
Gets the contents of this section namely, any tables, lists or messages that were added to this section

Specified by:
getContents in interface Section
Returns:
the contents of this section namely, any tables, lists or messages that were added to this section

getJAXBMetadataObj

public SectionType getJAXBMetadataObj()
Returns the underlying JAXB SectionType object

Specified by:
getJAXBMetadataObj in interface ContainerExtn
Specified by:
getJAXBMetadataObj in interface SectionExtn
Returns:
the underlying JAXB SectionType object for this report

fillJAXBMetadataObj

public void fillJAXBMetadataObj(SectionType pObj)

setJAXBMetadataObj

public void setJAXBMetadataObj(SectionType pObj)
Sets the given underlying JAXB SectionType object

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

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.

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

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.