org.jcrontab.data
Class HoliDay

java.lang.Object
  extended byorg.jcrontab.data.HoliDay

public class HoliDay
extends java.lang.Object

This Bean reresents the basis to build BussnesDays logic, basically represents the Holiday

Version:
$Revision: 1.1 $
Author:
$Author: iolalla $

Constructor Summary
HoliDay()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Date getDate()
          date Getter
 int getId()
          This id getter
 void setDate(java.util.Date date)
          This date setter
 void setId(int id)
          This id setter
static HoliDay[] toArray(java.lang.Object[] obj)
          Helps to do the castings in a more simple way.
 java.lang.String toString()
          Represents the HoliDay in ASCII format
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HoliDay

public HoliDay()
Method Detail

setId

public void setId(int id)
This id setter

Parameters:
id - int the id of this bean

getId

public int getId()
This id getter

Returns:
id int the id of this bean

setDate

public void setDate(java.util.Date date)
This date setter


getDate

public java.util.Date getDate()
date Getter

Returns:
String the date of this holiday

toString

public java.lang.String toString()
Represents the HoliDay in ASCII format

Returns:
the returning string

equals

public boolean equals(java.lang.Object obj)
Parameters:
obj - Object to compare with the Holidays Bean
Returns:
true if the time table entry matchs with the Object given false otherwise

toArray

public static HoliDay[] toArray(java.lang.Object[] obj)
Helps to do the castings in a more simple way.

Parameters:
obj - Object to cast to CrontabEntryBean
Returns:
The resulting array of CrontabEntryBean