org.xquark.mapping
Interface Generator

All Known Subinterfaces:
UserGenerator

public interface Generator

Object that provide the value to store in a column


Method Summary
 java.lang.Object getValue(StorageContext context)
          This method is called by the custom XMLCollection storage algorithm when a user-generated column of a relational table is filled.
 

Method Detail

getValue

public java.lang.Object getValue(StorageContext context)
This method is called by the custom XMLCollection storage algorithm when a user-generated column of a relational table is filled. The Object type returned must be consistent with column target SQL type.

Parameters:
context - Passed by the mapping algorithm to provide an access to storage system variables.
Returns:
An Object, that must be, from a JDBC 2.0 point of view, consistent with column target SQL type.


Copyright © 2003 Université de Versailles Saint-Quentin, XQuark Group. All rights reserved.