org.kuali.hr.time.calendar
Class CalendarEntries

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.hr.time.calendar.CalendarEntries
All Implemented Interfaces:
Serializable, Comparable<CalendarEntries>, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.core.api.mo.common.GloballyUnique, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.krad.bo.PersistableBusinessObject

public class CalendarEntries
extends org.kuali.rice.krad.bo.PersistableBusinessObjectBase
implements Comparable<CalendarEntries>

This class uses java.sql.Time and java.sql.Date because for each respective component we are only interested in a partial Date or Time, that is for example:

3:55 pm (at any date) 6/22/2010 (at any time) Make sure you are aware of whether or not you need a Local Relative time or an absolute server time. Local Relative Time Methods: (Time/Date without Timezone) LocalDateTime : getBeginLocalDateTime() LocalDateTime : getEndLocalDateTime() Absolute Methods: java.util.Date : getEndPeriodDateTime() java.util.Date : getBeginPeriodDateTime()

See Also:
Serialized Form

Field Summary
static String CACHE_NAME
           
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
CalendarEntries()
           
 
Method Summary
 int compareTo(CalendarEntries pce)
           
 Date getBatchEmployeeApprovalDate()
           
 Time getBatchEmployeeApprovalTime()
           
 Date getBatchEndPayPeriodDate()
           
 Time getBatchEndPayPeriodTime()
           
 Date getBatchInitiateDate()
           
 Time getBatchInitiateTime()
           
 Date getBatchSupervisorApprovalDate()
           
 Time getBatchSupervisorApprovalTime()
           
 org.joda.time.LocalDateTime getBeginLocalDateTime()
          Provides the Begin Period time without timezone information, used for relative calculations.
 Date getBeginPeriodDate()
           
 Date getBeginPeriodDateTime()
           
 Time getBeginPeriodTime()
           
 String getCalendarName()
           
 Calendar getCalendarObj()
           
 org.joda.time.LocalDateTime getEndLocalDateTime()
          Provides the End Period time without timezone information, used for relative calculations.
 Date getEndPeriodDate()
           
 Date getEndPeriodDateTime()
           
 Time getEndPeriodTime()
           
 String getHrCalendarEntriesId()
           
 String getHrCalendarId()
           
 void setBatchEmployeeApprovalDate(Date batchEmployeeApprovalDate)
           
 void setBatchEmployeeApprovalTime(Time batchEmployeeApprovalTime)
           
 void setBatchEndPayPeriodDate(Date batchEndPayPeriodDate)
           
 void setBatchEndPayPeriodTime(Time batchEndPayPeriodTime)
           
 void setBatchInitiateDate(Date batchInitiateDate)
           
 void setBatchInitiateTime(Time batchInitiateTime)
           
 void setBatchSupervisorApprovalDate(Date batchSupervisorApprovalDate)
           
 void setBatchSupervisorApprovalTime(Time batchSupervisorApprovalTime)
           
 void setBeginPeriodDate(Date beginPeriodDate)
           
 void setBeginPeriodDateTime(Date beginPeriodDateTime)
           
 void setBeginPeriodTime(Time beginPeriodTime)
           
 void setCalendarName(String calendarName)
           
 void setCalendarObj(Calendar calendarObj)
           
 void setEndPeriodDate(Date endPeriodDate)
           
 void setEndPeriodDateTime(Date endPeriodDateTime)
           
 void setEndPeriodTime(Time endPeriodTime)
           
 void setHrCalendarEntriesId(String hrCalendarEntriesId)
           
 void setHrCalendarId(String hrCalendarId)
           
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Field Detail

CACHE_NAME

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

CalendarEntries

public CalendarEntries()
Method Detail

getBeginLocalDateTime

public org.joda.time.LocalDateTime getBeginLocalDateTime()
Provides the Begin Period time without timezone information, used for relative calculations.

Returns:
A LocalDateTime representation of the begin period date/time.

getEndLocalDateTime

public org.joda.time.LocalDateTime getEndLocalDateTime()
Provides the End Period time without timezone information, used for relative calculations.

Returns:
A LocalDateTime representation of the end period date/time.

getHrCalendarId

public String getHrCalendarId()

setHrCalendarId

public void setHrCalendarId(String hrCalendarId)

getHrCalendarEntriesId

public String getHrCalendarEntriesId()

setHrCalendarEntriesId

public void setHrCalendarEntriesId(String hrCalendarEntriesId)

getCalendarName

public String getCalendarName()

setCalendarName

public void setCalendarName(String calendarName)

getBeginPeriodDateTime

public Date getBeginPeriodDateTime()

setBeginPeriodDateTime

public void setBeginPeriodDateTime(Date beginPeriodDateTime)

getEndPeriodDateTime

public Date getEndPeriodDateTime()

setEndPeriodDateTime

public void setEndPeriodDateTime(Date endPeriodDateTime)

getBeginPeriodDate

public Date getBeginPeriodDate()

setBeginPeriodDate

public void setBeginPeriodDate(Date beginPeriodDate)

getEndPeriodDate

public Date getEndPeriodDate()

setEndPeriodDate

public void setEndPeriodDate(Date endPeriodDate)

getBeginPeriodTime

public Time getBeginPeriodTime()

setBeginPeriodTime

public void setBeginPeriodTime(Time beginPeriodTime)

getEndPeriodTime

public Time getEndPeriodTime()

setEndPeriodTime

public void setEndPeriodTime(Time endPeriodTime)

getBatchInitiateDate

public Date getBatchInitiateDate()

setBatchInitiateDate

public void setBatchInitiateDate(Date batchInitiateDate)

getBatchInitiateTime

public Time getBatchInitiateTime()

setBatchInitiateTime

public void setBatchInitiateTime(Time batchInitiateTime)

getBatchEndPayPeriodDate

public Date getBatchEndPayPeriodDate()

setBatchEndPayPeriodDate

public void setBatchEndPayPeriodDate(Date batchEndPayPeriodDate)

getBatchEndPayPeriodTime

public Time getBatchEndPayPeriodTime()

setBatchEndPayPeriodTime

public void setBatchEndPayPeriodTime(Time batchEndPayPeriodTime)

getBatchEmployeeApprovalDate

public Date getBatchEmployeeApprovalDate()

setBatchEmployeeApprovalDate

public void setBatchEmployeeApprovalDate(Date batchEmployeeApprovalDate)

getBatchEmployeeApprovalTime

public Time getBatchEmployeeApprovalTime()

setBatchEmployeeApprovalTime

public void setBatchEmployeeApprovalTime(Time batchEmployeeApprovalTime)

getBatchSupervisorApprovalDate

public Date getBatchSupervisorApprovalDate()

setBatchSupervisorApprovalDate

public void setBatchSupervisorApprovalDate(Date batchSupervisorApprovalDate)

getBatchSupervisorApprovalTime

public Time getBatchSupervisorApprovalTime()

setBatchSupervisorApprovalTime

public void setBatchSupervisorApprovalTime(Time batchSupervisorApprovalTime)

getCalendarObj

public Calendar getCalendarObj()

setCalendarObj

public void setCalendarObj(Calendar calendarObj)

compareTo

public int compareTo(CalendarEntries pce)
Specified by:
compareTo in interface Comparable<CalendarEntries>


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