All Packages Class Hierarchy This Package Previous Next Index
Applications that want DOMToDBMS to generate key values pass an instance of an object that implements this class to DOMToDBMS. Keys are used to join tables (class table-to-class table or class table- to-property table) and also to retrieve data from root tables. Whether DOMToDBMS generates a key for a given table (or one or more properties are mapped to the key columns) depends on the mapping to that table.
Programmers using XML-DBMS never need to call the method (generateKey) in this interface; it is called only by DOMToDBMS. Programmers only need to supply an object that implements this interface to DOMToDBMS if they want DOMToDBMS to generate keys.
The helper class KeyGeneratorImpl provides a default implementation of this interface.
public abstract Object[] generateKey() throws KeyException
This method is called by DOMToDBMS. Programmers using DOMToDBMS do not need to call this method.
All Packages Class Hierarchy This Package Previous Next Index