|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.converters.Date3Converter
public class Date3Converter
In java a java.util.Date and in database 3 columns of integer type.
| Constructor Summary | |
|---|---|
Date3Converter()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Date3Converter()
| Method Detail |
|---|
public java.lang.Object toJava()
throws ConversionException
IMultipleConverter
toJava in interface IMultipleConverterConversionException
public void toDB(java.lang.Object objetoJava)
throws ConversionException
IMultipleConverter
toDB in interface IMultipleConverterConversionExceptionpublic int getYear()
public int getDay()
public int getMonth()
public void setYear(int i)
public void setDay(int i)
public void setMonth(int i)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||