Oracle Fusion Middleware extensions for XML based Datamodel Framework
11g Release 1 (11.1.1.6)

E22566-04

oracle.apps.fnd.applxdf.comp
Class Parameters

java.lang.Object
  extended by oracle.apps.fnd.applxdf.comp.Parameters

public class Parameters
extends java.lang.Object

Handling of Input parameters

Author:
Guoqiang Su <Guoqiang.Su@oracle.com>

Constructor Summary
Parameters()
          Constructor.
 
Method Summary
 void addToCommentBuffer(java.lang.String st)
          Add the string to comment buffer.
 void alterSessionNlsSemantics(java.sql.Connection mConnection)
           
 void boundaryCheck(java.lang.String nameStr, java.lang.StringBuffer data, int maxLength)
          check whether data is too long.
 void closeConnection()
          Close the connection to DB.
protected  void establishConnection(java.sql.Connection conn)
          Establish the connection to the DB.
 java.util.ArrayList getAppOwnerNameVec()
          Get apps owner name vec.
 java.sql.Connection getAppsConnection()
          Returns the apps connection.
 java.lang.String getAppShortName()
          Get apps shoort name.
 java.lang.String getAppsUserName()
          Get the apps user name.
 java.lang.String getBaseObjectType()
          Get the base object type.
 boolean getBootstrap()
          Get the bootstrap.
 java.lang.String getCachedTablespace()
          Get the cached tablespace.
 boolean getChangeDb()
          Get the value to change DB or not.
 java.lang.String getCommentSt()
          Get the comment string.
 int getDbVersion()
          Get the db version.
 int getDbVersion(java.sql.Connection conn)
          Get the db version.
 int getDebugLevel()
          Get the debugLevel
 java.util.ArrayList getDeferedList()
          Get defered list.
 boolean getDfrindex()
          Get the dfrindex flag.
 java.util.ArrayList getDropCrList()
          Get dropcrlist.
 int getExitCode()
          Get the exit code.
 boolean getForceMode()
          Get the forceMode parameter
 boolean getFromJdev()
          Get the from JDev flag.
 java.lang.String getJDBCConStr()
          Get the JDBC connectString
 java.lang.String getLogFile()
          Get the log file.
 java.lang.String getLogFileFormat()
          Get the log file format.
 boolean getMstandalone()
          Get the mstandalone flag.
 java.lang.String getObjectType()
          Get the object type.
 java.lang.String getParallelIndexMode()
          Get parallel index mode
 long getParallelIndexThreshold()
          Get parallel index threshold.
 java.lang.String getProtocol()
          Get the JDBC connectString Protocol
 java.lang.String getRuntimeSchema()
          Get the runtime schema parameter value.
 java.lang.String getSchemaName()
          Get the schema name.
 java.lang.String getSchemaUserName()
          Get the schema user name.
 boolean getSkipSynonym()
          Get the skip synonym parameter
 boolean getStandalone()
          Get the stand alone value.
 java.lang.String getSXMLFile()
          Get the XML file.
 java.lang.String getSynonymQuerySchema()
          Get the synonym query schema.
 java.lang.String getTSpaceConfigPath()
          Get the tspace Config path.
 java.lang.String getXSLPath()
          Get the XSL path.
 boolean isEditionView()
          Get the edition view choice value.
 boolean isNoErr()
          Get no_error parameter.
 boolean isNoLogging()
          Get idxnolog parameter.
 boolean isSchemaSeparation()
          Get the separation parameter value.
 void parseInputArgs(java.lang.String[] args)
          Parse the input arguments.
 void setAppShortName(java.lang.String appShortName)
          Set the apps short name.
 void setBaseObjectType(java.lang.String baseObjectType)
          Set the base object type.
 void setCachedTablespace(java.lang.String cachedTablespace)
          Set the cached tablespace.
 void setEditionView(boolean bValue)
          Set the edition view choice value.
 void setExitCode(int theExitCode)
          Set the exit code.
protected  void setLogger(XDFLogger logger)
          Set the logger for the class.
 void setObjectType(java.lang.String objectType)
          Set the object type.
 java.lang.String usageNotes()
          Usage note of the xdf comparison utility.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameters

public Parameters()
Constructor.

Method Detail

boundaryCheck

public void boundaryCheck(java.lang.String nameStr,
                          java.lang.StringBuffer data,
                          int maxLength)
                   throws java.lang.Exception
check whether data is too long.

Parameters:
nameStr - Variable name
data - data to be check
maxLength - data's maxlength
Throws:
java.lang.Exception - when there is issue with data

parseInputArgs

public void parseInputArgs(java.lang.String[] args)
                    throws java.lang.Exception
Parse the input arguments.

Parameters:
args - arguments array
Throws:
java.lang.Exception - when there is issue with the parameters

setLogger

protected void setLogger(XDFLogger logger)
Set the logger for the class.

Parameters:
logger - XDFLogger instance

establishConnection

protected void establishConnection(java.sql.Connection conn)
                            throws java.lang.Exception
Establish the connection to the DB.

Parameters:
conn - pass in existing connection
Throws:
java.lang.Exception

closeConnection

public void closeConnection()
                     throws java.lang.Exception
Close the connection to DB.

Throws:
java.lang.Exception

getAppsConnection

public java.sql.Connection getAppsConnection()
Returns the apps connection.

Returns:
apps connection

getChangeDb

public boolean getChangeDb()
Get the value to change DB or not.

Returns:
true if needed to change DB

getStandalone

public boolean getStandalone()
Get the stand alone value.

Returns:
stand alone value

getObjectType

public java.lang.String getObjectType()
Get the object type.

Returns:
object type

setObjectType

public void setObjectType(java.lang.String objectType)
Set the object type.

Parameters:
objectType -

getSXMLFile

public java.lang.String getSXMLFile()
Get the XML file.

Returns:
XML file string

getXSLPath

public java.lang.String getXSLPath()
Get the XSL path.

Returns:
XSL path

getTSpaceConfigPath

public java.lang.String getTSpaceConfigPath()
Get the tspace Config path.

Returns:
tspace config path

getLogFile

public java.lang.String getLogFile()
Get the log file.

Returns:
log file

getLogFileFormat

public java.lang.String getLogFileFormat()
Get the log file format.

Returns:
log file format

getSchemaUserName

public java.lang.String getSchemaUserName()
Get the schema user name.

Returns:
schema user name

getAppsUserName

public java.lang.String getAppsUserName()
Get the apps user name.

Returns:
apps user name

getSchemaName

public java.lang.String getSchemaName()
Get the schema name.

Returns:
schema name

getDbVersion

public int getDbVersion(java.sql.Connection conn)
Get the db version.

Parameters:
conn - connection to the db
Returns:
db version

getDbVersion

public int getDbVersion()
Get the db version.

Returns:
db version

getForceMode

public boolean getForceMode()
Get the forceMode parameter

Returns:
forceMode

getSkipSynonym

public boolean getSkipSynonym()
Get the skip synonym parameter

Returns:
db version

getAppShortName

public java.lang.String getAppShortName()
Get apps shoort name.

Returns:
apps short name

setAppShortName

public void setAppShortName(java.lang.String appShortName)
Set the apps short name.

Parameters:
appShortName - apps short name

getAppOwnerNameVec

public java.util.ArrayList getAppOwnerNameVec()
Get apps owner name vec.

Returns:
apps owner name vec

getSynonymQuerySchema

public java.lang.String getSynonymQuerySchema()
Get the synonym query schema.

Returns:
synonym query schema

getExitCode

public int getExitCode()
Get the exit code.

Returns:
exit code

setExitCode

public void setExitCode(int theExitCode)
Set the exit code.

Parameters:
theExitCode - exit code

addToCommentBuffer

public void addToCommentBuffer(java.lang.String st)
Add the string to comment buffer.

Parameters:
st - message string

getCommentSt

public java.lang.String getCommentSt()
Get the comment string.

Returns:
comment string

getParallelIndexMode

public java.lang.String getParallelIndexMode()
Get parallel index mode

Returns:
parallel index mode

getParallelIndexThreshold

public long getParallelIndexThreshold()
Get parallel index threshold.

Returns:
parallel index threshold

getDeferedList

public java.util.ArrayList getDeferedList()
Get defered list.

Returns:
defered list

getDropCrList

public java.util.ArrayList getDropCrList()
Get dropcrlist.

Returns:
dropcrlist

getBootstrap

public boolean getBootstrap()
Get the bootstrap.

Returns:
bootstrap

getFromJdev

public boolean getFromJdev()
Get the from JDev flag.

Returns:
true if called from JDev

getDfrindex

public boolean getDfrindex()
Get the dfrindex flag.

Returns:
true if index comparison will not be processed when the deferred value in meadata is true

getMstandalone

public boolean getMstandalone()
Get the mstandalone flag.

Returns:
the mstandalone flag

getCachedTablespace

public java.lang.String getCachedTablespace()
Get the cached tablespace.

Returns:
cached tablespace

getBaseObjectType

public java.lang.String getBaseObjectType()
Get the base object type.

Returns:
object type

getJDBCConStr

public java.lang.String getJDBCConStr()
Get the JDBC connectString

Returns:
String

getProtocol

public java.lang.String getProtocol()
Get the JDBC connectString Protocol

Returns:
String

getDebugLevel

public int getDebugLevel()
Get the debugLevel

Returns:
String

setCachedTablespace

public void setCachedTablespace(java.lang.String cachedTablespace)
Set the cached tablespace.

Parameters:
cachedTablespace - cached table space

setBaseObjectType

public void setBaseObjectType(java.lang.String baseObjectType)
Set the base object type.

Parameters:
baseObjectType - base object type

isEditionView

public boolean isEditionView()
Get the edition view choice value.

Returns:
boolean - ev choice value

setEditionView

public void setEditionView(boolean bValue)
Set the edition view choice value.

Parameters:
bValue -

isSchemaSeparation

public boolean isSchemaSeparation()
Get the separation parameter value.

Returns:
boolean - true if do schema separation

getRuntimeSchema

public java.lang.String getRuntimeSchema()
Get the runtime schema parameter value.

Returns:
String - the name of runtime schema

isNoErr

public boolean isNoErr()
Get no_error parameter.

Returns:
boolean - the value of no_error param.

isNoLogging

public boolean isNoLogging()
Get idxnolog parameter.

Returns:
boolean - the value of idxnolog param.

usageNotes

public java.lang.String usageNotes()
Usage note of the xdf comparison utility.

Returns:
usage string.

alterSessionNlsSemantics

public void alterSessionNlsSemantics(java.sql.Connection mConnection)
                              throws java.lang.Exception
Throws:
java.lang.Exception

Oracle Fusion Middleware extensions for XML based Datamodel Framework
11g Release 1 (11.1.1.6)

E22566-04

Copyright © 2012 Oracle. All Rights Reserved.