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

E22565-02

oracle.apps.fnd.appltest.diagfwk.engine.impl
Class TestPrereqImpl

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl<TestPrereq>
      extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.TestPrereqImpl
All Implemented Interfaces:
DiagConstants, DiagBObj<TestPrereq>, TestPrereq

public class TestPrereqImpl
extends DiagBObjImpl<TestPrereq>
implements TestPrereq

Since:
release specific (what release of product did this appear in)
Version:
$Header: atgpf/appltest/applications/Diagnostics/Engine/src/oracle/apps/fnd/appltest/diagfwk/engine/impl/TestPrereqImpl.java /main/10 2008/07/31 11:32:54 cshare Exp $
Author:
ppradhan

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.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
TestPrereqImpl(java.lang.String pPrereqType, java.lang.String pPrereqId)
           
 
Method Summary
 void copy(TestPrereq t)
           
 void copyT(java.lang.Object pObj)
          Copies the contents of the given object into this object
 java.lang.String getActiveFlag()
          Returns the active flag for the parameter
 int getOrder()
          Gets the order for the requisite
 java.lang.String getPrereqId()
          Gets the GUID for the Prerequisite.
 java.lang.String getPrereqTagType()
          Gets the tag type for prerequisite tag valid id if this prerequisite instance is of a tag value id type.
 java.lang.String getPrereqTestDisplayName()
          Gets the display name of the prerequisite test if this prerequisite instance is of a test type.
 java.lang.String getPrereqTestName()
          Gets the name of the prerequisite test if this prerequisite instance is of a test type.
 java.lang.String getPrereqType()
          Gets the type of the prerequisite.
 java.lang.String getSourceTestId()
          Returns the source test ID for which this prereq belongs to
 void setActiveFlag(java.lang.String pActiveFlag)
          Sets the Active flag to indicate whether tag value is active or not.
 void setBaseType(BaseType p)
          Sets the JAXB object type that represents the prerequisite in the test definition metadata
 void setOrder(int pOrder)
          Sets the order for the prequisite
 void setPrereqId(java.lang.String pPrereqId)
          Sets the GUID for the prerequisite.
 void setPrereqTestDisplayName(java.lang.String pPrereqTestName)
          Sets the display name of the prerequisite test if the prerequisite is of test type
 void setPrereqTestName(java.lang.String pPrereqTestName)
          Sets the name of the prerequisite test if the prerequisite is of test type
 void setPrereqType(java.lang.String pPrereqType)
          Sets the prerequisite type
 void setSourceTestId(java.lang.String pSourceTestId)
          Sets the source test ID to which this prerequisite belongs to.
 
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl
copyCommon, getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin
 
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.engine.DiagBObj
getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin
 

Constructor Detail

TestPrereqImpl

public TestPrereqImpl(java.lang.String pPrereqType,
                      java.lang.String pPrereqId)
Method Detail

getOrder

public int getOrder()
Description copied from interface: TestPrereq
Gets the order for the requisite

Specified by:
getOrder in interface TestPrereq
Returns:
the order for the prerequisite

getPrereqId

public java.lang.String getPrereqId()
Description copied from interface: TestPrereq
Gets the GUID for the Prerequisite. This is the Test ID in case of a prereq that is a test or a Tag Value ID in case of a prereq that is tag value.

Specified by:
getPrereqId in interface TestPrereq
Returns:
the GUID for the prerequisite.

getPrereqType

public java.lang.String getPrereqType()
Description copied from interface: TestPrereq
Gets the type of the prerequisite. For example returns "T" for prerequisite that is a test. Returns "V" for a prerequisite that is a tag value.

Specified by:
getPrereqType in interface TestPrereq
Returns:
"T" for prerequisite that is a test. Returns "V" for a prerequisite that is a tag value.

getSourceTestId

public java.lang.String getSourceTestId()
Description copied from interface: TestPrereq
Returns the source test ID for which this prereq belongs to

Specified by:
getSourceTestId in interface TestPrereq
Returns:
the source test ID

getActiveFlag

public java.lang.String getActiveFlag()
Description copied from interface: TestPrereq
Returns the active flag for the parameter

Specified by:
getActiveFlag in interface TestPrereq
Returns:
the active flag for the parameter

setOrder

public void setOrder(int pOrder)
Description copied from interface: TestPrereq
Sets the order for the prequisite

Specified by:
setOrder in interface TestPrereq
Parameters:
pOrder - the order for the prequisite.

setPrereqId

public void setPrereqId(java.lang.String pPrereqId)
Description copied from interface: TestPrereq
Sets the GUID for the prerequisite. This is the Test ID in case of a prereq that is a test or a Tag Value ID in case of a prereq that is tag value.

Specified by:
setPrereqId in interface TestPrereq
Parameters:
pPrereqId - GUID for the prerequisite.

setPrereqType

public void setPrereqType(java.lang.String pPrereqType)
Description copied from interface: TestPrereq
Sets the prerequisite type

Specified by:
setPrereqType in interface TestPrereq
Parameters:
pPrereqType - the prerequisite type

setSourceTestId

public void setSourceTestId(java.lang.String pSourceTestId)
Description copied from interface: TestPrereq
Sets the source test ID to which this prerequisite belongs to.

Specified by:
setSourceTestId in interface TestPrereq
Parameters:
pSourceTestId - source test ID to which this prerequisite belongs to.

setBaseType

public void setBaseType(BaseType p)
Description copied from interface: TestPrereq
Sets the JAXB object type that represents the prerequisite in the test definition metadata

Specified by:
setBaseType in interface TestPrereq
Parameters:
p - JAXB object type that represents the prerequisite in the test definition metadata. This can either be of TestType or TagValueIdType.

getPrereqTestName

public java.lang.String getPrereqTestName()
Description copied from interface: TestPrereq
Gets the name of the prerequisite test if this prerequisite instance is of a test type. Otherwise returns null.

Specified by:
getPrereqTestName in interface TestPrereq
Returns:
the name of the prerequisite test if this prerequisite instance is of a test type. Otherwise returns null.

getPrereqTagType

public java.lang.String getPrereqTagType()
Description copied from interface: TestPrereq
Gets the tag type for prerequisite tag valid id if this prerequisite instance is of a tag value id type. Otherwise returns null.

Specified by:
getPrereqTagType in interface TestPrereq
Returns:
the tag type for prerequisite tag valid id if this prerequisite instance is of a tag value id type. Otherwise returns null.

setActiveFlag

public void setActiveFlag(java.lang.String pActiveFlag)
Description copied from interface: TestPrereq
Sets the Active flag to indicate whether tag value is active or not.

Specified by:
setActiveFlag in interface TestPrereq

setPrereqTestName

public void setPrereqTestName(java.lang.String pPrereqTestName)
Description copied from interface: TestPrereq
Sets the name of the prerequisite test if the prerequisite is of test type

Specified by:
setPrereqTestName in interface TestPrereq
Parameters:
pPrereqTestName - name of the prerequisite test

copy

public void copy(TestPrereq t)
Specified by:
copy in interface TestPrereq
Specified by:
copy in class DiagBObjImpl<TestPrereq>

copyT

public void copyT(java.lang.Object pObj)
Description copied from interface: DiagBObj
Copies the contents of the given object into this object

Specified by:
copyT in interface DiagBObj<TestPrereq>
Parameters:
pObj - the contents of the given object into this object

getPrereqTestDisplayName

public java.lang.String getPrereqTestDisplayName()
Description copied from interface: TestPrereq
Gets the display name of the prerequisite test if this prerequisite instance is of a test type. Otherwise returns null.

Specified by:
getPrereqTestDisplayName in interface TestPrereq
Returns:
the display name of the prerequisite test if this prerequisite instance is of a test type. Otherwise returns null.

setPrereqTestDisplayName

public void setPrereqTestDisplayName(java.lang.String pPrereqTestName)
Description copied from interface: TestPrereq
Sets the display name of the prerequisite test if the prerequisite is of test type

Specified by:
setPrereqTestDisplayName in interface TestPrereq
Parameters:
pPrereqTestName - display name of the prerequisite test

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

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.