org.openxava.converters
Interface IMultipleConverter

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Date3Converter, HibernateCompositeTypeConverter

public interface IMultipleConverter
extends java.io.Serializable

This converters must to have properties for fill it before call to toJava or toDB.

Author:
Javier Paniza

Method Summary
 void toDB(java.lang.Object objetoJava)
          First call to this method sending to it the java object that you wish to split, and after you can obtain the splited object acceding to properties.
 java.lang.Object toJava()
          First it's required to set value for properties (with data in DB format), and after call to toJava to obtain a Java object created from this proprerties.
 

Method Detail

toJava

java.lang.Object toJava()
                        throws ConversionException
First it's required to set value for properties (with data in DB format), and after call to toJava to obtain a Java object created from this proprerties.

Throws:
ConversionException

toDB

void toDB(java.lang.Object objetoJava)
          throws ConversionException
First call to this method sending to it the java object that you wish to split, and after you can obtain the splited object acceding to properties.

Throws:
ConversionException