Class Date3Converter

  • All Implemented Interfaces:
    java.io.Serializable, IMultipleConverter

    public class Date3Converter
    extends java.lang.Object
    implements IMultipleConverter
    In java a java.util.Date and in database 3 columns of integer type.

    Author:
    Javier Paniza
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Date3Converter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Date3Converter

        public Date3Converter()
    • Method Detail

      • getYear

        public int getYear()
      • getDay

        public int getDay()
      • getMonth

        public int getMonth()
      • setYear

        public void setYear​(int i)
      • setDay

        public void setDay​(int i)
      • setMonth

        public void setMonth​(int i)