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 LabelExtnImpl

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.report.ContainerExtnImpl
      extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.report.LabelExtnImpl
All Implemented Interfaces:
Container, Label, ReportConstants, DiagConstants, ContainerExtn, LabelExtn
Direct Known Subclasses:
HeaderExtnImpl, MessageExtnImpl

public class LabelExtnImpl
extends ContainerExtnImpl
implements LabelExtn

In most cases one of this class's descendents will be created. Known descendents Header, Message


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
LabelExtnImpl()
          Defalut constructor create a JAXB object to store the data
 
Method Summary
 void addToken(NameValue pToken)
          Adds the given token to the list of tokens to be used when translating the text for this label.
 void addTokens(java.util.List<NameValue> pTokens)
          Adds the given list of tokens to the list of tokens to be used when translating the text for this label.
protected  void fillJAXBMetadataObj(LabelType pObj)
           
 java.lang.String getDefault()
          Gets the default text for this label.
 LabelType getJAXBMetadataObj()
          Returns the underlying JAXB LabelType object
 java.lang.String getNlsBundle()
          Gets the NLS bundle for this label.
 java.lang.String getNlsKey()
          Gets the NLS key for this label.
 NameValueList getTokens()
          Gets the list of tokens for this label.
 void setDefault(java.lang.String pDefault)
          Sets the default text for this label
 void setJAXBMetadataObj(LabelType pObj)
          Sets the given underlying JAXB LabelType object
 void setNlsBundle(java.lang.String pNlsBundle)
          Sets the NLS bundle for this label.
 void setNlsBundleXliff(java.lang.String pNlsBundle)
          set the NLS bundle for Xliff resource bundle
 void setNlsKey(java.lang.String pNlsKey)
          Sets the NLS key for this label.
 void setNlsKey(java.lang.String pAppCode, java.lang.String pMsgName)
          Sets the NLS key using the given App code and message name.
 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

LabelExtnImpl

public LabelExtnImpl()
Defalut constructor create a JAXB object to store the data

Method Detail

getJAXBMetadataObj

public LabelType getJAXBMetadataObj()
Description copied from interface: LabelExtn
Returns the underlying JAXB LabelType object

Specified by:
getJAXBMetadataObj in interface ContainerExtn
Specified by:
getJAXBMetadataObj in interface LabelExtn
Returns:
the internal JAXB LabelType object

fillJAXBMetadataObj

protected void fillJAXBMetadataObj(LabelType pObj)

setJAXBMetadataObj

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

Specified by:
setJAXBMetadataObj in interface LabelExtn
Parameters:
pObj - the JAXB LabelType object that will replace the local one

setNlsKey

public void setNlsKey(java.lang.String pNlsKey)
Description copied from interface: Label
Sets the NLS key for this label.

Specified by:
setNlsKey in interface Label
Parameters:
pNlsKey - the language lookup key to find the display string

setNlsKey

public void setNlsKey(java.lang.String pAppCode,
                      java.lang.String pMsgName)
Description copied from interface: Label
Sets the NLS key using the given App code and message name. The resulting NLS key is for the format [appcode]:::[messagename] This API is intended for clients who are using the FND Message Service as the NLS Bundle for their test reports.

Specified by:
setNlsKey in interface Label
Parameters:
pAppCode - Application short name
pMsgName - Name of the message

setNlsBundle

public void setNlsBundle(java.lang.String pNlsBundle)
Description copied from interface: Label
Sets the NLS bundle for this label.

Specified by:
setNlsBundle in interface Label
Parameters:
pNlsBundle -

setNlsBundleXliff

public void setNlsBundleXliff(java.lang.String pNlsBundle)
set the NLS bundle for Xliff resource bundle

Specified by:
setNlsBundleXliff in interface Label
Parameters:
pNlsBundle -

setDefault

public void setDefault(java.lang.String pDefault)
Description copied from interface: Label
Sets the default text for this label

Specified by:
setDefault in interface Label
Parameters:
pDefault - string to be displayed if no Nls values are set or found

addToken

public void addToken(NameValue pToken)
Description copied from interface: Label
Adds the given token to the list of tokens to be used when translating the text for this label.

Specified by:
addToken in interface Label
Parameters:
pToken - a NameValue object to be added to the Token list

addTokens

public void addTokens(java.util.List<NameValue> pTokens)
Description copied from interface: Label
Adds the given list of tokens to the list of tokens to be used when translating the text for this label.

Specified by:
addTokens in interface Label
Parameters:
pTokens - a list of NaveValue objects to be added

getNlsKey

public java.lang.String getNlsKey()
Description copied from interface: Label
Gets the NLS key for this label.

Specified by:
getNlsKey in interface Label
Returns:
the Nls key for language lookup

getNlsBundle

public java.lang.String getNlsBundle()
Description copied from interface: Label
Gets the NLS bundle for this label.

Specified by:
getNlsBundle in interface Label
Returns:
the Nls bundle to use

getDefault

public java.lang.String getDefault()
Description copied from interface: Label
Gets the default text for this label.

Specified by:
getDefault in interface Label
Returns:
the default text to use

getTokens

public NameValueList getTokens()
Description copied from interface: Label
Gets the list of tokens for this label.

Specified by:
getTokens in interface Label
Returns:
a list of NameValue objects

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.