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

java.lang.Object
  extended by oracle.sysman.dbTarget.db.changemgr.emo.docaccess.XMLAccessor
      extended by oracle.sysman.dbTarget.db.changemgr.emo.docaccess.XMLTableConstraintsAccessor

public class XMLTableConstraintsAccessor
extends XMLAccessor


Field Summary
static short DELETE_RULE_CASCADE
           
static short DELETE_RULE_NO_ACTION
           
static short DELETE_RULE_SET_NULL
           
static java.lang.String X_CON_CK_LIST
           
static java.lang.String X_CON_COL_NN_LIST
           
static java.lang.String X_CON_FK_LIST
           
static java.lang.String X_CON_PK_LIST
           
static java.lang.String X_CON_UK_LIST
           
 
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)
           
 boolean getCascadeOnDelete(java.lang.String conType)
           
 java.lang.String getCheckCondition()
           
 java.lang.String getCheckCondition(java.lang.String conType)
           
static java.lang.String getColumnID(org.w3c.dom.Node col)
           
 boolean getColumnLevelConstraint()
           
static java.lang.String getColumnName(org.w3c.dom.Node col)
           
 java.util.Vector getConsColumnsVector()
           
 java.lang.String getConstrainedColumn()
           
 org.w3c.dom.NodeList getConstraintColumns()
           
 java.lang.String getConstraintName()
           
 org.w3c.dom.NodeList getConstraintReferencedColumns()
           
 java.lang.String getConstraintType()
           
 boolean getDeferrable()
           
 boolean getDeferred()
           
 short getDeleteRule()
           
 boolean getDisable()
           
 boolean getEnforceConstraint()
           
 boolean getGeneratedName()
           
 boolean getIsColumnLevelConstraint()
           
 boolean getIsGeneratedName()
           
 boolean getIsNew()
           
 boolean getIsNotNullConstraint()
           
 java.lang.String getName()
           
 boolean getNovalidate()
           
 java.util.Vector getParentColumnsVector()
           
 java.lang.String getParentTableName()
           
 java.lang.String getParentTableSchema()
           
 long getRefConstraintId(java.lang.String conType)
           
 java.lang.String getRefdConsName(java.lang.String conType)
           
 java.lang.String getRefdSchema(java.lang.String conType)
           
 java.lang.String getRefdTableName()
           
 boolean getRely()
           
 java.lang.String getType()
           
 boolean getValidate()
           
 void remove()
           
 void setDisable(boolean disable)
           
 void setIsNew(boolean isNew)
           
 void setName(java.lang.String name)
           
 void setNovalidate(boolean noValidate)
           
 void setParentTableName(java.lang.String newName)
           
 void setRefdSchema(java.lang.String schema)
           
 void setXmlDoc(oracle.xml.parser.v2.XMLNode consItemNode)
          Establishes the base node for relative xpaths.
 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, getDDL, getDDL, getDDL, getDDLForExecution, getDDLForExecution, getDifferencesDocument, getDocument, getDropDDL, getQuotedFullName, getQuotedName, getSXMLDocFromDB, getXMLAccessorForType, getXMLAccessorForType, getXMLAccessorForType, hasDiffs, initFromDatabase, initFromDatabase, initialize, initializeAll, intTypeToMDAPIType, isAlterable, MDAPITypeToIntType, printXmlRoot, registerApplyDiffListener, releaseXML, revert, setAppendStatistics, setObjectName, setTransformParams, sxmlSupported, sxmlSupported
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DELETE_RULE_NO_ACTION

public static final short DELETE_RULE_NO_ACTION
See Also:
Constant Field Values

DELETE_RULE_CASCADE

public static final short DELETE_RULE_CASCADE
See Also:
Constant Field Values

DELETE_RULE_SET_NULL

public static final short DELETE_RULE_SET_NULL
See Also:
Constant Field Values

X_CON_CK_LIST

public static java.lang.String X_CON_CK_LIST

X_CON_PK_LIST

public static java.lang.String X_CON_PK_LIST

X_CON_UK_LIST

public static java.lang.String X_CON_UK_LIST

X_CON_FK_LIST

public static java.lang.String X_CON_FK_LIST

X_CON_COL_NN_LIST

public static java.lang.String X_CON_COL_NN_LIST
Method Detail

setXmlDoc

public void setXmlDoc(oracle.xml.parser.v2.XMLNode consItemNode)
               throws XMLAccessorException
Description copied from class: XMLAccessor
Establishes the base node for relative xpaths. Subclasses can override to get what they need from the document at the time it is set.

Overrides:
setXmlDoc in class XMLAccessor
Parameters:
consItemNode - the node from which the base node for relative xpath attribute lookups in this object is derived
Throws:
XMLAccessorException - if it is not possible to derive a base node from xmlNode

applySchemaMap

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

getConstraintType

public java.lang.String getConstraintType()

getType

public java.lang.String getType()

getConstraintName

public java.lang.String getConstraintName()

getName

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

setName

public void setName(java.lang.String name)

setIsNew

public void setIsNew(boolean isNew)

getIsNew

public boolean getIsNew()

getIsGeneratedName

public boolean getIsGeneratedName()

getCheckCondition

public java.lang.String getCheckCondition(java.lang.String conType)

getCheckCondition

public java.lang.String getCheckCondition()

getRefdSchema

public java.lang.String getRefdSchema(java.lang.String conType)

setRefdSchema

public void setRefdSchema(java.lang.String schema)

getParentTableSchema

public java.lang.String getParentTableSchema()

getRefdTableName

public java.lang.String getRefdTableName()

getParentTableName

public java.lang.String getParentTableName()

setParentTableName

public void setParentTableName(java.lang.String newName)

getRefdConsName

public java.lang.String getRefdConsName(java.lang.String conType)

getCascadeOnDelete

public boolean getCascadeOnDelete(java.lang.String conType)

getDeleteRule

public short getDeleteRule()

getDisable

public boolean getDisable()

setDisable

public void setDisable(boolean disable)

getDeferrable

public boolean getDeferrable()

getDeferred

public boolean getDeferred()

getValidate

public boolean getValidate()

getNovalidate

public boolean getNovalidate()

setNovalidate

public void setNovalidate(boolean noValidate)

getEnforceConstraint

public boolean getEnforceConstraint()

getRely

public boolean getRely()

getGeneratedName

public boolean getGeneratedName()

getRefConstraintId

public long getRefConstraintId(java.lang.String conType)

getColumnLevelConstraint

public boolean getColumnLevelConstraint()

getIsColumnLevelConstraint

public boolean getIsColumnLevelConstraint()

getIsNotNullConstraint

public boolean getIsNotNullConstraint()

getConstrainedColumn

public java.lang.String getConstrainedColumn()

getConstraintColumns

public org.w3c.dom.NodeList getConstraintColumns()

getConsColumnsVector

public java.util.Vector getConsColumnsVector()

getConstraintReferencedColumns

public org.w3c.dom.NodeList getConstraintReferencedColumns()

getParentColumnsVector

public java.util.Vector getParentColumnsVector()

getColumnName

public static java.lang.String getColumnName(org.w3c.dom.Node col)

getColumnID

public static java.lang.String getColumnID(org.w3c.dom.Node col)

remove

public void remove()

toString

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