org.xquark.mapping
Interface UserGenerator

All Superinterfaces:
Generator
All Known Implementing Classes:
KeyGenerator

public interface UserGenerator
extends Generator

This Interface must be implemented by custom mapping users when a column of a relational table must be filled with a custom generated value.

Warning !

User must also supply an object inplementing the TypeInfo interface for this generator.


Method Summary
 java.lang.String getXMLType()
          Return the corresponding XML Schema type using the XML Schema recommendation syntax.
 
Methods inherited from interface org.xquark.mapping.Generator
getValue
 

Method Detail

getXMLType

public java.lang.String getXMLType()
Return the corresponding XML Schema type using the XML Schema recommendation syntax.

You must not use the the prefix for XML Schema namespace which is implicitly defined

.

Examples:/B>

string

decimal

]]>

Returns:
an XML Schema fragment describing a simple type


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