|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.nachocalendar.holidays.DefaultHoliDay
public class DefaultHoliDay
Default implementation for holidays.
Constructor Summary | |
---|---|
DefaultHoliDay()
Creates a new instance of HoliDay. |
Method Summary | |
---|---|
java.util.Date |
getDate()
Getter for property date. |
java.lang.String |
getDescription()
Getter for property description. |
java.lang.String |
getName()
Getter for property name. |
boolean |
isRecurrent()
Getter for property recurrent. |
void |
setDate(java.util.Date date)
Setter for property date. |
void |
setDescription(java.lang.String description)
Setter for property description. |
void |
setName(java.lang.String name)
Setter for property name. |
void |
setRecurrent(boolean recurrent)
Setter for property recurrent. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultHoliDay()
Method Detail |
---|
public java.lang.String getName()
getName
in interface HoliDay
public void setName(java.lang.String name)
setName
in interface HoliDay
name
- New value of property name.public java.util.Date getDate()
getDate
in interface HoliDay
public void setDate(java.util.Date date)
setDate
in interface HoliDay
date
- New value of property date.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- New value of property description.public boolean isRecurrent()
isRecurrent
in interface HoliDay
public void setRecurrent(boolean recurrent)
setRecurrent
in interface HoliDay
recurrent
- New value of property recurrent.public java.lang.String toString()
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |