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

E22566-04

oracle.apps.fnd.applxdf.comp
Class MViewObject

java.lang.Object
  extended by oracle.apps.fnd.applxdf.comp.DBObject
      extended by oracle.apps.fnd.applxdf.comp.MViewObject

public class MViewObject
extends DBObject

class definition


Field Summary
 
Fields inherited from class oracle.apps.fnd.applxdf.comp.DBObject
indexExists, logger, mapPartition, notToEmitAlterDDLArray, objDoc, objectName, objElm, param
 
Constructor Summary
MViewObject()
          Constructor.
MViewObject(Parameters param, XDFLogger logger)
          Constructor with arguments.
 
Method Summary
protected  boolean executeMVDDLSt(java.lang.String mName, java.lang.String ddlSt, int ddlType)
          Execute the MView DDL statement.
protected  java.util.Hashtable getAlterXMLParameters()
          Get the alter XML parameters.
protected  java.lang.String getAlterXMLXSLFile()
          Get the alter XML XSL file.
protected  java.util.HashMap getClauseTypeNotToEmit()
          Get the clause type not to emit.
 java.util.ArrayList getColumnList()
          Get the column list.
 java.lang.String getCommentFromTable(oracle.xml.parser.v2.XMLElement xmlElm)
          Get the comment from table.
protected  java.util.Hashtable getCreateDDLParameters()
          Get the create DDL parameters.
protected  java.lang.String getCreateDDLXSLFile()
          Get the create DDL XSL file.
protected  void getDataFromSXML(oracle.xml.parser.v2.XMLElement xmlDoc)
          Get the data from the XML Element.
protected  void getDataFromTargetDB(java.sql.ResultSet rset)
          Dummy method.
 java.lang.String getDropSt()
          Get the drop string.
 java.lang.String getMetadataDeleteSt()
          Get the metadata selete statement.
protected  oracle.xml.parser.v2.XMLElement getMViewElement(oracle.xml.parser.v2.XMLElement xmlElm)
          Get the MView element.
protected  java.util.Hashtable getRemapParameters()
          Get the remap parameters.
protected  java.lang.String getRemapXSLFile()
          Get the rempa XSL file.
 java.lang.String getReplaceTableSpace()
          Return the replace table space.
 java.lang.String getUseNoIndex()
          Get usenoindex.
 boolean isSubQueryDifferent(oracle.xml.parser.v2.XMLDocumentFragment inXMLFrmt)
          Check the sub query is different.
protected  java.lang.String prepareObjectQuery(java.util.ArrayList arguments)
          Prepare the query statement.
 oracle.xml.parser.v2.XMLDocumentFragment validateDDL(oracle.xml.parser.v2.XMLDocumentFragment alterXML)
          Validate DDL in the alter XMLDocumentFragment.
 
Methods inherited from class oracle.apps.fnd.applxdf.comp.DBObject
checkTargetDBObjectExists, executeDDLStmt, getAlterDDLArrayToExecute, getAlterXML, getCreateDDLToExecute, getCreateDDLToExecute, getDependentDiffDocument, getDiffDocument, getObjectName, getTableSpaceType, getTargetTableSpaceName, isIndexExists, isObjectObsolete, readInputSXML, remapSXML, setObjDoc, setObjectName, setObjElm, stripRowTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MViewObject

public MViewObject()
Constructor.


MViewObject

public MViewObject(Parameters param,
                   XDFLogger logger)
Constructor with arguments.

Parameters:
param - Parameters instance
logger - XDFLogger instance
Method Detail

getMViewElement

protected oracle.xml.parser.v2.XMLElement getMViewElement(oracle.xml.parser.v2.XMLElement xmlElm)
Get the MView element.

Parameters:
xmlElm - input XMLelement
Returns:
MView element

getDataFromSXML

protected void getDataFromSXML(oracle.xml.parser.v2.XMLElement xmlDoc)
Get the data from the XML Element.

Specified by:
getDataFromSXML in class DBObject
Parameters:
xmlDoc - XML Element

prepareObjectQuery

protected java.lang.String prepareObjectQuery(java.util.ArrayList arguments)
Prepare the query statement.

Specified by:
prepareObjectQuery in class DBObject
Parameters:
arguments - arguments associated with the query statement
Returns:
query statement

getDataFromTargetDB

protected void getDataFromTargetDB(java.sql.ResultSet rset)
Dummy method. Get the data from target db

Specified by:
getDataFromTargetDB in class DBObject
Parameters:
rset - resultset from the query

getRemapXSLFile

protected java.lang.String getRemapXSLFile()
Get the rempa XSL file.

Specified by:
getRemapXSLFile in class DBObject
Returns:
remap XSL file string

getRemapParameters

protected java.util.Hashtable getRemapParameters()
Get the remap parameters.

Specified by:
getRemapParameters in class DBObject
Returns:
remap parameters hashtable

getCreateDDLXSLFile

protected java.lang.String getCreateDDLXSLFile()
Get the create DDL XSL file.

Specified by:
getCreateDDLXSLFile in class DBObject
Returns:
create DDL XSL file string

getCreateDDLParameters

protected java.util.Hashtable getCreateDDLParameters()
Get the create DDL parameters.

Specified by:
getCreateDDLParameters in class DBObject
Returns:
create DDL parameters hashtable

getAlterXMLXSLFile

protected java.lang.String getAlterXMLXSLFile()
Get the alter XML XSL file.

Specified by:
getAlterXMLXSLFile in class DBObject
Returns:
alter XML XSL file string

getAlterXMLParameters

protected java.util.Hashtable getAlterXMLParameters()
Get the alter XML parameters.

Overrides:
getAlterXMLParameters in class DBObject
Returns:
alter XML parameters

validateDDL

public oracle.xml.parser.v2.XMLDocumentFragment validateDDL(oracle.xml.parser.v2.XMLDocumentFragment alterXML)
Validate DDL in the alter XMLDocumentFragment.

Specified by:
validateDDL in class DBObject
Parameters:
alterXML - alter XMLDocumentFragment
Returns:
validated XMLDocumentFragment

getClauseTypeNotToEmit

protected java.util.HashMap getClauseTypeNotToEmit()
Get the clause type not to emit.

Specified by:
getClauseTypeNotToEmit in class DBObject
Returns:
cluase type hashmap not to emit

getDropSt

public java.lang.String getDropSt()
Get the drop string.

Returns:
drop string

getMetadataDeleteSt

public java.lang.String getMetadataDeleteSt()
Get the metadata selete statement.

Returns:
metadata delete statement

executeMVDDLSt

protected boolean executeMVDDLSt(java.lang.String mName,
                                 java.lang.String ddlSt,
                                 int ddlType)
                          throws java.lang.Exception
Execute the MView DDL statement.

Parameters:
mName - MView name
ddlSt - DDL statement
ddlType - DDL type
Returns:
true if success
Throws:
java.lang.Exception

getUseNoIndex

public java.lang.String getUseNoIndex()
Get usenoindex.

Returns:
UseNoIndex

getColumnList

public java.util.ArrayList getColumnList()
Get the column list.

Returns:
column list

isSubQueryDifferent

public boolean isSubQueryDifferent(oracle.xml.parser.v2.XMLDocumentFragment inXMLFrmt)
Check the sub query is different.

Parameters:
inXMLFrmt - alter xml
Returns:
true if different

getCommentFromTable

public java.lang.String getCommentFromTable(oracle.xml.parser.v2.XMLElement xmlElm)
Get the comment from table.

Returns:
comment string

getReplaceTableSpace

public java.lang.String getReplaceTableSpace()
Return the replace table space.

Returns:
the table space

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

E22566-04

Copyright © 2012 Oracle. All Rights Reserved.