org.kuali.student.enrollment.acal.dto
Class KeyDateInfo

java.lang.Object
  extended by org.kuali.student.r2.common.dto.HasAttributesInfo
      extended by org.kuali.student.r2.common.dto.HasAttributesAndMetaInfo
          extended by org.kuali.student.r2.common.dto.TypeStateEntityInfo
              extended by org.kuali.student.r2.common.dto.EntityInfo
                  extended by org.kuali.student.r2.common.dto.IdEntityInfo
                      extended by 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

Constructor Summary
KeyDateInfo()
          Constructs a new KeyDateInfo.
KeyDateInfo(KeyDate keyDate)
          Constructs a new KeyDateInfo from another KeyDate.
 
Method Summary
 Date getEndDate()
          The end date and time of the key date.
 Boolean getIsAllDay()
          Tests if this key date is an all day event.
 Boolean getIsDateRange()
          Tests if this key date has a date range.
 Boolean getIsRelativeToKeyDate()
          Tests if this KeyDate is relative to another KeyDate.
 String getRelativeAnchorKeyDateId()
          Gets the anchor KeyDate to which this KeyDate is relative.
 Date getStartDate()
          The start date and time of the key date.
 void setEndDate(Date endDate)
           
 void setIsAllDay(Boolean isAllDay)
           
 void setIsDateRange(Boolean isDateRange)
           
 void setIsRelativeToKeyDate(Boolean isRelativeToKeyDate)
           
 void setRelativeAnchorKeyDateId(String relativeAnchorKeyDateId)
           
 void setStartDate(Date startDate)
           
 
Methods inherited from class org.kuali.student.r2.common.dto.IdEntityInfo
getId, setId
 
Methods inherited from class org.kuali.student.r2.common.dto.EntityInfo
getDescr, getName, setDescr, setName
 
Methods inherited from class org.kuali.student.r2.common.dto.TypeStateEntityInfo
getState, getStateKey, getType, getTypeKey, setState, setStateKey, setType, setTypeKey
 
Methods inherited from class org.kuali.student.r2.common.dto.HasAttributesAndMetaInfo
getMeta, setMeta
 
Methods inherited from class org.kuali.student.r2.common.dto.HasAttributesInfo
getAttributes, getAttributeValue, getAttributeValueList, setAttributes
 
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.Entity
getDescr, getName
 
Methods inherited from interface org.kuali.student.r2.common.infc.HasType
getType, getTypeKey
 
Methods inherited from interface org.kuali.student.r2.common.infc.HasState
getState, getStateKey
 
Methods inherited from interface org.kuali.student.r2.common.infc.HasAttributes
getAttributes
 
Methods inherited from interface org.kuali.student.r2.common.infc.HasMeta
getMeta
 

Constructor Detail

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
Method Detail

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.