org.kuali.kpme.core.document.calendar
Class CalendarDocument

java.lang.Object
  extended by org.kuali.kpme.core.document.calendar.CalendarDocument
All Implemented Interfaces:
Serializable, CalendarDocumentContract
Direct Known Subclasses:
LeaveCalendarDocument, TimesheetDocument

public abstract class CalendarDocument
extends Object
implements Serializable, CalendarDocumentContract

See Also:
Serialized Form

Field Summary
protected  org.joda.time.LocalDate asOfDate
           
protected  List<Assignment> assignments
           
protected  CalendarEntry calendarEntry
           
protected  String calendarType
           
protected  CalendarDocumentHeader documentHeader
           
 
Constructor Summary
CalendarDocument()
           
 
Method Summary
abstract  org.joda.time.LocalDate getAsOfDate()
          The beginning date of the calendar entry the CalendarDocument is associated with
 Assignment getAssignment(AssignmentDescriptionKey assignmentDescriptionKey)
           
 Map<String,String> getAssignmentDescriptions()
           
abstract  List<Assignment> getAssignments()
          The list of Assignment objects the CalendarDocument is associated with
abstract  CalendarEntry getCalendarEntry()
          The CalendarEntry object the CalendarDocument is associated with
 String getCalendarType()
           
abstract  CalendarDocumentHeader getDocumentHeader()
          The CalendarDocumentHeader object the CalendarDocument is associated with
 String getDocumentId()
           
 String getPrincipalId()
           
 void setCalendarType(String calendarType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

documentHeader

protected CalendarDocumentHeader documentHeader

assignments

protected List<Assignment> assignments

calendarEntry

protected CalendarEntry calendarEntry

asOfDate

protected org.joda.time.LocalDate asOfDate

calendarType

protected String calendarType
Constructor Detail

CalendarDocument

public CalendarDocument()
Method Detail

getDocumentHeader

public abstract CalendarDocumentHeader getDocumentHeader()
Description copied from interface: CalendarDocumentContract
The CalendarDocumentHeader object the CalendarDocument is associated with

documentHeader of a CalendarDocument

Specified by:
getDocumentHeader in interface CalendarDocumentContract
Returns:
documentHeader of CalendarDocument

getAssignments

public abstract List<Assignment> getAssignments()
Description copied from interface: CalendarDocumentContract
The list of Assignment objects the CalendarDocument is associated with

assignments of a CalendarDocument

Specified by:
getAssignments in interface CalendarDocumentContract
Returns:
assignments of CalendarDocument

getCalendarEntry

public abstract CalendarEntry getCalendarEntry()
Description copied from interface: CalendarDocumentContract
The CalendarEntry object the CalendarDocument is associated with

calendarEntry of a CalendarDocument

Specified by:
getCalendarEntry in interface CalendarDocumentContract
Returns:
calendarEntry of CalendarDocument

getAsOfDate

public abstract org.joda.time.LocalDate getAsOfDate()
Description copied from interface: CalendarDocumentContract
The beginning date of the calendar entry the CalendarDocument is associated with

asOfDate of a CalendarDocument

Specified by:
getAsOfDate in interface CalendarDocumentContract
Returns:
asOfDate of CalendarDocument

getDocumentId

public String getDocumentId()

getPrincipalId

public String getPrincipalId()

getCalendarType

public String getCalendarType()

setCalendarType

public void setCalendarType(String calendarType)

getAssignmentDescriptions

public Map<String,String> getAssignmentDescriptions()

getAssignment

public Assignment getAssignment(AssignmentDescriptionKey assignmentDescriptionKey)


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