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()
           
 Date getBatchEmployeeApprovalDateTime()
           
 Time getBatchEmployeeApprovalTime()
           
 Date getBatchEndPayPeriodDate()
           
 Date getBatchEndPayPeriodDateTime()
           
 Time getBatchEndPayPeriodTime()
           
 Date getBatchInitiateDate()
           
 Date getBatchInitiateDateTime()
           
 Time getBatchInitiateTime()
           
 Date getBatchSupervisorApprovalDate()
           
 Date getBatchSupervisorApprovalDateTime()
           
 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 setBatchEmployeeApprovalDateTime(Date batchEmployeeApprovalDateTime)
           
 void setBatchEmployeeApprovalTime(Time batchEmployeeApprovalDate)
           
 void setBatchEndPayPeriodDate(Date batchEndPayPeriodDate)
           
 void setBatchEndPayPeriodDateTime(Date batchEndPayPeriodDateTime)
           
 void setBatchEndPayPeriodTime(Time batchEndPayPeriodDate)
           
 void setBatchInitiateDate(Date batchInitiateDate)
           
 void setBatchInitiateDateTime(Date batchInitiateDateTime)
           
 void setBatchInitiateTime(Time batchInitiateDate)
           
 void setBatchSupervisorApprovalDate(Date batchSupervisorApprovalDate)
           
 void setBatchSupervisorApprovalDateTime(Date batchSupervisorApprovalDateTime)
           
 void setBatchSupervisorApprovalTime(Time batchSupervisorApprovalDate)
           
 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 endPeriodDate)
           
 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

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)

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.

getBeginPeriodDate

public Date getBeginPeriodDate()

setBeginPeriodDate

public void setBeginPeriodDate(Date beginPeriodDate)

getBeginPeriodTime

public Time getBeginPeriodTime()

setBeginPeriodTime

public void setBeginPeriodTime(Time beginPeriodTime)

getEndPeriodDateTime

public Date getEndPeriodDateTime()

setEndPeriodDateTime

public void setEndPeriodDateTime(Date endPeriodDateTime)

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.

getEndPeriodDate

public Date getEndPeriodDate()

setEndPeriodDate

public void setEndPeriodDate(Date endPeriodDate)

getEndPeriodTime

public Time getEndPeriodTime()

setEndPeriodTime

public void setEndPeriodTime(Time endPeriodDate)

getBatchInitiateDateTime

public Date getBatchInitiateDateTime()

setBatchInitiateDateTime

public void setBatchInitiateDateTime(Date batchInitiateDateTime)

getBatchInitiateDate

public Date getBatchInitiateDate()

setBatchInitiateDate

public void setBatchInitiateDate(Date batchInitiateDate)

getBatchInitiateTime

public Time getBatchInitiateTime()

setBatchInitiateTime

public void setBatchInitiateTime(Time batchInitiateDate)

getBatchEndPayPeriodDateTime

public Date getBatchEndPayPeriodDateTime()

setBatchEndPayPeriodDateTime

public void setBatchEndPayPeriodDateTime(Date batchEndPayPeriodDateTime)

getBatchEndPayPeriodDate

public Date getBatchEndPayPeriodDate()

setBatchEndPayPeriodDate

public void setBatchEndPayPeriodDate(Date batchEndPayPeriodDate)

getBatchEndPayPeriodTime

public Time getBatchEndPayPeriodTime()

setBatchEndPayPeriodTime

public void setBatchEndPayPeriodTime(Time batchEndPayPeriodDate)

getBatchEmployeeApprovalDateTime

public Date getBatchEmployeeApprovalDateTime()

setBatchEmployeeApprovalDateTime

public void setBatchEmployeeApprovalDateTime(Date batchEmployeeApprovalDateTime)

getBatchEmployeeApprovalDate

public Date getBatchEmployeeApprovalDate()

setBatchEmployeeApprovalDate

public void setBatchEmployeeApprovalDate(Date batchEmployeeApprovalDate)

getBatchEmployeeApprovalTime

public Time getBatchEmployeeApprovalTime()

setBatchEmployeeApprovalTime

public void setBatchEmployeeApprovalTime(Time batchEmployeeApprovalDate)

getBatchSupervisorApprovalDateTime

public Date getBatchSupervisorApprovalDateTime()

setBatchSupervisorApprovalDateTime

public void setBatchSupervisorApprovalDateTime(Date batchSupervisorApprovalDateTime)

getBatchSupervisorApprovalDate

public Date getBatchSupervisorApprovalDate()

setBatchSupervisorApprovalDate

public void setBatchSupervisorApprovalDate(Date batchSupervisorApprovalDate)

getBatchSupervisorApprovalTime

public Time getBatchSupervisorApprovalTime()

setBatchSupervisorApprovalTime

public void setBatchSupervisorApprovalTime(Time batchSupervisorApprovalDate)

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-2013 The Kuali Foundation. All Rights Reserved.