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, setTimestampafterDelete, 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, setVersionNumberclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamppublic static final String CACHE_NAME
public static final com.google.common.collect.ImmutableList<String> EQUAL_TO_FIELDS
public ShiftDifferentialRule()
public String getTkShiftDiffRuleId()
ShiftDifferentialRuleContracttkShiftDiffRuleId of a ShiftDifferentialRule
getTkShiftDiffRuleId in interface ShiftDifferentialRuleContractpublic void setTkShiftDiffRuleId(String tkShiftDiffRuleId)
public String getLocation()
ShiftDifferentialRuleContractIf a location is defined, only entries associated with a job in this location will be subject to the shift rule.
getLocation in interface ShiftDifferentialRuleContractpublic void setLocation(String location)
public String getPayGrade()
ShiftDifferentialRuleContractIf 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 ShiftDifferentialRuleContractpublic void setPayGrade(String payGrade)
public String getEarnCode()
ShiftDifferentialRuleContractThe earn code that will be applied to the eligible shift and result in additional earnings.
getEarnCode in interface ShiftDifferentialRuleContractpublic void setEarnCode(String earnCode)
public BigDecimal getMinHours()
ShiftDifferentialRuleContractThe minimum number of hours a shift must be in order to qualify for shift differential.
getMinHours in interface ShiftDifferentialRuleContractpublic void setMinHours(BigDecimal minHours)
public BigDecimal getMaxGap()
ShiftDifferentialRuleContractThe maximum number of minutes which can separate time blocks, and still qualify as an eligible shift.
getMaxGap in interface ShiftDifferentialRuleContractpublic 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()
ShiftDifferentialRuleContractuserPrincipalId of a ShiftDifferentialRule
getUserPrincipalId in interface ShiftDifferentialRuleContractpublic void setUserPrincipalId(String userPrincipalId)
public String getHrSalGroup()
ShiftDifferentialRuleContractIf 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 ShiftDifferentialRuleContractpublic void setHrSalGroup(String hrSalGroup)
public String getPyCalendarGroup()
ShiftDifferentialRuleContractpyCalendarGroup of a ShiftDifferentialRule
getPyCalendarGroup in interface ShiftDifferentialRuleContractpublic void setPyCalendarGroup(String pyCalendarGroup)
public Time getBeginTime()
ShiftDifferentialRuleContractbeginTime of a ShiftDifferentialRule
getBeginTime in interface ShiftDifferentialRuleContractpublic void setBeginTime(Time beginTime)
public Time getEndTime()
ShiftDifferentialRuleContractThis could be on the following day if the eligible shift is overnight.
getEndTime in interface ShiftDifferentialRuleContractpublic void setEndTime(Time endTime)
public String getFromEarnGroup()
ShiftDifferentialRuleContractThe 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 ShiftDifferentialRuleContractpublic void setFromEarnGroup(String fromEarnGroup)
public boolean isSunday()
ShiftDifferentialRuleContractsunday flag of a ShiftDifferentialRule
isSunday in interface ShiftDifferentialRuleContractpublic void setSunday(boolean sunday)
public boolean isMonday()
ShiftDifferentialRuleContractmonday flag of a ShiftDifferentialRule
isMonday in interface ShiftDifferentialRuleContractpublic void setMonday(boolean monday)
public boolean isTuesday()
ShiftDifferentialRuleContracttuesday flag of a ShiftDifferentialRule
isTuesday in interface ShiftDifferentialRuleContractpublic void setTuesday(boolean tuesday)
public boolean isWednesday()
ShiftDifferentialRuleContractwednesday flag of a ShiftDifferentialRule
isWednesday in interface ShiftDifferentialRuleContractpublic void setWednesday(boolean wednesday)
public boolean isThursday()
ShiftDifferentialRuleContractthursday flag of a ShiftDifferentialRule
isThursday in interface ShiftDifferentialRuleContractpublic void setThursday(boolean thursday)
public boolean isFriday()
ShiftDifferentialRuleContractfriday flag of a ShiftDifferentialRule
isFriday in interface ShiftDifferentialRuleContractpublic void setFriday(boolean friday)
public boolean isSaturday()
ShiftDifferentialRuleContractsaturday flag of a ShiftDifferentialRule
isSaturday in interface ShiftDifferentialRuleContractpublic void setSaturday(boolean saturday)
public EarnCode getEarnCodeObj()
ShiftDifferentialRuleContractThe earn code that will be applied to the eligible shift and result in additional earnings.
getEarnCodeObj in interface ShiftDifferentialRuleContractpublic void setEarnCodeObj(EarnCode earnCodeObj)
public SalaryGroup getSalaryGroupObj()
ShiftDifferentialRuleContractIf 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 ShiftDifferentialRuleContractpublic void setSalaryGroupObj(SalaryGroup salaryGroupObj)
public EarnCodeGroup getFromEarnGroupObj()
ShiftDifferentialRuleContractThe 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 ShiftDifferentialRuleContractpublic void setFromEarnGroupObj(EarnCodeGroup fromEarnGroupObj)
public Calendar getPayCalendar()
ShiftDifferentialRuleContractpayCalendar for a ShiftDifferentialRule
getPayCalendar in interface ShiftDifferentialRuleContractpublic void setPayCalendar(Calendar payCalendar)
public Location getLocationObj()
ShiftDifferentialRuleContractIf a location is defined, only entries associated with a job in this location will be subject to the shift rule.
getLocationObj in interface ShiftDifferentialRuleContractpublic void setLocationObj(Location locationObj)
public PayGrade getPayGradeObj()
ShiftDifferentialRuleContractIf 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 ShiftDifferentialRuleContractpublic void setPayGradeObj(PayGrade payGradeObj)
public String getHrSalGroupId()
ShiftDifferentialRuleContracthrSalGroupId for a ShiftDifferentialRule
getHrSalGroupId in interface ShiftDifferentialRuleContractpublic void setHrSalGroupId(String hrSalGroupId)
public String getHrLocationId()
ShiftDifferentialRuleContracthrLocationId for a ShiftDifferentialRule
getHrLocationId in interface ShiftDifferentialRuleContractpublic void setHrLocationId(String hrLocationId)
public String getHrPayGradeId()
ShiftDifferentialRuleContracthrPayGradeId for a ShiftDifferentialRule
getHrPayGradeId in interface ShiftDifferentialRuleContractpublic void setHrPayGradeId(String hrPayGradeId)
public String getUniqueKey()
getUniqueKey in class HrBusinessObjectpublic String getId()
HrBusinessObjectContractid of HrBusinessObject
getId in interface HrBusinessObjectContractgetId in class HrBusinessObjectpublic void setId(String id)
setId in class HrBusinessObjectpublic boolean isHistory()
ShiftDifferentialRuleContracthistory flag of a ShiftDifferentialRule
isHistory in interface ShiftDifferentialRuleContractpublic void setHistory(boolean history)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.