org.kuali.hr.time.shiftdiff.rule
Class ShiftDifferentialRule

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.HrBusinessObject
              extended by org.kuali.hr.time.rule.TkRule
                  extended by org.kuali.hr.time.shiftdiff.rule.ShiftDifferentialRule
All Implemented Interfaces:
Serializable, 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 ShiftDifferentialRule
extends TkRule

See Also:
Serialized Form

Field Summary
static String CACHE_NAME
           
 
Fields inherited from class org.kuali.hr.time.HrBusinessObject
active, effectiveDate, timestamp
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
ShiftDifferentialRule()
           
 
Method Summary
 Time getBeginTime()
           
 String getEarnCode()
           
 EarnCode getEarnCodeObj()
           
 Date getEffectiveDate()
           
 Time getEndTime()
           
 String getFromEarnGroup()
           
 EarnGroup getFromEarnGroupObj()
           
 String getHrLocationId()
           
 String getHrPayGradeId()
           
 String getHrSalGroup()
           
 String getHrSalGroupId()
           
 String getId()
           
 String getLocation()
           
 Location getLocationObj()
           
 BigDecimal getMaxGap()
           
 BigDecimal getMinHours()
           
 Calendar getPayCalendar()
           
 String getPayGrade()
           
 PayGrade getPayGradeObj()
           
 String getPyCalendarGroup()
           
 SalGroup getSalGroupObj()
           
 String getTkShiftDiffRuleId()
           
 String getUniqueKey()
           
 String getUserPrincipalId()
           
 boolean isActive()
           
 boolean isFriday()
           
 boolean isHistory()
           
 boolean isMonday()
           
 boolean isSaturday()
           
 boolean isSunday()
           
 boolean isThursday()
           
 boolean isTuesday()
           
 boolean isWednesday()
           
 void setActive(boolean active)
           
 void setBeginTime(Time beginTime)
           
 void setEarnCode(String earnCode)
           
 void setEarnCodeObj(EarnCode earnCodeObj)
           
 void setEffectiveDate(Date effectiveDate)
           
 void setEndTime(Time endTime)
           
 void setFriday(boolean friday)
           
 void setFromEarnGroup(String fromEarnGroup)
           
 void setFromEarnGroupObj(EarnGroup fromEarnGroupObj)
           
 void setHistory(boolean history)
           
 void setHrLocationId(String hrLocationId)
           
 void setHrPayGradeId(String hrPayGradeId)
           
 void setHrSalGroup(String hrSalGroup)
           
 void setHrSalGroupId(String hrSalGroupId)
           
 void setId(String id)
           
 void setLocation(String location)
           
 void setLocationObj(Location locationObj)
           
 void setMaxGap(BigDecimal maxGap)
           
 void setMinHours(BigDecimal minHours)
           
 void setMonday(boolean monday)
           
 void setPayCalendar(Calendar payCalendar)
           
 void setPayGrade(String payGrade)
           
 void setPayGradeObj(PayGrade payGradeObj)
           
 void setPyCalendarGroup(String pyCalendarGroup)
           
 void setSalGroupObj(SalGroup salGroupObj)
           
 void setSaturday(boolean saturday)
           
 void setSunday(boolean sunday)
           
 void setThursday(boolean thursday)
           
 void setTkShiftDiffRuleId(String tkShiftDiffRuleId)
           
 void setTuesday(boolean tuesday)
           
 void setUserPrincipalId(String userPrincipalId)
           
 void setWednesday(boolean wednesday)
           
 
Methods inherited from class org.kuali.hr.time.HrBusinessObject
getTimestamp, setTimestamp
 
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

ShiftDifferentialRule

public ShiftDifferentialRule()
Method Detail

getTkShiftDiffRuleId

public String getTkShiftDiffRuleId()

setTkShiftDiffRuleId

public void setTkShiftDiffRuleId(String tkShiftDiffRuleId)

getLocation

public String getLocation()

setLocation

public void setLocation(String location)

getPayGrade

public String getPayGrade()

setPayGrade

public void setPayGrade(String payGrade)

getEffectiveDate

public Date getEffectiveDate()
Overrides:
getEffectiveDate in class HrBusinessObject

setEffectiveDate

public void setEffectiveDate(Date effectiveDate)
Overrides:
setEffectiveDate in class HrBusinessObject

getEarnCode

public String getEarnCode()

setEarnCode

public void setEarnCode(String earnCode)

getMinHours

public BigDecimal getMinHours()

setMinHours

public void setMinHours(BigDecimal minHours)

getMaxGap

public BigDecimal getMaxGap()
Returns:
The maximum gap, in hours.

setMaxGap

public void setMaxGap(BigDecimal maxGap)
Parameters:
maxGap - The number of hours that can be between one time block and another for the rule to consider it part of the same shift.

getUserPrincipalId

public String getUserPrincipalId()

setUserPrincipalId

public void setUserPrincipalId(String userPrincipalId)

isActive

public boolean isActive()
Overrides:
isActive in class HrBusinessObject

setActive

public void setActive(boolean active)
Overrides:
setActive in class HrBusinessObject

getHrSalGroup

public String getHrSalGroup()

setHrSalGroup

public void setHrSalGroup(String hrSalGroup)

getPyCalendarGroup

public String getPyCalendarGroup()

setPyCalendarGroup

public void setPyCalendarGroup(String pyCalendarGroup)

getBeginTime

public Time getBeginTime()

setBeginTime

public void setBeginTime(Time beginTime)

getEndTime

public Time getEndTime()

setEndTime

public void setEndTime(Time endTime)

getFromEarnGroup

public String getFromEarnGroup()

setFromEarnGroup

public void setFromEarnGroup(String fromEarnGroup)

isSunday

public boolean isSunday()

setSunday

public void setSunday(boolean sunday)

isMonday

public boolean isMonday()

setMonday

public void setMonday(boolean monday)

isTuesday

public boolean isTuesday()

setTuesday

public void setTuesday(boolean tuesday)

isWednesday

public boolean isWednesday()

setWednesday

public void setWednesday(boolean wednesday)

isThursday

public boolean isThursday()

setThursday

public void setThursday(boolean thursday)

isFriday

public boolean isFriday()

setFriday

public void setFriday(boolean friday)

isSaturday

public boolean isSaturday()

setSaturday

public void setSaturday(boolean saturday)

getEarnCodeObj

public EarnCode getEarnCodeObj()

setEarnCodeObj

public void setEarnCodeObj(EarnCode earnCodeObj)

getSalGroupObj

public SalGroup getSalGroupObj()

setSalGroupObj

public void setSalGroupObj(SalGroup salGroupObj)

getFromEarnGroupObj

public EarnGroup getFromEarnGroupObj()

setFromEarnGroupObj

public void setFromEarnGroupObj(EarnGroup fromEarnGroupObj)

getPayCalendar

public Calendar getPayCalendar()

setPayCalendar

public void setPayCalendar(Calendar payCalendar)

getLocationObj

public Location getLocationObj()

setLocationObj

public void setLocationObj(Location locationObj)

getPayGradeObj

public PayGrade getPayGradeObj()

setPayGradeObj

public void setPayGradeObj(PayGrade payGradeObj)

getHrSalGroupId

public String getHrSalGroupId()

setHrSalGroupId

public void setHrSalGroupId(String hrSalGroupId)

getHrLocationId

public String getHrLocationId()

setHrLocationId

public void setHrLocationId(String hrLocationId)

getHrPayGradeId

public String getHrPayGradeId()

setHrPayGradeId

public void setHrPayGradeId(String hrPayGradeId)

getUniqueKey

public String getUniqueKey()
Specified by:
getUniqueKey in class HrBusinessObject

getId

public String getId()
Specified by:
getId in class HrBusinessObject

setId

public void setId(String id)
Specified by:
setId in class HrBusinessObject

isHistory

public boolean isHistory()

setHistory

public void setHistory(boolean history)


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