|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.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. |
java.lang.String |
getXMLType()
Return the corresponding XML Schema type using the XML Schema recommendation syntax. |
Method Detail |
public java.lang.Object getValue(StorageContext context)
getValue
in interface Generator
context
- Passed by the mapping algorithm to provide an access
to storage system variables.
public java.lang.String getXMLType()
You must not use the the prefix for XML Schema namespace which is implicitly defined
.Examples:/B>
string
decimal
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |