public class Date3Converter extends java.lang.Object implements IMultipleConverter
Constructor and Description |
---|
Date3Converter() |
Modifier and Type | Method and Description |
---|---|
int |
getDay() |
int |
getMonth() |
int |
getYear() |
void |
setDay(int i) |
void |
setMonth(int i) |
void |
setYear(int i) |
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.
|
public java.lang.Object toJava() throws ConversionException
IMultipleConverter
toJava
in interface IMultipleConverter
ConversionException
public void toDB(java.lang.Object objetoJava) throws ConversionException
IMultipleConverter
toDB
in interface IMultipleConverter
ConversionException
public int getYear()
public int getDay()
public int getMonth()
public void setYear(int i)
public void setDay(int i)
public void setMonth(int i)