|
Oracle Fusion Middleware extensions for XML based Datamodel Framework 11g Release 1 (11.1.1.6) E22566-06 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.apps.fnd.applxdf.comp.DBObject
oracle.apps.fnd.applxdf.comp.TableFKObject
public class TableFKObject
Contains methods to create the Table FK, compare existing Table FK with the defintition in the xml file and generate DDLs statements if possible to map the differences or throw errors
| Field Summary |
|---|
| Fields inherited from class oracle.apps.fnd.applxdf.comp.DBObject |
|---|
indexExists, logger, mapPartition, notToEmitAlterDDLArray, objDoc, objectName, objElm, param |
| Constructor Summary | |
|---|---|
TableFKObject()
Constructor. |
|
TableFKObject(Parameters theParam,
XDFLogger theLogger)
Constructor with arguments. |
|
| Method Summary | |
|---|---|
boolean |
checkTableExist()
Check the table exists or not. |
boolean |
doCreateDDLConstraints(oracle.xml.parser.v2.XMLElement xElm)
Get the create table add constraint DDLs and add to arraylist. |
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()
Dummy Method. |
protected java.util.Hashtable |
getCreateDDLParameters()
Dummy method. |
protected java.lang.String |
getCreateDDLXSLFile()
Get the create DDL XSL file. |
protected void |
getDataFromSXML(oracle.xml.parser.v2.XMLElement xmlElm)
Get the data from the XML Element. |
protected void |
getDataFromTargetDB(java.sql.ResultSet rset)
Get the data from target db. |
java.util.ArrayList |
getFKAlterDDLArrayToExecute(oracle.xml.parser.v2.XMLDocumentFragment alterXML)
Get multiple FK alter table DDLs to execute from the XML. |
boolean |
getFKMetaData(oracle.xml.parser.v2.XMLElement tableXmlElm)
Get the ISLOGICAL value and Obsolete for FK constraint. |
java.lang.String |
getPhysicalTableName()
|
protected java.util.Hashtable |
getRemapParameters()
Get the remap parameters. |
protected java.lang.String |
getRemapXSLFile()
Get the remap XSL file. |
protected oracle.xml.parser.v2.XMLElement |
getTableElement(oracle.xml.parser.v2.XMLElement xmlElm)
Get the table element. |
java.lang.String |
getTableName()
Get the table name |
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)
Dummy method. |
| 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 |
|---|
public TableFKObject()
public TableFKObject(Parameters theParam,
XDFLogger theLogger)
theParam - Parameters instancetheLogger - XDFLogger instance| Method Detail |
|---|
protected oracle.xml.parser.v2.XMLElement getTableElement(oracle.xml.parser.v2.XMLElement xmlElm)
xmlElm - input XMLelement
protected void getDataFromSXML(oracle.xml.parser.v2.XMLElement xmlElm)
getDataFromSXML in class DBObjectxmlElm - XML Elementprotected java.lang.String prepareObjectQuery(java.util.ArrayList arguments)
prepareObjectQuery in class DBObjectarguments - arguments associated with the query statement
protected void getDataFromTargetDB(java.sql.ResultSet rset)
getDataFromTargetDB in class DBObjectrset - resultset from the queryprotected java.lang.String getRemapXSLFile()
getRemapXSLFile in class DBObjectprotected java.util.Hashtable getRemapParameters()
getRemapParameters in class DBObjectprotected java.lang.String getCreateDDLXSLFile()
getCreateDDLXSLFile in class DBObjectprotected java.util.Hashtable getCreateDDLParameters()
getCreateDDLParameters in class DBObjectprotected java.lang.String getAlterXMLXSLFile()
getAlterXMLXSLFile in class DBObjectprotected java.util.Hashtable getAlterXMLParameters()
getAlterXMLParameters in class DBObjectpublic oracle.xml.parser.v2.XMLDocumentFragment validateDDL(oracle.xml.parser.v2.XMLDocumentFragment alterXML)
validateDDL in class DBObjectalterXML - alter XMLDocumentFragment
protected java.util.HashMap getClauseTypeNotToEmit()
getClauseTypeNotToEmit in class DBObjectpublic java.util.ArrayList getFKAlterDDLArrayToExecute(oracle.xml.parser.v2.XMLDocumentFragment alterXML)
alterXML - XMLDocumentFragment to extract the alter DDLs
public boolean getFKMetaData(oracle.xml.parser.v2.XMLElement tableXmlElm)
tableXmlElm - input XMLElment
public boolean doCreateDDLConstraints(oracle.xml.parser.v2.XMLElement xElm)
xElm - xml element
public java.lang.String getTableName()
public boolean checkTableExist()
public java.lang.String getPhysicalTableName()
|
Oracle Fusion Middleware extensions for XML based Datamodel Framework 11g Release 1 (11.1.1.6) E22566-06 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||