Class ClosingDay

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ClosingDay
    extends java.lang.Object
    implements java.io.Serializable
    Business class of the closing day
    Author:
    Laurent Payen
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ClosingDay()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.LocalDate getDateOfClosingDay()
      Get the date of the closing day
      int getIdClosingDay()
      Get the id of the closing day
      int getIdForm()
      Get the id of the form the closing day belongs to
      java.sql.Date getSqlDateOfClosingDay()
      Get the date of the closing day (in sql date format)
      void setDateOfClosingDay​(java.time.LocalDate dateOfClosingDay)
      Set the date of the closing day
      void setIdClosingDay​(int nIdClosingDay)
      Set the id of the closing day
      void setIdForm​(int nIdForm)
      Set the form the closing day belongs to
      void setSqlDateOfClosingDay​(java.sql.Date dateOfClosingDay)
      Set the date of the closing day
      • Methods inherited from class java.lang.Object

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

      • ClosingDay

        public ClosingDay()
    • Method Detail

      • getIdClosingDay

        public int getIdClosingDay()
        Get the id of the closing day
        Returns:
        the id of the closing day
      • setIdClosingDay

        public void setIdClosingDay​(int nIdClosingDay)
        Set the id of the closing day
        Parameters:
        nIdClosingDay - the id to set
      • getDateOfClosingDay

        public java.time.LocalDate getDateOfClosingDay()
        Get the date of the closing day
        Returns:
        the date of the closing day
      • getSqlDateOfClosingDay

        public java.sql.Date getSqlDateOfClosingDay()
        Get the date of the closing day (in sql date format)
        Returns:
        the date of the closing day
      • setDateOfClosingDay

        public void setDateOfClosingDay​(java.time.LocalDate dateOfClosingDay)
        Set the date of the closing day
        Parameters:
        dateOfClosingDay - the date to set
      • setSqlDateOfClosingDay

        public void setSqlDateOfClosingDay​(java.sql.Date dateOfClosingDay)
        Set the date of the closing day
        Parameters:
        dateOfClosingDay - the date to set (in sql date format)
      • getIdForm

        public int getIdForm()
        Get the id of the form the closing day belongs to
        Returns:
        the id of the form the closing day belongs to
      • setIdForm

        public void setIdForm​(int nIdForm)
        Set the form the closing day belongs to
        Parameters:
        nIdForm - the if form to set