org.kuali.kpme.core.calendar
Class CalendarParent

java.lang.Object
  extended by org.kuali.kpme.core.calendar.CalendarParent
All Implemented Interfaces:
Serializable, CalendarParentContract
Direct Known Subclasses:
LeaveCalendar, TkCalendar

public abstract class CalendarParent
extends Object
implements Serializable, CalendarParentContract

See Also:
Serialized Form

Constructor Summary
protected CalendarParent()
           
  CalendarParent(CalendarEntry calendarEntry)
           
 
Method Summary
 org.joda.time.DateTime getBeginDateTime()
          The being date time the CalendarParent is associated with
 List<String> getCalendarDayHeadings()
          Assumption of 7 "days" per week, or 7 "blocks" per row.
 CalendarEntry getCalendarEntry()
          The CalendarEntry object the CalendarParent is associated with
 String getCalendarTitle()
          Provides the calendar title / heading.
 org.joda.time.DateTime getEndDateTime()
          The end date time the CalendarParent is associated with
 List<CalendarWeek> getWeeks()
          The list of CalendarWeek objects the CalendarParent is associated with
 void setBeginDateTime(org.joda.time.DateTime beginDateTime)
           
 void setCalendarEntry(CalendarEntry calendarEntry)
           
 void setEndDateTime(org.joda.time.DateTime endDateTime)
           
 void setWeeks(List<CalendarWeek> weeks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarParent

public CalendarParent(CalendarEntry calendarEntry)

CalendarParent

protected CalendarParent()
Method Detail

getBeginDateTime

public org.joda.time.DateTime getBeginDateTime()
Description copied from interface: CalendarParentContract
The being date time the CalendarParent is associated with

beginDateTime of a CalendarParent

Specified by:
getBeginDateTime in interface CalendarParentContract
Returns:
beginDateTime of CalendarParent

setBeginDateTime

public void setBeginDateTime(org.joda.time.DateTime beginDateTime)

getEndDateTime

public org.joda.time.DateTime getEndDateTime()
Description copied from interface: CalendarParentContract
The end date time the CalendarParent is associated with

endDateTime of a CalendarParent

Specified by:
getEndDateTime in interface CalendarParentContract
Returns:
endDateTime of CalendarParent

setEndDateTime

public void setEndDateTime(org.joda.time.DateTime endDateTime)

getCalendarEntry

public CalendarEntry getCalendarEntry()
Description copied from interface: CalendarParentContract
The CalendarEntry object the CalendarParent is associated with

calendarEntry of a CalendarParent

Specified by:
getCalendarEntry in interface CalendarParentContract
Returns:
calendarEntry of CalendarParent

setCalendarEntry

public void setCalendarEntry(CalendarEntry calendarEntry)

getWeeks

public List<CalendarWeek> getWeeks()
Description copied from interface: CalendarParentContract
The list of CalendarWeek objects the CalendarParent is associated with

weeks of a CalendarParent

Specified by:
getWeeks in interface CalendarParentContract
Returns:
weeks of CalendarParent

setWeeks

public void setWeeks(List<CalendarWeek> weeks)

getCalendarTitle

public String getCalendarTitle()
Provides the calendar title / heading. If the Pay Calendar entry spans multiple months, you get Abbreviated Month name + year of both the beginning month and the ending month.

Specified by:
getCalendarTitle in interface CalendarParentContract
Returns:
String for calendar title use.

getCalendarDayHeadings

public List<String> getCalendarDayHeadings()
Assumption of 7 "days" per week, or 7 "blocks" per row.

Specified by:
getCalendarDayHeadings in interface CalendarParentContract
Returns:
A list of string titles for each row block (day)


Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.