oracle.sysman.dbTarget.db.changemgr.emo.docaccess
Class XMLSchemaObjAccessor

java.lang.Object
  extended by oracle.sysman.dbTarget.db.changemgr.emo.docaccess.XMLAccessor
      extended by oracle.sysman.dbTarget.db.changemgr.emo.docaccess.XMLSchemaObjAccessor
Direct Known Subclasses:
XMLClusterAccessor, XMLDbLinkAccessor, XMLIndexAccessor, XMLMViewAccessor, XMLMViewLogAccessor, XMLProcAccessor, XMLSegmentAccessor, XMLSequenceAccessor, XMLSynonymAccessor, XMLTableAccessor, XMLTriggerAccessor, XMLViewAccessor

public abstract class XMLSchemaObjAccessor
extends XMLAccessor


Field Summary
 
Fields inherited from class oracle.sysman.dbTarget.db.changemgr.emo.docaccess.XMLAccessor
DDL_ALTER_LEFT_TO_RIGHT, DDL_ALTER_RIGHT_TO_LEFT, DDL_CREATE_LEFT, DDL_CREATE_RIGHT, DDL_DROP, DIFF_NODES_PATTERN, MDAPI_CLUSTER, MDAPI_DB_LINK, MDAPI_FUNCTION, MDAPI_INDEX, MDAPI_MATERIALIZED_VIEW, MDAPI_MATERIALIZED_VIEW_LOG, MDAPI_PACKAGE, MDAPI_PACKAGE_BODY, MDAPI_PACKAGE_SPEC, MDAPI_PROCEDURE, MDAPI_PROFILE, MDAPI_ROLE, MDAPI_ROLLBACK_SEGMENT, MDAPI_SEQUENCE, MDAPI_SYNONYM, MDAPI_TABLE, MDAPI_TABLESPACE, MDAPI_TRIGGER, MDAPI_TYPE, MDAPI_USER, MDAPI_VIEW
 
Method Summary
 void applySchemaMap(java.util.HashMap schemaMap, int changeMode)
           
 int getDegree()
           
 boolean getDegreeDefault()
           
 int getNumberPartitions()
           
 java.lang.String getObjectName()
           
 java.lang.String getObjectSchema()
           
 boolean getParallel()
          true if PARALLEL (new syntax) or PARALLEL_DEGREE (old syntax) exists false otherwise.
 XMLOnePartitionAccessor getPartitionAt(int index)
           
 boolean getPartitioned()
           
 XMLPartitionsAccessor getPartitions()
           
 java.lang.String getQuotedFullName()
           
 java.lang.String getSchema()
           
 XMLSegmentAccessor getSegment()
           
 oracle.xml.parser.v2.XMLDocument getSXMLDocFromDB(CMConnection dbConn, java.lang.String mdapiType, java.lang.String objSchema, java.lang.String objName, boolean forDiffing)
          Methods for retrieving XML metadata definitions from databases and baselines.
 java.lang.String getTablespace()
           
 void setDegree(int degree)
          Sets the parallel degree (and turns PARALLEL off or on)
 void setDegreeDefault(boolean def)
           
 void setParallel(boolean parallel)
           
 void setSchema(java.lang.String schema)
           
 void setTablespace(java.lang.String tablespace)
           
 java.lang.String toString()
           
 
Methods inherited from class oracle.sysman.dbTarget.db.changemgr.emo.docaccess.XMLAccessor
applyDiffs, applySchemaMap, compareDefinition, compareDefinition, compareDefinition, compareDefinition, createXslTransformInfo, generateDDL, generateDDL, generateDDL, generateDDLs, getAppendStatistics, getChangeMode, getColumnName, getDDL, getDDL, getDDL, getDDLForExecution, getDDLForExecution, getDifferencesDocument, getDocument, getDropDDL, getName, getQuotedName, getXMLAccessorForType, getXMLAccessorForType, getXMLAccessorForType, hasDiffs, initFromDatabase, initFromDatabase, initialize, initializeAll, intTypeToMDAPIType, isAlterable, MDAPITypeToIntType, printXmlRoot, registerApplyDiffListener, releaseXML, revert, setAppendStatistics, setObjectName, setTransformParams, setXmlDoc, sxmlSupported, sxmlSupported
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

applySchemaMap

public void applySchemaMap(java.util.HashMap schemaMap,
                           int changeMode)
Overrides:
applySchemaMap in class XMLAccessor

getSchema

public java.lang.String getSchema()

setSchema

public void setSchema(java.lang.String schema)

getObjectSchema

public java.lang.String getObjectSchema()

getObjectName

public java.lang.String getObjectName()

getQuotedFullName

public java.lang.String getQuotedFullName()
Overrides:
getQuotedFullName in class XMLAccessor

getSegment

public XMLSegmentAccessor getSegment()

getTablespace

public java.lang.String getTablespace()

setTablespace

public void setTablespace(java.lang.String tablespace)

getPartitioned

public boolean getPartitioned()

getPartitions

public XMLPartitionsAccessor getPartitions()

getNumberPartitions

public int getNumberPartitions()

getPartitionAt

public XMLOnePartitionAccessor getPartitionAt(int index)
                                       throws XMLAccessorException
Throws:
XMLAccessorException

getParallel

public boolean getParallel()
true if PARALLEL (new syntax) or PARALLEL_DEGREE (old syntax) exists false otherwise.


setParallel

public void setParallel(boolean parallel)

getDegree

public int getDegree()

setDegree

public void setDegree(int degree)
Sets the parallel degree (and turns PARALLEL off or on)

Parameters:
degree -
  • NOPARALLEL - turn PARALLEL option off
  • AUTOMATIC - turn PARALLEL option on (if it is off) with default value.
  • n - turn PARALLEL option on (if it is off) with degree n.

getDegreeDefault

public boolean getDegreeDefault()

setDegreeDefault

public void setDegreeDefault(boolean def)

getSXMLDocFromDB

public oracle.xml.parser.v2.XMLDocument getSXMLDocFromDB(CMConnection dbConn,
                                                         java.lang.String mdapiType,
                                                         java.lang.String objSchema,
                                                         java.lang.String objName,
                                                         boolean forDiffing)
                                                  throws java.sql.SQLException,
                                                         XMLAccessorException
Description copied from class: XMLAccessor
Methods for retrieving XML metadata definitions from databases and baselines.

Overrides:
getSXMLDocFromDB in class XMLAccessor
Throws:
java.sql.SQLException
XMLAccessorException

toString

public java.lang.String toString()
Overrides:
toString in class XMLAccessor