Class HSDayImp

java.lang.Object
com.deniz.jira.worklog.data.HSDayImp
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HSDayImp>

public class HSDayImp
extends java.lang.Object
implements java.lang.Comparable<HSDayImp>, java.io.Serializable
Implementation class for {@see HSDay}.
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    HSDayImp()  
    HSDayImp​(int id, java.lang.String name, int day, int month, int year, boolean fixed, int duration)  
    HSDayImp​(HSDay hsDay)  
  • Method Summary

    Modifier and Type Method Description
    int compareTo​(HSDayImp other)  
    boolean equals​(java.lang.Object o)  
    int getDay()  
    int getDuration()  
    int getId()  
    int getMonth()  
    java.lang.String getName()  
    int getYear()  
    int hashCode()  
    boolean isFixed()  
    void saveTo​(HSDay hsDay)  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HSDayImp

      public HSDayImp()
    • HSDayImp

      public HSDayImp​(int id, java.lang.String name, int day, int month, int year, boolean fixed, int duration)
    • HSDayImp

      public HSDayImp​(HSDay hsDay)
  • Method Details

    • saveTo

      public void saveTo​(HSDay hsDay)
    • getId

      public int getId()
    • isFixed

      public boolean isFixed()
    • getDay

      public int getDay()
    • getMonth

      public int getMonth()
    • getYear

      public int getYear()
    • getDuration

      public int getDuration()
    • getName

      public java.lang.String getName()
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • compareTo

      public int compareTo​(@Nullable HSDayImp other)
      Specified by:
      compareTo in interface java.lang.Comparable<HSDayImp>