org.kuali.hr.time.calendar
Class CalendarParent

java.lang.Object
  extended by org.kuali.hr.time.calendar.CalendarParent
Direct Known Subclasses:
LeaveCalendar, TkCalendar

public abstract class CalendarParent
extends Object


Constructor Summary
protected CalendarParent()
           
  CalendarParent(CalendarEntries calendarEntry)
           
 
Method Summary
 org.joda.time.DateTime getBeginDateTime()
           
 List<String> getCalendarDayHeadings()
          Assumption of 7 "days" per week, or 7 "blocks" per row.
 CalendarEntries getCalendarEntry()
           
 String getCalendarTitle()
          Provides the calendar title / heading.
 org.joda.time.DateTime getEndDateTime()
           
 List<CalendarWeek> getWeeks()
           
 void setBeginDateTime(org.joda.time.DateTime beginDateTime)
           
 void setCalendarEntry(CalendarEntries 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(CalendarEntries calendarEntry)

CalendarParent

protected CalendarParent()
Method Detail

getBeginDateTime

public org.joda.time.DateTime getBeginDateTime()

setBeginDateTime

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

getEndDateTime

public org.joda.time.DateTime getEndDateTime()

setEndDateTime

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

getCalendarEntry

public CalendarEntries getCalendarEntry()

setCalendarEntry

public void setCalendarEntry(CalendarEntries calendarEntry)

getWeeks

public List<CalendarWeek> getWeeks()

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.

Returns:
String for calendar title use.

getCalendarDayHeadings

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

Returns:
A list of string titles for each row block (day)


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