oracle.sysman.dbTarget.db.changemgr.emo.docaccess
Interface XMLAccessorClient

All Known Implementing Classes:
XMLAccessorSettings

public interface XMLAccessorClient

The XMLAccessorClient interface lets users of the XMLAccessor classes provide needed environment information to those classes.


Field Summary
static int ALTERXML_TO_DDL
          Transform parameter specifying transform of Alter XML to ALTER DDL.
static int CHANGE_IN_PLACE_MODE
          Specifies that modifications to an SXML document overwrite the existing SXML, making it impossible to generate Alter XML or to revert the changes.
static int CM_OBJTYPE_CLUSTER
          Used in Change Manager code to designate a Cluster object.
static int CM_OBJTYPE_DBLINK
          Used in Change Manager code to designate a Database Link object.
static int CM_OBJTYPE_FUNCTION
          Used in Change Manager code to designate a Function object.
static int CM_OBJTYPE_INDEX
          Used in Change Manager code to designate an Index object.
static int CM_OBJTYPE_INDEX_COLUMN
          Used in Change Manager code to designate an Index Column subobject.
static int CM_OBJTYPE_INDEX_SEGMENT
          Used in Change Manager code to designate an Index Segment subobject.
static int CM_OBJTYPE_MVIEW
          Used in Change Manager code to designate a Materialized View object.
static int CM_OBJTYPE_MVIEW_LOG
          Used in Change Manager code to designate a Materialized View Log object.
static int CM_OBJTYPE_PACKAGE
          Used in Change Manager code to designate a Package object.
static int CM_OBJTYPE_PACKAGE_BODY
          Used in Change Manager code to designate a Package Body object.
static int CM_OBJTYPE_PARTITIONS
          Used in Change Manager code to designate Partitions.
static int CM_OBJTYPE_PROCEDURE
          Used in Change Manager code to designate a Procedure object.
static int CM_OBJTYPE_PROFILE
          Used in Change Manager code to designate a Profile object.
static int CM_OBJTYPE_ROLE
          Used in Change Manager code to designate a Role object.
static int CM_OBJTYPE_ROLLSEG
          Used in Change Manager code to designate a Rollback Segment object.
static int CM_OBJTYPE_SEQUENCE
          Used in Change Manager code to designate a Sequence object.
static int CM_OBJTYPE_SYNONYM
          Used in Change Manager code to designate a Synonym object.
static int CM_OBJTYPE_TABLE
          Used in Change Manager code to designate a Table object.
static int CM_OBJTYPE_TABLE_COLUMN
          Used in Change Manager code to designate a Table Column subobject.
static int CM_OBJTYPE_TABLE_CONSTRAINT
          Used in Change Manager code to designate a Table Constraint subobject.
static int CM_OBJTYPE_TABLE_IOT
          Used in Change Manager code to designate an IOT Overflow Segment subobject.
static int CM_OBJTYPE_TABLE_SEGMENT
          Used in Change Manager code to designate a Table Segment subobject.
static int CM_OBJTYPE_TBSP
          Used in Change Manager code to designate a Tablespace object.
static int CM_OBJTYPE_TBSP_DF
          Used in Change Manager code to designate a Datafile object.
static int CM_OBJTYPE_TRIGGER
          Used in Change Manager code to designate a Trigger object.
static int CM_OBJTYPE_UDT
          Used in Change Manager code to designate a User-Defined Type object.
static int CM_OBJTYPE_USER
          Used in Change Manager code to designate a User object.
static int CM_OBJTYPE_VIEW
          Used in Change Manager code to designate a View object.
static int DEFAULT_CHANGE_MODE
           
static int DIFF_SXML_MODE
          Specifies that modifications to an SXML document be made in the form of Diff SXML.
static int DIFF_SXML_TO_ALTERXML
          Transform value specifying transform of Diff SXML to Alter XML.
static int FULL_XML_TO_CMXML
          Transform parameter specifying transform of Alter XML to CMXML.
static int FULL_XML_TO_DEP_DDL
          Transform value specifying transform of MDAPI XML to DDL for a database object dependents such as table comments.
static int FULL_XML_TO_GRANT_DDL
          Transform value specifying transform of MDAPI XML to DDL for grants.
static int FULL_XML_TO_SXML
          Transform value specifying transform of MDAPI XML to SXML.
static int FULL_XML_TO_TOP_DDL
          Transform value specifying transform of MDAPI XML to DDL for a database object.
static int MAX_XFORM_PARAM_INDEX
           
static int MODIFY_FULL_XML
          Transform value specifying transform of MDAPI XML to MDAPI XML; used for schema mapping.
static int SXML_TO_DDL
          Transform value specifying transform of SXML to Create DDL.
static int XFORM_PARAM_CM_MODE
          Generates SXML with additional Change Manager-specific information that facilitates diffing and dependency analysis.
static int XFORM_PARAM_COMMENTS
          Generates SXML and DDL that includes COMMENT ON statements for objects that can have comments, such as tables.
static int XFORM_PARAM_CONSTS_AS_ALTER
           
static int XFORM_PARAM_FOR_DIFFING
           
static int XFORM_PARAM_IGNORE_NAME_DIFFS
          Generates an attribute in SXML that directs the Change Manager differ to ignore constraint name differences when matching constraints by definition.
static int XFORM_PARAM_IGNORE_TABLECOL_POS
          Generates a COL_NUM element (an extension to SXML) for each table column.
static int XFORM_PARAM_MATCH_BY_DEFINITION
          Generates an attribute in SXML that directs the Change Manager differ to match constraints by their definition rather than by name.
static int XFORM_PARAM_NO_CONSTRAINTS
          Suppresses generation of inline constraints in generated DDL.
static int XFORM_PARAM_NO_FORCE
          Suppresses generation of the FORCE keyword in CREATE VIEW DDL.
static int XFORM_PARAM_NO_PHYSICAL_PROPERTIES
          Suppresses generation of the physical_properties clause in generated DDL.
static int XFORM_PARAM_NO_PRETTY
          Turns off pretty-printing of generated DDL.
static int XFORM_PARAM_NO_REF_CONSTRAINTS
          Suppresses generation of inline foreign key constraints in generated DDL.
static int XFORM_PARAM_NO_SEGMENT_ATTRIBUTES
          Suppresses generation of the segment_attributes clause in generated DDL.
static int XFORM_PARAM_NO_SQL_TERMINATOR
          Suppresses generation of the SQL terminator in generated DDL.
static int XFORM_PARAM_NO_STORAGE
          Suppresses generation of the STORAGE clause in generated DDL.
static int XFORM_PARAM_NO_TABLESPACE
          Suppresses generation of the TABLESPACE clause in generated DDL.
static int XFORM_PARAM_NO_TYPE_BODY
          Suppresses generation of the type body in generated CREATE TYPE DDL.
static int XFORM_PARAM_NO_TYPE_SPEC
          Suppresses generation of the type specification in generated CREATE TYPE DDL.
static int XFORM_PARAM_NOT_USED_2
           
static int XFORM_PARAM_NOT_USED_3
           
static int XFORM_PARAM_NOT_USED_4
           
static int XFORM_PARAM_NOT_USING_INDEX
          Suppresses generation of the USING INDEX clause for constraints in generated DDL.
static int XFORM_PARAM_PARTITIONS
          Suppresses generation of partitioning information in generated DDL.
static int XFORM_PARAM_PASSWD_VALUE
          Generates SXML (and thus DDL) that contains an encrypted password value.
static int XFORM_PARAM_PRS_ALTERABLE
          Generates the NOT_ALTERABLE element in Alter XML, indicating that the difference reperesented by the parent node cannot be implemented using an ALTER statement, and the reaaon why not.
static int XFORM_PARAM_PRS_CLAUSE_TYPE
          Generates the CLAUSE_TYPE element in Alter XML, indicating the type of clause implemented by the ALTER statement.
static int XFORM_PARAM_PRS_NAME
          Generates the NAME element in Alter XML, indicating the name of the subobject modified by the ALTER statement.
static int XFORM_PARAM_PRS_XPATH
          Generates the XPATH element in Alter XML, whose value is the xpath to the difference node in the Diff SXML document that resulted in the ALTER statement.
static int XFORM_PARAM_REUSE
          Generates the REUSE keyword for tablespace datafiles in generated DDL.
static int XFORM_PARAM_SQL_DELIMITER
          Generates multiple DDL statements separated by a special character sequence to allow them to be broken into individual statements.
static int XFORM_PARAM_STATISTICS
           
static int XFORM_PARAM_SUPPRESS_SCHEMA
          Suppresses generation of the schema in DDL
static java.lang.String XFORM_PSTR_CM_MODE
           
static java.lang.String XFORM_PSTR_COMMENTS
           
static java.lang.String XFORM_PSTR_CONSTRAINTS
           
static java.lang.String XFORM_PSTR_CONSTS_AS_ALTER
          Generates constraints as separate ALTER statements rather than including them in CREATE TABLE DDL.
static java.lang.String XFORM_PSTR_EMIT_SCHEMA
           
static java.lang.String XFORM_PSTR_FORCE
           
static java.lang.String XFORM_PSTR_IGNORE_NAME_DIFFS
           
static java.lang.String XFORM_PSTR_IGNORE_TABLECOL_POS
           
static java.lang.String XFORM_PSTR_MATCH_BY_DEFINITION
           
static java.lang.String XFORM_PSTR_PARTITIONS
           
static java.lang.String XFORM_PSTR_PASSWD_VALUE
           
static java.lang.String XFORM_PSTR_PHYSICAL_PROPERTIES
           
static java.lang.String XFORM_PSTR_PRETTY
           
static java.lang.String XFORM_PSTR_PRS_ALTERABLE
           
static java.lang.String XFORM_PSTR_PRS_CLAUSE_TYPE
           
static java.lang.String XFORM_PSTR_PRS_NAME
           
static java.lang.String XFORM_PSTR_PRS_XPATH
           
static java.lang.String XFORM_PSTR_REF_CONSTRAINTS
           
static java.lang.String XFORM_PSTR_REUSE
           
static java.lang.String XFORM_PSTR_SEGMENT_ATTRIBUTES
           
static java.lang.String XFORM_PSTR_SQL_DELIMITER
           
static java.lang.String XFORM_PSTR_SQLTERMINATOR
           
static java.lang.String XFORM_PSTR_STATISTICS
           
static java.lang.String XFORM_PSTR_STORAGE
           
static java.lang.String XFORM_PSTR_TABLESPACE
           
static java.lang.String XFORM_PSTR_TYPE_BODY
           
static java.lang.String XFORM_PSTR_TYPE_SPECIFICATION
           
static java.lang.String XFORM_PSTR_USING_INDEX
           
 
Method Summary
 int getChangeMode()
          Allows the client to specify the change mode to use when making changes to the SXML document through the accessor's methods.
 javax.servlet.ServletContext getServletContext()
          Returns the ServletContext, through which the WEB_INF/xsls/ directory in which Change Manager-provided stylesheets (.xsl files) are stored can be located.
 int getSXMLToDDLTransformParamFlags(int type)
          Allows the client to specify the transform parameters to use when transforming SXML to DDL.
 int getTransformParamFlags(int type, int transform)
          Allows the client to specify the transform parameters to use for all transforms.
 java.lang.String getXslRoot()
          Returns the operating system directory that contains the WEB_INF/xsls/ directory in which Change Manager-provided stylesheets (.xsl files) are stored.
 

Field Detail

CM_OBJTYPE_TABLE

static final int CM_OBJTYPE_TABLE
Used in Change Manager code to designate a Table object.

See Also:
Constant Field Values

CM_OBJTYPE_INDEX

static final int CM_OBJTYPE_INDEX
Used in Change Manager code to designate an Index object.

See Also:
Constant Field Values

CM_OBJTYPE_VIEW

static final int CM_OBJTYPE_VIEW
Used in Change Manager code to designate a View object.

See Also:
Constant Field Values

CM_OBJTYPE_TRIGGER

static final int CM_OBJTYPE_TRIGGER
Used in Change Manager code to designate a Trigger object.

See Also:
Constant Field Values

CM_OBJTYPE_SYNONYM

static final int CM_OBJTYPE_SYNONYM
Used in Change Manager code to designate a Synonym object.

See Also:
Constant Field Values

CM_OBJTYPE_PACKAGE

static final int CM_OBJTYPE_PACKAGE
Used in Change Manager code to designate a Package object.

See Also:
Constant Field Values

CM_OBJTYPE_PACKAGE_BODY

static final int CM_OBJTYPE_PACKAGE_BODY
Used in Change Manager code to designate a Package Body object.

See Also:
Constant Field Values

CM_OBJTYPE_PROCEDURE

static final int CM_OBJTYPE_PROCEDURE
Used in Change Manager code to designate a Procedure object.

See Also:
Constant Field Values

CM_OBJTYPE_FUNCTION

static final int CM_OBJTYPE_FUNCTION
Used in Change Manager code to designate a Function object.

See Also:
Constant Field Values

CM_OBJTYPE_SEQUENCE

static final int CM_OBJTYPE_SEQUENCE
Used in Change Manager code to designate a Sequence object.

See Also:
Constant Field Values

CM_OBJTYPE_DBLINK

static final int CM_OBJTYPE_DBLINK
Used in Change Manager code to designate a Database Link object.

See Also:
Constant Field Values

CM_OBJTYPE_MVIEW

static final int CM_OBJTYPE_MVIEW
Used in Change Manager code to designate a Materialized View object.

See Also:
Constant Field Values

CM_OBJTYPE_MVIEW_LOG

static final int CM_OBJTYPE_MVIEW_LOG
Used in Change Manager code to designate a Materialized View Log object.

See Also:
Constant Field Values

CM_OBJTYPE_CLUSTER

static final int CM_OBJTYPE_CLUSTER
Used in Change Manager code to designate a Cluster object.

See Also:
Constant Field Values

CM_OBJTYPE_TBSP

static final int CM_OBJTYPE_TBSP
Used in Change Manager code to designate a Tablespace object.

See Also:
Constant Field Values

CM_OBJTYPE_ROLLSEG

static final int CM_OBJTYPE_ROLLSEG
Used in Change Manager code to designate a Rollback Segment object.

See Also:
Constant Field Values

CM_OBJTYPE_USER

static final int CM_OBJTYPE_USER
Used in Change Manager code to designate a User object.

See Also:
Constant Field Values

CM_OBJTYPE_ROLE

static final int CM_OBJTYPE_ROLE
Used in Change Manager code to designate a Role object.

See Also:
Constant Field Values

CM_OBJTYPE_PROFILE

static final int CM_OBJTYPE_PROFILE
Used in Change Manager code to designate a Profile object.

See Also:
Constant Field Values

CM_OBJTYPE_UDT

static final int CM_OBJTYPE_UDT
Used in Change Manager code to designate a User-Defined Type object.

See Also:
Constant Field Values

CM_OBJTYPE_TABLE_COLUMN

static final int CM_OBJTYPE_TABLE_COLUMN
Used in Change Manager code to designate a Table Column subobject.

See Also:
Constant Field Values

CM_OBJTYPE_TABLE_SEGMENT

static final int CM_OBJTYPE_TABLE_SEGMENT
Used in Change Manager code to designate a Table Segment subobject.

See Also:
Constant Field Values

CM_OBJTYPE_TABLE_CONSTRAINT

static final int CM_OBJTYPE_TABLE_CONSTRAINT
Used in Change Manager code to designate a Table Constraint subobject.

See Also:
Constant Field Values

CM_OBJTYPE_TABLE_IOT

static final int CM_OBJTYPE_TABLE_IOT
Used in Change Manager code to designate an IOT Overflow Segment subobject.

See Also:
Constant Field Values

CM_OBJTYPE_TBSP_DF

static final int CM_OBJTYPE_TBSP_DF
Used in Change Manager code to designate a Datafile object.

See Also:
Constant Field Values

CM_OBJTYPE_PARTITIONS

static final int CM_OBJTYPE_PARTITIONS
Used in Change Manager code to designate Partitions.

See Also:
Constant Field Values

CM_OBJTYPE_INDEX_COLUMN

static final int CM_OBJTYPE_INDEX_COLUMN
Used in Change Manager code to designate an Index Column subobject.

See Also:
Constant Field Values

CM_OBJTYPE_INDEX_SEGMENT

static final int CM_OBJTYPE_INDEX_SEGMENT
Used in Change Manager code to designate an Index Segment subobject.

See Also:
Constant Field Values

XFORM_PARAM_NO_PRETTY

static final int XFORM_PARAM_NO_PRETTY
Turns off pretty-printing of generated DDL.

See Also:
Constant Field Values

XFORM_PSTR_PRETTY

static final java.lang.String XFORM_PSTR_PRETTY
See Also:
Constant Field Values

XFORM_PARAM_NO_TABLESPACE

static final int XFORM_PARAM_NO_TABLESPACE
Suppresses generation of the TABLESPACE clause in generated DDL.

See Also:
Constant Field Values

XFORM_PSTR_TABLESPACE

static final java.lang.String XFORM_PSTR_TABLESPACE
See Also:
Constant Field Values

XFORM_PARAM_NO_PHYSICAL_PROPERTIES

static final int XFORM_PARAM_NO_PHYSICAL_PROPERTIES
Suppresses generation of the physical_properties clause in generated DDL.

See Also:
Constant Field Values

XFORM_PSTR_PHYSICAL_PROPERTIES

static final java.lang.String XFORM_PSTR_PHYSICAL_PROPERTIES
See Also:
Constant Field Values

XFORM_PARAM_NO_SEGMENT_ATTRIBUTES

static final int XFORM_PARAM_NO_SEGMENT_ATTRIBUTES
Suppresses generation of the segment_attributes clause in generated DDL.

See Also:
Constant Field Values

XFORM_PSTR_SEGMENT_ATTRIBUTES

static final java.lang.String XFORM_PSTR_SEGMENT_ATTRIBUTES
See Also:
Constant Field Values

XFORM_PARAM_NO_STORAGE

static final int XFORM_PARAM_NO_STORAGE
Suppresses generation of the STORAGE clause in generated DDL.

See Also:
Constant Field Values

XFORM_PSTR_STORAGE

static final java.lang.String XFORM_PSTR_STORAGE
See Also:
Constant Field Values

XFORM_PARAM_NO_CONSTRAINTS

static final int XFORM_PARAM_NO_CONSTRAINTS
Suppresses generation of inline constraints in generated DDL.

See Also:
Constant Field Values

XFORM_PSTR_CONSTRAINTS

static final java.lang.String XFORM_PSTR_CONSTRAINTS
See Also:
Constant Field Values

XFORM_PARAM_NO_REF_CONSTRAINTS

static final int XFORM_PARAM_NO_REF_CONSTRAINTS
Suppresses generation of inline foreign key constraints in generated DDL.

See Also:
Constant Field Values

XFORM_PSTR_REF_CONSTRAINTS

static final java.lang.String XFORM_PSTR_REF_CONSTRAINTS
See Also:
Constant Field Values

XFORM_PARAM_PASSWD_VALUE

static final int XFORM_PARAM_PASSWD_VALUE
Generates SXML (and thus DDL) that contains an encrypted password value.

See Also:
Constant Field Values

XFORM_PSTR_PASSWD_VALUE

static final java.lang.String XFORM_PSTR_PASSWD_VALUE
See Also:
Constant Field Values

XFORM_PARAM_NO_SQL_TERMINATOR

static final int XFORM_PARAM_NO_SQL_TERMINATOR
Suppresses generation of the SQL terminator in generated DDL.

See Also:
Constant Field Values

XFORM_PSTR_SQLTERMINATOR

static final java.lang.String XFORM_PSTR_SQLTERMINATOR
See Also:
Constant Field Values

XFORM_PARAM_NO_TYPE_BODY

static final int XFORM_PARAM_NO_TYPE_BODY
Suppresses generation of the type body in generated CREATE TYPE DDL.

See Also:
Constant Field Values

XFORM_PSTR_TYPE_BODY

static final java.lang.String XFORM_PSTR_TYPE_BODY
See Also:
Constant Field Values

XFORM_PARAM_NO_TYPE_SPEC

static final int XFORM_PARAM_NO_TYPE_SPEC
Suppresses generation of the type specification in generated CREATE TYPE DDL.

See Also:
Constant Field Values

XFORM_PSTR_TYPE_SPECIFICATION

static final java.lang.String XFORM_PSTR_TYPE_SPECIFICATION
See Also:
Constant Field Values

XFORM_PARAM_CM_MODE

static final int XFORM_PARAM_CM_MODE
Generates SXML with additional Change Manager-specific information that facilitates diffing and dependency analysis.

See Also:
Constant Field Values

XFORM_PARAM_FOR_DIFFING

static final int XFORM_PARAM_FOR_DIFFING
See Also:
Constant Field Values

XFORM_PSTR_CM_MODE

static final java.lang.String XFORM_PSTR_CM_MODE
See Also:
Constant Field Values

XFORM_PARAM_SQL_DELIMITER

static final int XFORM_PARAM_SQL_DELIMITER
Generates multiple DDL statements separated by a special character sequence to allow them to be broken into individual statements.

See Also:
Constant Field Values

XFORM_PSTR_SQL_DELIMITER

static final java.lang.String XFORM_PSTR_SQL_DELIMITER
See Also:
Constant Field Values

XFORM_PARAM_PRS_CLAUSE_TYPE

static final int XFORM_PARAM_PRS_CLAUSE_TYPE
Generates the CLAUSE_TYPE element in Alter XML, indicating the type of clause implemented by the ALTER statement.

See Also:
Constant Field Values

XFORM_PSTR_PRS_CLAUSE_TYPE

static final java.lang.String XFORM_PSTR_PRS_CLAUSE_TYPE
See Also:
Constant Field Values

XFORM_PARAM_PRS_NAME

static final int XFORM_PARAM_PRS_NAME
Generates the NAME element in Alter XML, indicating the name of the subobject modified by the ALTER statement.

See Also:
Constant Field Values

XFORM_PSTR_PRS_NAME

static final java.lang.String XFORM_PSTR_PRS_NAME
See Also:
Constant Field Values

XFORM_PARAM_NO_FORCE

static final int XFORM_PARAM_NO_FORCE
Suppresses generation of the FORCE keyword in CREATE VIEW DDL.

See Also:
Constant Field Values

XFORM_PSTR_FORCE

static final java.lang.String XFORM_PSTR_FORCE
See Also:
Constant Field Values

XFORM_PARAM_NOT_USED_2

static final int XFORM_PARAM_NOT_USED_2
See Also:
Constant Field Values

XFORM_PARAM_NOT_USED_3

static final int XFORM_PARAM_NOT_USED_3
See Also:
Constant Field Values

XFORM_PARAM_NOT_USED_4

static final int XFORM_PARAM_NOT_USED_4
See Also:
Constant Field Values

XFORM_PARAM_PRS_XPATH

static final int XFORM_PARAM_PRS_XPATH
Generates the XPATH element in Alter XML, whose value is the xpath to the difference node in the Diff SXML document that resulted in the ALTER statement.

See Also:
Constant Field Values

XFORM_PSTR_PRS_XPATH

static final java.lang.String XFORM_PSTR_PRS_XPATH
See Also:
Constant Field Values

XFORM_PARAM_PRS_ALTERABLE

static final int XFORM_PARAM_PRS_ALTERABLE
Generates the NOT_ALTERABLE element in Alter XML, indicating that the difference reperesented by the parent node cannot be implemented using an ALTER statement, and the reaaon why not.

See Also:
Constant Field Values

XFORM_PSTR_PRS_ALTERABLE

static final java.lang.String XFORM_PSTR_PRS_ALTERABLE
See Also:
Constant Field Values

XFORM_PARAM_MATCH_BY_DEFINITION

static final int XFORM_PARAM_MATCH_BY_DEFINITION
Generates an attribute in SXML that directs the Change Manager differ to match constraints by their definition rather than by name.

See Also:
Constant Field Values

XFORM_PSTR_MATCH_BY_DEFINITION

static final java.lang.String XFORM_PSTR_MATCH_BY_DEFINITION
See Also:
Constant Field Values

XFORM_PARAM_IGNORE_NAME_DIFFS

static final int XFORM_PARAM_IGNORE_NAME_DIFFS
Generates an attribute in SXML that directs the Change Manager differ to ignore constraint name differences when matching constraints by definition.

See Also:
Constant Field Values

XFORM_PSTR_IGNORE_NAME_DIFFS

static final java.lang.String XFORM_PSTR_IGNORE_NAME_DIFFS
See Also:
Constant Field Values

XFORM_PARAM_NOT_USING_INDEX

static final int XFORM_PARAM_NOT_USING_INDEX
Suppresses generation of the USING INDEX clause for constraints in generated DDL.

See Also:
Constant Field Values

XFORM_PSTR_USING_INDEX

static final java.lang.String XFORM_PSTR_USING_INDEX
See Also:
Constant Field Values

XFORM_PARAM_IGNORE_TABLECOL_POS

static final int XFORM_PARAM_IGNORE_TABLECOL_POS
Generates a COL_NUM element (an extension to SXML) for each table column.

See Also:
Constant Field Values

XFORM_PSTR_IGNORE_TABLECOL_POS

static final java.lang.String XFORM_PSTR_IGNORE_TABLECOL_POS
See Also:
Constant Field Values

XFORM_PARAM_STATISTICS

static final int XFORM_PARAM_STATISTICS
See Also:
Constant Field Values

XFORM_PSTR_STATISTICS

static final java.lang.String XFORM_PSTR_STATISTICS
See Also:
Constant Field Values

XFORM_PARAM_COMMENTS

static final int XFORM_PARAM_COMMENTS
Generates SXML and DDL that includes COMMENT ON statements for objects that can have comments, such as tables.

See Also:
Constant Field Values

XFORM_PSTR_COMMENTS

static final java.lang.String XFORM_PSTR_COMMENTS
See Also:
Constant Field Values

XFORM_PSTR_CONSTS_AS_ALTER

static final java.lang.String XFORM_PSTR_CONSTS_AS_ALTER
Generates constraints as separate ALTER statements rather than including them in CREATE TABLE DDL.

See Also:
Constant Field Values

XFORM_PARAM_CONSTS_AS_ALTER

static final int XFORM_PARAM_CONSTS_AS_ALTER
See Also:
Constant Field Values

XFORM_PARAM_PARTITIONS

static final int XFORM_PARAM_PARTITIONS
Suppresses generation of partitioning information in generated DDL.

See Also:
Constant Field Values

XFORM_PSTR_PARTITIONS

static final java.lang.String XFORM_PSTR_PARTITIONS
See Also:
Constant Field Values

XFORM_PARAM_REUSE

static final int XFORM_PARAM_REUSE
Generates the REUSE keyword for tablespace datafiles in generated DDL.

See Also:
Constant Field Values

XFORM_PSTR_REUSE

static final java.lang.String XFORM_PSTR_REUSE
See Also:
Constant Field Values

XFORM_PARAM_SUPPRESS_SCHEMA

static final int XFORM_PARAM_SUPPRESS_SCHEMA
Suppresses generation of the schema in DDL

See Also:
Constant Field Values

XFORM_PSTR_EMIT_SCHEMA

static final java.lang.String XFORM_PSTR_EMIT_SCHEMA
See Also:
Constant Field Values

MAX_XFORM_PARAM_INDEX

static final int MAX_XFORM_PARAM_INDEX
See Also:
Constant Field Values

FULL_XML_TO_TOP_DDL

static final int FULL_XML_TO_TOP_DDL
Transform value specifying transform of MDAPI XML to DDL for a database object.

See Also:
Constant Field Values

FULL_XML_TO_DEP_DDL

static final int FULL_XML_TO_DEP_DDL
Transform value specifying transform of MDAPI XML to DDL for a database object dependents such as table comments.

See Also:
Constant Field Values

FULL_XML_TO_GRANT_DDL

static final int FULL_XML_TO_GRANT_DDL
Transform value specifying transform of MDAPI XML to DDL for grants.

See Also:
Constant Field Values

FULL_XML_TO_SXML

static final int FULL_XML_TO_SXML
Transform value specifying transform of MDAPI XML to SXML.

See Also:
Constant Field Values

SXML_TO_DDL

static final int SXML_TO_DDL
Transform value specifying transform of SXML to Create DDL.

See Also:
Constant Field Values

MODIFY_FULL_XML

static final int MODIFY_FULL_XML
Transform value specifying transform of MDAPI XML to MDAPI XML; used for schema mapping.

See Also:
Constant Field Values

DIFF_SXML_TO_ALTERXML

static final int DIFF_SXML_TO_ALTERXML
Transform value specifying transform of Diff SXML to Alter XML.

See Also:
Constant Field Values

ALTERXML_TO_DDL

static final int ALTERXML_TO_DDL
Transform parameter specifying transform of Alter XML to ALTER DDL.

See Also:
Constant Field Values

FULL_XML_TO_CMXML

static final int FULL_XML_TO_CMXML
Transform parameter specifying transform of Alter XML to CMXML.

See Also:
Constant Field Values

DIFF_SXML_MODE

static final int DIFF_SXML_MODE
Specifies that modifications to an SXML document be made in the form of Diff SXML. Diff SXML can be transformed to Alter XML and ultimately to ALTER DDL. Modifications made in DIFF_SXML_MODE can be undone by calling the XMLAccessor.revert() method.

See Also:
Constant Field Values

CHANGE_IN_PLACE_MODE

static final int CHANGE_IN_PLACE_MODE
Specifies that modifications to an SXML document overwrite the existing SXML, making it impossible to generate Alter XML or to revert the changes.

See Also:
Constant Field Values

DEFAULT_CHANGE_MODE

static final int DEFAULT_CHANGE_MODE
See Also:
Constant Field Values
Method Detail

getXslRoot

java.lang.String getXslRoot()
Returns the operating system directory that contains the WEB_INF/xsls/ directory in which Change Manager-provided stylesheets (.xsl files) are stored. Access to these stylesheets must be provided to allow the XMLAccessor to generate DDL from SXML documents. In installed Enterprise Manager environments, this access can be provided by implementing the getServletContext() method. In other environments, implement the getXslRoot() method.

Returns:
the operating system directory that contains WEB_INF

getServletContext

javax.servlet.ServletContext getServletContext()
Returns the ServletContext, through which the WEB_INF/xsls/ directory in which Change Manager-provided stylesheets (.xsl files) are stored can be located. Access to these stylesheets must be provided to allow the XMLAccessor to generate DDL from SXML documents. In installed Enterprise Manager environments, this access can be provided by implementing the getServletContext() method. In other environments, implement the getXslRoot() method.

Returns:
the ServletContext

getSXMLToDDLTransformParamFlags

int getSXMLToDDLTransformParamFlags(int type)
Allows the client to specify the transform parameters to use when transforming SXML to DDL.

Parameters:
type - one of the CM_OBJTYPE values defined in this interface
Returns:
bitwise-OR of XMLAccessorClient.XFORM_PARAM values. If a flag is specified, the corresponding parameter is set to its non-default value.

getTransformParamFlags

int getTransformParamFlags(int type,
                           int transform)
Allows the client to specify the transform parameters to use for all transforms.

Parameters:
type - one of the CM_OBJTYPE values defined in this interface
transform - one of the transforms defined in this interface
Returns:
bitwise-OR of XMLAccessorClient.XFORM_PARAM values. If a flag is specified, the corresponding parameter is set to its non-default value.

getChangeMode

int getChangeMode()
Allows the client to specify the change mode to use when making changes to the SXML document through the accessor's methods.

Returns:
  • XMLAccessorClient.CHANGE_IN_PLACE_MODE
  • XMLAccessorClient.DIFF_SXML_MODE