Package org.openxava.converters
Interface IMultipleConverter
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
Date3Converter,HibernateCompositeTypeConverter
public interface IMultipleConverter extends java.io.SerializableThis converters must to have properties for fill it before call to toJava or toDB.- Author:
- Javier Paniza
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidtoDB(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.ObjecttoJava()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 ConversionExceptionFirst 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
-
-