org.kuali.student.enrollment.acal.dto
Class KeyDateInfo
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.KeyDateInfo
- All Implemented Interfaces:
- Serializable, KeyDate, Entity, HasAttributes, HasAttributesAndMeta, HasId, HasMeta, HasPrimaryKey, HasState, HasType, IdEntity, TypeStateEntity
public class KeyDateInfo
- extends IdEntityInfo
- implements KeyDate, 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 |
KeyDateInfo
public KeyDateInfo()
- Constructs a new KeyDateInfo.
KeyDateInfo
public KeyDateInfo(KeyDate keyDate)
- Constructs a new KeyDateInfo from another KeyDate.
- Parameters:
keyDate
- the KeyDate to copy
getIsAllDay
public Boolean getIsAllDay()
- Description copied from interface:
KeyDate
- 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 KeyDate
setIsAllDay
public void setIsAllDay(Boolean isAllDay)
getIsRelativeToKeyDate
public Boolean getIsRelativeToKeyDate()
- Description copied from interface:
KeyDate
- Tests if this KeyDate is relative to another KeyDate.
- Specified by:
getIsRelativeToKeyDate
in interface KeyDate
setIsRelativeToKeyDate
public void setIsRelativeToKeyDate(Boolean isRelativeToKeyDate)
getRelativeAnchorKeyDateId
public String getRelativeAnchorKeyDateId()
- Description copied from interface:
KeyDate
- Gets the anchor KeyDate to which this KeyDate is relative.
- Specified by:
getRelativeAnchorKeyDateId
in interface KeyDate
setRelativeAnchorKeyDateId
public void setRelativeAnchorKeyDateId(String relativeAnchorKeyDateId)
getIsDateRange
public Boolean getIsDateRange()
- Description copied from interface:
KeyDate
- Tests if this key date has a date range.
- Specified by:
getIsDateRange
in interface KeyDate
- 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:
KeyDate
- The start date and time of the key date.
- Specified by:
getStartDate
in interface KeyDate
setStartDate
public void setStartDate(Date startDate)
getEndDate
public Date getEndDate()
- Description copied from interface:
KeyDate
- 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 KeyDate
setEndDate
public void setEndDate(Date endDate)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.