Package edu.wpi.cs.DSRG.xmldb.operators

Interface Summary
Operator Operator.java is the interface for all other operator classes.
 

Class Summary
pushDownAttributeObject pushDownAttributeObject.java will move attribute a of item A to attribute b of item B constructor: public pushDownAttributeObject(JDBCClient client, String ChildItemName, String ChildAttributeName, String ParentItemName, String ParentAttributeName, String DTD_URI, int myID) member variables: client - used to connect to oracle ChildItemName - the name of the child item ChildAttributeName - the name of the child attribute ParentItemName - the name of the parent item ParentAttributeName - the name of the parent attribute DTD_URI - the location of the DTD DTD_ID - the id specifying which DTD to modify myID - the operator's id oldView - the old view rs - the resultset used for processing queries member functions: execute() - executes the queries
pushDownNestingObject pushDownNestingObject.java will move up a nesting relationship along the DTD structure constructor: public pushDownNestingObject(JDBCClient client, String MovedItemName, String ParentItemName, int ParentPosition, int FromPosition, String ChildItemName, int ToPosition, String DTD_URI, int myID) member variables: client - used to connect to oracle MovedItemName - the name of the item to be moved ChildItemName - the name of the child item ParentItemName - the name of the parent item ParentPosition - the parent nesting position FromPosition - the original nesting position ToPosition - the final nesting position DTD_URI - the location of the DTD DTD_ID - the id specifying which DTD to modify myID - the operator's id oldView - the old view rs - the resultset used for processing queries member functions: execute() - executes the queries
pushUpAttributeObject pushUpAttributeObject.java will move attribute b of item B as attribute a of item A constructor: public pushUpAttributeObject(JDBCClient client, String ChildItemName, String ChildAttributeName, String ParentItemName, String ParentAttributeName, String DTD_URI, int myID) member variables: client - used to connect to oracle ChildItemName - the name of the child item ChildAttributeName - the name of the child attribute ParentItemName - the name of the parent item ParentAttributeName - the name of the parent attribute DTD_URI - the location of the DTD DTD_ID - the id specifying which DTD to modify myID - the operator's id oldView - the old view rs - the resultset used for processing queries member functions: execute() - executes the queries
pushUpNestingObject pushUpNestingObject.java will move up a nesting relationship along the DTD structure constructor: public pushUpNestingObject(JDBCClient client, String MovedItemName, String ChildItemName, int FromPosition, String ParentItemName, int ParentPosition, int ToPosition, String DTD_URI) member variables: client - used to connect to oracle MovedItemName - the name of the item to be moved ChildItemName - the name of the child item ParentItemName - the name of the parent item ParentPosition - the parent nesting position FromPosition - the original nesting position ToPosition - the final nesting position DTD_URI - the location of the DTD DTD_ID - the id specifying which DTD to modify myID - the operator's id oldView - the old view rs - the resultset used for processing queries member functions: execute() - executes the queries
renameAttributeObject renameAttributeObject.java represents the attribute that is to be renamed constructor: public renameAttributeObject(JDBCClient client, String ParentItemName, String OldAttributeName, String NewAttributeName, String DTD_URI, int myID) member variables: client - used to connect to oracle ParentItemName - the parent name of the item OldAttributeName - the current name of the attribute NewAttributeName - the new name of the attribute DTD_URI - the location of the DTD DTD_ID - the id specifying which DTD to modify myID - the operator's id oldView - the old view rs - the resultset used for processing queries member functions: execute() - executes the queries
renameItemObject renameItemObject.java represents the attribute that is to be renamed constructor: public renameItemObject(JDBCClient client, String OldItemName, String NewItemName, String DTD_URI, int myID) member variables: client - used to connect to oracle OldItemName - the current name of the item NewItemName - the new name of the item DTD_URI - the location of the DTD DTD_ID - the id specifying which DTD to modify myID - the operator's id oldView - the old view rs - the resultset used for processing queries member functions: execute() - executes the queries
switchNestingObject switchNestingObject.java will switch two nesting relationship for same parent constructor: public switchNestingObject(JDBCClient client, String ParentItemName, String ChildItemAName, int PositionA, String ChildItemBName, int PositionB, String DTD_URI, int myID) member variables: client - used to connect to oracle ParentItemName - the current parent name of the item ChildItemAName - the child name of the item a ChildItemBName - the child name of the item b PositionA - the position of the nesting a PositionB - the position of the nesting b DTD_URI - the location of the DTD DTD_ID - the id specifying which DTD to modify myID - the operator's id oldView - the old view rs - the resultset used for processing queries member functions: execute() - executes the queries