org.kuali.hr.time.timesheet
Class TimesheetDocument

java.lang.Object
  extended by org.kuali.hr.time.timesheet.TimesheetDocument
All Implemented Interfaces:
Serializable, CalendarDocumentContract

public class TimesheetDocument
extends Object
implements CalendarDocumentContract, Serializable

See Also:
Serialized Form

Field Summary
static String TIMESHEET_DOCUMENT_TYPE
           
 
Constructor Summary
TimesheetDocument(TimesheetDocumentHeader documentHeader)
           
 
Method Summary
 Date getAsOfDate()
          The the beginning date of the calendar entry for the document.
 List<Assignment> getAssignments()
          The list of assignments for the Document.
 CalendarEntries getCalendarEntry()
          The calendar entry for the Document.
 Date getDocEndDate()
           
 TimesheetDocumentHeader getDocumentHeader()
          The document header for the Document.
 String getDocumentId()
           
 Job getJob(Long jobNumber)
           
 List<Job> getJobs()
           
 String getPrincipalId()
           
 List<TimeBlock> getTimeBlocks()
           
 TimeSummary getTimeSummary()
           
 void setAssignments(List<Assignment> assignments)
           
 void setCalendarEntry(CalendarEntries calendarEntry)
           
 void setDocumentHeader(TimesheetDocumentHeader documentHeader)
           
 void setJobs(List<Job> jobs)
           
 void setTimeBlocks(List<TimeBlock> timeBlocks)
           
 void setTimeSummary(TimeSummary timeSummary)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMESHEET_DOCUMENT_TYPE

public static final String TIMESHEET_DOCUMENT_TYPE
See Also:
Constant Field Values
Constructor Detail

TimesheetDocument

public TimesheetDocument(TimesheetDocumentHeader documentHeader)
Method Detail

getDocumentHeader

public TimesheetDocumentHeader getDocumentHeader()
Description copied from interface: CalendarDocumentContract
The document header for the Document.

Specified by:
getDocumentHeader in interface CalendarDocumentContract
Returns:
documentHeader

setDocumentHeader

public void setDocumentHeader(TimesheetDocumentHeader documentHeader)

getAssignments

public List<Assignment> getAssignments()
Description copied from interface: CalendarDocumentContract
The list of assignments for the Document.

Specified by:
getAssignments in interface CalendarDocumentContract
Returns:
assignments

setAssignments

public void setAssignments(List<Assignment> assignments)

getJobs

public List<Job> getJobs()

setJobs

public void setJobs(List<Job> jobs)

getTimeBlocks

public List<TimeBlock> getTimeBlocks()

setTimeBlocks

public void setTimeBlocks(List<TimeBlock> timeBlocks)

getCalendarEntry

public CalendarEntries getCalendarEntry()
Description copied from interface: CalendarDocumentContract
The calendar entry for the Document.

Specified by:
getCalendarEntry in interface CalendarDocumentContract
Returns:
calendarEntry

setCalendarEntry

public void setCalendarEntry(CalendarEntries calendarEntry)

setTimeSummary

public void setTimeSummary(TimeSummary timeSummary)

getTimeSummary

public TimeSummary getTimeSummary()

getPrincipalId

public String getPrincipalId()

getJob

public Job getJob(Long jobNumber)

getAsOfDate

public Date getAsOfDate()
Description copied from interface: CalendarDocumentContract
The the beginning date of the calendar entry for the document.

Specified by:
getAsOfDate in interface CalendarDocumentContract
Returns:
asOfDate

getDocEndDate

public Date getDocEndDate()

getDocumentId

public String getDocumentId()


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