|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl<TestParam> oracle.apps.fnd.appltest.diagfwk.engine.impl.TestParamImpl
public class TestParamImpl
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 |
---|
Constructor Summary | |
---|---|
TestParamImpl()
|
Method Summary | |
---|---|
void |
copy(TestParam pObj)
Copies contents of the given test parameter object into the current object |
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 |
java.lang.String |
getDefaultValue()
Returns the default value for the parameter. |
java.lang.String |
getDescription()
Returns the description for the parameter |
java.lang.String |
getDisplayName()
Returns the display name for the parameter |
DiagInputValidator |
getInputValidator()
Returns the input validator class for this parameter if one exists. |
java.lang.String |
getInputValidatorClassName()
Returns the name of the Validator class for this parameter if applicable. |
java.lang.String |
getIOFlag()
Returns the I/O type to indicate whether this parameter is input or output parameter |
protected static java.lang.String |
getIOFlag(ParameterDefType p)
Gets the IO flag based on whether the given parameter definition (JAXB) is of input or output type |
boolean |
getIsSecure()
Returns the is secure flag for the parameter. |
java.lang.String |
getLOVColumnHeader(LOVColumn pColumn)
Returns the translated LOV Column Header for the given LOV Column based on the metadata provided by this parameter's LOVProvider. |
java.util.List |
getLOVData(java.lang.Object pCurrentValue)
Invokes the LOV Handler for this parameter (if applicable) and returns the data contents for the LOV. |
java.util.List |
getLOVData(java.lang.Object pCurrentValue,
FilterOperator pCurrentValueFO)
Invokes the LOV Handler for this parameter (if applicable) and returns the data contents for the LOV. |
DiagLOVProvider |
getLOVProvider()
Returns the LOV Provider class for this parameter if one exists. |
java.lang.String |
getLOVProviderClassName()
Returns the name of the LOV Provider Class for this parameter if applicable. |
LOVColumn |
getLOVValueColumn()
Returns the LOV's Value Column if a LOVProvider is defined for this parameter. |
java.lang.String |
getLOVValueColumnHeader()
Returns the translated LOV Column Header for the value column for this parameter's LOVProvider. |
java.lang.String |
getParamName()
Returns the parameter name |
boolean |
getRequired()
Returns the required flag for the parameter. |
java.lang.String |
getTestExtnName()
Gets the extension name for the test to this which this parameter belongs. |
java.lang.String |
getTestId()
Returns the test ID |
java.lang.String |
getType()
Returns the data type for the parameter. |
boolean |
hasInputValidator()
Returns a boolean flag to indicate whether this parameter has a Validator |
boolean |
hasLOVProvider()
Returns a boolean flag to indicate whether this parameter has a LOV Provider. |
boolean |
hasParameterDefMetadata()
Checks to see if the parameter definition metadata exists for this parameter. |
void |
invokeInputValidation(java.lang.Object pCurrentValue)
Invokes the Validator for this parameter (if applicable) using the given current value for the parameter. |
void |
setActiveFlag(java.lang.String pActiveFlag)
Sets the "Active" flag |
void |
setDefaultValue(java.lang.String pDefaultValue)
Sets the default value for this parameter |
void |
setDescription(java.lang.String pDescription)
Sets the description |
void |
setDisplayName(java.lang.String pDisplayName)
Sets the display name for the parameter |
void |
setIOFlag(java.lang.String pIOType)
Sets the IO type |
void |
setParameterDefType(ParameterDefType p)
Sets the corresponding JAXB representation of this parameter |
void |
setParamName(java.lang.String pParamName)
Sets the parameter name |
void |
setTestExtnName(java.lang.String pTestExtnName)
Sets the extension name for the test to this which this parameter belongs. |
void |
setTestId(java.lang.String pTestId)
Sets the test ID |
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 |
---|
public TestParamImpl()
Method Detail |
---|
public java.lang.String getTestId()
TestParam
getTestId
in interface TestParam
public java.lang.String getParamName()
TestParam
getParamName
in interface TestParam
public java.lang.String getIOFlag()
TestParam
getIOFlag
in interface TestParam
public java.lang.String getDisplayName()
TestParam
getDisplayName
in interface TestParam
public java.lang.String getDescription()
TestParam
getDescription
in interface TestParam
public boolean getRequired()
TestParam
getRequired
in interface TestParam
public boolean getIsSecure()
TestParam
getIsSecure
in interface TestParam
public java.lang.String getType()
TestParam
getType
in interface TestParam
public java.lang.String getDefaultValue()
TestParam
getDefaultValue
in interface TestParam
public java.lang.String getActiveFlag()
TestParam
getActiveFlag
in interface TestParam
public void setTestId(java.lang.String pTestId)
TestParam
setTestId
in interface TestParam
pTestId
- the test idpublic void setParamName(java.lang.String pParamName)
TestParam
setParamName
in interface TestParam
pParamName
- the parameter namepublic void setIOFlag(java.lang.String pIOType)
TestParam
setIOFlag
in interface TestParam
pIOType
- the IO typepublic void setDisplayName(java.lang.String pDisplayName)
TestParam
setDisplayName
in interface TestParam
pDisplayName
- the display name for the parameterpublic void setDescription(java.lang.String pDescription)
TestParam
setDescription
in interface TestParam
pDescription
- the descriptionpublic void setParameterDefType(ParameterDefType p)
TestParam
setParameterDefType
in interface TestParam
p
- JAXB object that represents this parameterpublic boolean hasParameterDefMetadata()
TestParam
hasParameterDefMetadata
in interface TestParam
public void setActiveFlag(java.lang.String pActiveFlag)
TestParam
setActiveFlag
in interface TestParam
pActiveFlag
- the "Active" flagprotected static java.lang.String getIOFlag(ParameterDefType p)
p
-
public void copy(TestParam pObj)
TestParam
copy
in interface TestParam
copy
in class DiagBObjImpl<TestParam>
pObj
- source test parameter object to copy from.public void copyT(java.lang.Object pObj)
DiagBObj
copyT
in interface DiagBObj<TestParam>
pObj
- the contents of the given object into this objectpublic void setDefaultValue(java.lang.String pDefaultValue)
TestParam
setDefaultValue
in interface TestParam
pDefaultValue
- the default value for this parameterpublic java.lang.String getLOVProviderClassName()
TestParam
getLOVProviderClassName
in interface TestParam
public java.lang.String getInputValidatorClassName()
TestParam
getInputValidatorClassName
in interface TestParam
public boolean hasLOVProvider()
TestParam
hasLOVProvider
in interface TestParam
public boolean hasInputValidator()
TestParam
hasInputValidator
in interface TestParam
public DiagLOVProvider getLOVProvider()
TestParam
getLOVProvider
in interface TestParam
public DiagInputValidator getInputValidator()
TestParam
getInputValidator
in interface TestParam
public java.util.List getLOVData(java.lang.Object pCurrentValue)
TestParam
getLOVData
in interface TestParam
pCurrentValue
- current value for the value column
public java.util.List getLOVData(java.lang.Object pCurrentValue, FilterOperator pCurrentValueFO)
TestParam
getLOVData
in interface TestParam
pCurrentValue
- current value for the value columnpCurrentValueFO
- current filter operator for the value column
public void invokeInputValidation(java.lang.Object pCurrentValue) throws InputValidationException
TestParam
If a validator is defined, the validator is invoked. Otherwise this method will check if a LOVProvider is defined. If yes, it will verify if the given value exists within the data returned by the LOV Provider.
Validator and LOVProvider classes are loaded using the extension classes loading mechanism. Hence callers can optionally also choose to call setTestExtnName() method prior to calling this method in order to specify the extension name to load the classes from. If the testExtnName attribute is not set at the time of calling this method, any Validator and LOVProvider classes will be loaded by looking at all extensions properties files specified in the extension directory.
invokeInputValidation
in interface TestParam
pCurrentValue
- current value for the parameter to
be validated.
InputValidationException
- when any validation
errors occur.public java.lang.String getLOVColumnHeader(LOVColumn pColumn)
TestParam
getLOVColumnHeader
in interface TestParam
pColumn
- The LOVColumn that represents a
particular column in the LOV for this parameter
public java.lang.String getLOVValueColumnHeader()
TestParam
getLOVValueColumnHeader
in interface TestParam
public LOVColumn getLOVValueColumn()
TestParam
getLOVValueColumn
in interface TestParam
public void setTestExtnName(java.lang.String pTestExtnName)
TestParam
setTestExtnName
in interface TestParam
pTestExtnName
- extension name for the test to which this
parameter belongs.public java.lang.String getTestExtnName()
TestParam
getTestExtnName
in interface TestParam
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |