public class ShiftDifferentialRule extends TkRule implements ShiftDifferentialRuleContract
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_NAME |
static com.google.common.collect.ImmutableList<String> |
EQUAL_TO_FIELDS |
Constructor and Description |
---|
ShiftDifferentialRule() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Time |
getBeginTime()
The beginning time of the eligible shift
|
String |
getEarnCode()
The earn code associated with the ShiftDifferentialRule
|
EarnCode |
getEarnCodeObj()
The EarnCode object associated with the ShiftDifferentialRule
|
Time |
getEndTime()
The end time of the eligible shift.
|
String |
getFromEarnGroup()
The earn group associated with the ShiftDifferentialRule
|
EarnCodeGroup |
getFromEarnGroupObj()
The EarnCodeGroup object associated with the ShiftDifferentialRule
|
String |
getHrLocationId()
The id of the Location object associated with the ShiftDifferentialRule
|
String |
getHrPayGradeId()
The id of the PayGrade object associated with the ShiftDifferentialRule
|
String |
getHrSalGroup()
The salary group associated with the ShiftDifferentialRule
|
String |
getHrSalGroupId()
The id of the SalaryGroup object associated with the ShiftDifferentialRule
|
String |
getId()
The unique id defined by the object, could be a combination
of multiple fields
|
String |
getLocation()
The location associated with the ShiftDifferentialRule
|
Location |
getLocationObj()
The Location object associated with the ShiftDifferentialRule
|
BigDecimal |
getMaxGap()
The max gap associated with the ShiftDifferentialRule
|
BigDecimal |
getMinHours()
The minimum hours associated with the ShiftDifferentialRule
|
Calendar |
getPayCalendar()
The Calendar object associated with the ShiftDifferentialRule
|
String |
getPayGrade()
The pay grade associated with the ShiftDifferentialRule
|
PayGrade |
getPayGradeObj()
The PayGrade object associated with the ShiftDifferentialRule
|
String |
getPyCalendarGroup()
Pay Calendar record that defines the FLSA period
|
SalaryGroup |
getSalaryGroupObj()
The SalaryGroup object associated with the ShiftDifferentialRule
|
String |
getTkShiftDiffRuleId()
The primary key of a ShiftDifferentialRule entry saved in a database
|
String |
getUniqueKey() |
String |
getUserPrincipalId()
The user that sets up the ShiftDifferentialRule
|
int |
hashCode() |
boolean |
isFriday()
The flag that indicates if Friday is eligible for shift differential.
|
boolean |
isHistory()
The history flag of the ShiftDifferentialRule
|
boolean |
isMonday()
The flag that indicates if Monday is eligible for shift differential.
|
boolean |
isSaturday()
The flag that indicates if Saturday is eligible for shift differential.
|
boolean |
isSunday()
The flag that indicates if Sunday is eligible for shift differential
|
boolean |
isThursday()
The flag that indicates if Thursday is eligible for shift differential.
|
boolean |
isTuesday()
The flag that indicates if Tuesday is eligible for shift differential.
|
boolean |
isWednesday()
The flag that indicates if Wednesday is eligible for shift differential.
|
void |
setBeginTime(Time beginTime) |
void |
setEarnCode(String earnCode) |
void |
setEarnCodeObj(EarnCode earnCodeObj) |
void |
setEndTime(Time endTime) |
void |
setFriday(boolean friday) |
void |
setFromEarnGroup(String fromEarnGroup) |
void |
setFromEarnGroupObj(EarnCodeGroup 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 |
setSalaryGroupObj(SalaryGroup salaryGroupObj) |
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) |
getEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamp, isActive, setActive, setEffectiveDate, setEffectiveLocalDate, setRelativeEffectiveDate, setTimestamp
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamp
public static final String CACHE_NAME
public static final com.google.common.collect.ImmutableList<String> EQUAL_TO_FIELDS
public ShiftDifferentialRule()
public String getTkShiftDiffRuleId()
ShiftDifferentialRuleContract
tkShiftDiffRuleId of a ShiftDifferentialRule
getTkShiftDiffRuleId
in interface ShiftDifferentialRuleContract
public void setTkShiftDiffRuleId(String tkShiftDiffRuleId)
public String getLocation()
ShiftDifferentialRuleContract
If a location is defined, only entries associated with a job in this location will be subject to the shift rule.
getLocation
in interface ShiftDifferentialRuleContract
public void setLocation(String location)
public String getPayGrade()
ShiftDifferentialRuleContract
If a pay grade is defined, only entries associated with a job in this pay grade will be subject to the shift rule.
getPayGrade
in interface ShiftDifferentialRuleContract
public void setPayGrade(String payGrade)
public String getEarnCode()
ShiftDifferentialRuleContract
The earn code that will be applied to the eligible shift and result in additional earnings.
getEarnCode
in interface ShiftDifferentialRuleContract
public void setEarnCode(String earnCode)
public BigDecimal getMinHours()
ShiftDifferentialRuleContract
The minimum number of hours a shift must be in order to qualify for shift differential.
getMinHours
in interface ShiftDifferentialRuleContract
public void setMinHours(BigDecimal minHours)
public BigDecimal getMaxGap()
ShiftDifferentialRuleContract
The maximum number of minutes which can separate time blocks, and still qualify as an eligible shift.
getMaxGap
in interface ShiftDifferentialRuleContract
public void setMaxGap(BigDecimal maxGap)
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.public String getUserPrincipalId()
ShiftDifferentialRuleContract
userPrincipalId of a ShiftDifferentialRule
getUserPrincipalId
in interface ShiftDifferentialRuleContract
public void setUserPrincipalId(String userPrincipalId)
public String getHrSalGroup()
ShiftDifferentialRuleContract
If a salary group is defined, only entries associated with a job in this salary group will be subject to the shift rule.
getHrSalGroup
in interface ShiftDifferentialRuleContract
public void setHrSalGroup(String hrSalGroup)
public String getPyCalendarGroup()
ShiftDifferentialRuleContract
pyCalendarGroup of a ShiftDifferentialRule
getPyCalendarGroup
in interface ShiftDifferentialRuleContract
public void setPyCalendarGroup(String pyCalendarGroup)
public Time getBeginTime()
ShiftDifferentialRuleContract
beginTime of a ShiftDifferentialRule
getBeginTime
in interface ShiftDifferentialRuleContract
public void setBeginTime(Time beginTime)
public Time getEndTime()
ShiftDifferentialRuleContract
This could be on the following day if the eligible shift is overnight.
getEndTime
in interface ShiftDifferentialRuleContract
public void setEndTime(Time endTime)
public String getFromEarnGroup()
ShiftDifferentialRuleContract
The earn group defined (using the Earn Group maint doc) to represent the earn codes to be converted to Shift Differential Earn Code.
getFromEarnGroup
in interface ShiftDifferentialRuleContract
public void setFromEarnGroup(String fromEarnGroup)
public boolean isSunday()
ShiftDifferentialRuleContract
sunday flag of a ShiftDifferentialRule
isSunday
in interface ShiftDifferentialRuleContract
public void setSunday(boolean sunday)
public boolean isMonday()
ShiftDifferentialRuleContract
monday flag of a ShiftDifferentialRule
isMonday
in interface ShiftDifferentialRuleContract
public void setMonday(boolean monday)
public boolean isTuesday()
ShiftDifferentialRuleContract
tuesday flag of a ShiftDifferentialRule
isTuesday
in interface ShiftDifferentialRuleContract
public void setTuesday(boolean tuesday)
public boolean isWednesday()
ShiftDifferentialRuleContract
wednesday flag of a ShiftDifferentialRule
isWednesday
in interface ShiftDifferentialRuleContract
public void setWednesday(boolean wednesday)
public boolean isThursday()
ShiftDifferentialRuleContract
thursday flag of a ShiftDifferentialRule
isThursday
in interface ShiftDifferentialRuleContract
public void setThursday(boolean thursday)
public boolean isFriday()
ShiftDifferentialRuleContract
friday flag of a ShiftDifferentialRule
isFriday
in interface ShiftDifferentialRuleContract
public void setFriday(boolean friday)
public boolean isSaturday()
ShiftDifferentialRuleContract
saturday flag of a ShiftDifferentialRule
isSaturday
in interface ShiftDifferentialRuleContract
public void setSaturday(boolean saturday)
public EarnCode getEarnCodeObj()
ShiftDifferentialRuleContract
The earn code that will be applied to the eligible shift and result in additional earnings.
getEarnCodeObj
in interface ShiftDifferentialRuleContract
public void setEarnCodeObj(EarnCode earnCodeObj)
public SalaryGroup getSalaryGroupObj()
ShiftDifferentialRuleContract
If a salary group is defined, only entries associated with a job in this salary group will be subject to the shift rule.
getSalaryGroupObj
in interface ShiftDifferentialRuleContract
public void setSalaryGroupObj(SalaryGroup salaryGroupObj)
public EarnCodeGroup getFromEarnGroupObj()
ShiftDifferentialRuleContract
The earn group defined (using the Earn Group maint doc) to represent the earn codes to be converted to Shift Differential Earn Code.
getFromEarnGroupObj
in interface ShiftDifferentialRuleContract
public void setFromEarnGroupObj(EarnCodeGroup fromEarnGroupObj)
public Calendar getPayCalendar()
ShiftDifferentialRuleContract
payCalendar for a ShiftDifferentialRule
getPayCalendar
in interface ShiftDifferentialRuleContract
public void setPayCalendar(Calendar payCalendar)
public Location getLocationObj()
ShiftDifferentialRuleContract
If a location is defined, only entries associated with a job in this location will be subject to the shift rule.
getLocationObj
in interface ShiftDifferentialRuleContract
public void setLocationObj(Location locationObj)
public PayGrade getPayGradeObj()
ShiftDifferentialRuleContract
If a pay grade is defined, only entries associated with a job in this pay grade will be subject to the shift rule.
getPayGradeObj
in interface ShiftDifferentialRuleContract
public void setPayGradeObj(PayGrade payGradeObj)
public String getHrSalGroupId()
ShiftDifferentialRuleContract
hrSalGroupId for a ShiftDifferentialRule
getHrSalGroupId
in interface ShiftDifferentialRuleContract
public void setHrSalGroupId(String hrSalGroupId)
public String getHrLocationId()
ShiftDifferentialRuleContract
hrLocationId for a ShiftDifferentialRule
getHrLocationId
in interface ShiftDifferentialRuleContract
public void setHrLocationId(String hrLocationId)
public String getHrPayGradeId()
ShiftDifferentialRuleContract
hrPayGradeId for a ShiftDifferentialRule
getHrPayGradeId
in interface ShiftDifferentialRuleContract
public void setHrPayGradeId(String hrPayGradeId)
public String getUniqueKey()
getUniqueKey
in class HrBusinessObject
public String getId()
HrBusinessObjectContract
id of HrBusinessObject
getId
in interface HrBusinessObjectContract
getId
in class HrBusinessObject
public void setId(String id)
setId
in class HrBusinessObject
public boolean isHistory()
ShiftDifferentialRuleContract
history flag of a ShiftDifferentialRule
isHistory
in interface ShiftDifferentialRuleContract
public void setHistory(boolean history)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.