org.kuali.student.enrollment.acal.dto
Class HolidayInfo
java.lang.Object
org.kuali.student.r2.common.dto.HasAttributesInfo
org.kuali.student.r2.common.dto.HasAttributesAndMetaInfo
org.kuali.student.r2.common.dto.TypeStateEntityInfo
org.kuali.student.r2.common.dto.EntityInfo
org.kuali.student.r2.common.dto.IdEntityInfo
org.kuali.student.enrollment.acal.dto.HolidayInfo
- All Implemented Interfaces:
- Serializable, Holiday, Entity, HasAttributes, HasAttributesAndMeta, HasId, HasMeta, HasPrimaryKey, HasState, HasType, IdEntity, TypeStateEntity
public class HolidayInfo
- extends IdEntityInfo
- implements Holiday, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.student.r2.common.infc.HasId |
getId |
Methods inherited from interface org.kuali.student.r2.common.infc.HasMeta |
getMeta |
HolidayInfo
public HolidayInfo()
- Constructs a new HolidayInfo.
HolidayInfo
public HolidayInfo(Holiday holiday)
- Constructs a new HolidayInfo from another Holiday.
- Parameters:
holiday
- the Holiday to copy
getIsInstructionalDay
public Boolean getIsInstructionalDay()
- Description copied from interface:
Holiday
- Tests if this holiday is an instructional day.
- Specified by:
getIsInstructionalDay
in interface Holiday
setIsInstructionalDay
public void setIsInstructionalDay(Boolean isInstructionalDay)
getIsAllDay
public Boolean getIsAllDay()
- Description copied from interface:
Holiday
- Tests if this key date is an all day event. An all-day event
does not have a meaningful time component in the date.
- Specified by:
getIsAllDay
in interface Holiday
setIsAllDay
public void setIsAllDay(Boolean isAllDay)
getIsDateRange
public Boolean getIsDateRange()
- Description copied from interface:
Holiday
- Tests if this key date has a date range.
- Specified by:
getIsDateRange
in interface Holiday
- Returns:
- true if the end date is different than the start
date, false if the start end end date are the same
setIsDateRange
public void setIsDateRange(Boolean isDateRange)
getStartDate
public Date getStartDate()
- Description copied from interface:
Holiday
- The start date and time of the key date.
- Specified by:
getStartDate
in interface Holiday
setStartDate
public void setStartDate(Date startDate)
getEndDate
public Date getEndDate()
- Description copied from interface:
Holiday
- The end date and time of the key date. The end
date must be equal to or greater that the start.
- Specified by:
getEndDate
in interface Holiday
setEndDate
public void setEndDate(Date endDate)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.