public class CalTimeOffConfiguration
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
accrualPeriod
Accrual period type: hourly/daily/weekly/monthly/yearly
|
protected int |
accrualPeriodsNumber
Number of accrual periods
|
protected int |
accrualStartPeriod
Start period type weeks/months
|
protected int |
accrualStartPeriodsNumber
Start period number
|
protected double |
accrueHours
Number of hours accrued per accrual period
|
protected double |
advanceHours
Advance (credit) hours
|
protected int |
agentID
Agent ID
|
protected boolean |
autoGrant
Auto-grant feature on/off
|
protected double |
bonusHours
Bonus hours
|
protected double |
carryOverDay
Carry-over day (each year)
|
protected double |
maxBalanceHours
Maximum number of hours balance can reached
|
protected double |
maxCarriedOverHours
Maximum balance hours can be carried to next period
|
protected int |
minPeriodsNumberForGrant
Minimum number of weeks for auto-grant
|
private static long |
serialVersionUID |
protected boolean |
startAccrualFromHiring
Accrual starts from hiring date indicator
|
protected double |
timeOffDayHours
Number of hours in Time Off day
|
protected int |
timeOffTypeID
Time Off type ID
|
Constructor and Description |
---|
CalTimeOffConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
int |
getAccrualPeriod()
Gets the accrualPeriod value for this CalTimeOffConfiguration.
|
int |
getAccrualPeriodsNumber()
Gets the accrualPeriodsNumber value for this CalTimeOffConfiguration.
|
int |
getAccrualStartPeriod()
Gets the accrualStartPeriod value for this CalTimeOffConfiguration.
|
int |
getAccrualStartPeriodsNumber()
Gets the accrualStartPeriodsNumber value for this CalTimeOffConfiguration.
|
double |
getAccrueHours()
Gets the accrueHours value for this CalTimeOffConfiguration.
|
double |
getAdvanceHours()
Gets the advanceHours value for this CalTimeOffConfiguration.
|
int |
getAgentID()
Gets the agentID value for this CalTimeOffConfiguration.
|
double |
getBonusHours()
Gets the bonusHours value for this CalTimeOffConfiguration.
|
double |
getCarryOverDay()
Gets the carryOverDay value for this CalTimeOffConfiguration.
|
double |
getMaxBalanceHours()
Gets the maxBalanceHours value for this CalTimeOffConfiguration.
|
double |
getMaxCarriedOverHours()
Gets the maxCarriedOverHours value for this CalTimeOffConfiguration.
|
int |
getMinPeriodsNumberForGrant()
Gets the minPeriodsNumberForGrant value for this CalTimeOffConfiguration.
|
double |
getTimeOffDayHours()
Gets the timeOffDayHours value for this CalTimeOffConfiguration.
|
int |
getTimeOffTypeID()
Gets the timeOffTypeID value for this CalTimeOffConfiguration.
|
int |
hashCode() |
boolean |
isAutoGrant()
Gets the autoGrant value for this CalTimeOffConfiguration.
|
boolean |
isStartAccrualFromHiring()
Gets the startAccrualFromHiring value for this CalTimeOffConfiguration.
|
void |
setAccrualPeriod(int accrualPeriod)
Sets the accrualPeriod value for this CalTimeOffConfiguration.
|
void |
setAccrualPeriodsNumber(int accrualPeriodsNumber)
Sets the accrualPeriodsNumber value for this CalTimeOffConfiguration.
|
void |
setAccrualStartPeriod(int accrualStartPeriod)
Sets the accrualStartPeriod value for this CalTimeOffConfiguration.
|
void |
setAccrualStartPeriodsNumber(int accrualStartPeriodsNumber)
Sets the accrualStartPeriodsNumber value for this CalTimeOffConfiguration.
|
void |
setAccrueHours(double accrueHours)
Sets the accrueHours value for this CalTimeOffConfiguration.
|
void |
setAdvanceHours(double advanceHours)
Sets the advanceHours value for this CalTimeOffConfiguration.
|
void |
setAgentID(int agentID)
Sets the agentID value for this CalTimeOffConfiguration.
|
void |
setAutoGrant(boolean autoGrant)
Sets the autoGrant value for this CalTimeOffConfiguration.
|
void |
setBonusHours(double bonusHours)
Sets the bonusHours value for this CalTimeOffConfiguration.
|
void |
setCarryOverDay(double carryOverDay)
Sets the carryOverDay value for this CalTimeOffConfiguration.
|
void |
setMaxBalanceHours(double maxBalanceHours)
Sets the maxBalanceHours value for this CalTimeOffConfiguration.
|
void |
setMaxCarriedOverHours(double maxCarriedOverHours)
Sets the maxCarriedOverHours value for this CalTimeOffConfiguration.
|
void |
setMinPeriodsNumberForGrant(int minPeriodsNumberForGrant)
Sets the minPeriodsNumberForGrant value for this CalTimeOffConfiguration.
|
void |
setStartAccrualFromHiring(boolean startAccrualFromHiring)
Sets the startAccrualFromHiring value for this CalTimeOffConfiguration.
|
void |
setTimeOffDayHours(double timeOffDayHours)
Sets the timeOffDayHours value for this CalTimeOffConfiguration.
|
void |
setTimeOffTypeID(int timeOffTypeID)
Sets the timeOffTypeID value for this CalTimeOffConfiguration.
|
java.lang.String |
toString() |
CalTimeOffConfiguration |
withAccrualPeriod(int value) |
CalTimeOffConfiguration |
withAccrualPeriodsNumber(int value) |
CalTimeOffConfiguration |
withAccrualStartPeriod(int value) |
CalTimeOffConfiguration |
withAccrualStartPeriodsNumber(int value) |
CalTimeOffConfiguration |
withAccrueHours(double value) |
CalTimeOffConfiguration |
withAdvanceHours(double value) |
CalTimeOffConfiguration |
withAgentID(int value) |
CalTimeOffConfiguration |
withAutoGrant(boolean value) |
CalTimeOffConfiguration |
withBonusHours(double value) |
CalTimeOffConfiguration |
withCarryOverDay(double value) |
CalTimeOffConfiguration |
withMaxBalanceHours(double value) |
CalTimeOffConfiguration |
withMaxCarriedOverHours(double value) |
CalTimeOffConfiguration |
withMinPeriodsNumberForGrant(int value) |
CalTimeOffConfiguration |
withStartAccrualFromHiring(boolean value) |
CalTimeOffConfiguration |
withTimeOffDayHours(double value) |
CalTimeOffConfiguration |
withTimeOffTypeID(int value) |
private static final long serialVersionUID
protected int agentID
protected int timeOffTypeID
protected double accrueHours
protected int accrualPeriod
protected int accrualPeriodsNumber
protected int accrualStartPeriod
protected int accrualStartPeriodsNumber
protected boolean startAccrualFromHiring
protected double maxCarriedOverHours
protected double advanceHours
protected double bonusHours
protected double timeOffDayHours
protected double maxBalanceHours
protected boolean autoGrant
protected int minPeriodsNumberForGrant
protected double carryOverDay
public int getAgentID()
public void setAgentID(int agentID)
agentID
- public int getTimeOffTypeID()
public void setTimeOffTypeID(int timeOffTypeID)
timeOffTypeID
- public double getAccrueHours()
public void setAccrueHours(double accrueHours)
accrueHours
- public int getAccrualPeriod()
public void setAccrualPeriod(int accrualPeriod)
accrualPeriod
- public int getAccrualPeriodsNumber()
public void setAccrualPeriodsNumber(int accrualPeriodsNumber)
accrualPeriodsNumber
- public int getAccrualStartPeriod()
public void setAccrualStartPeriod(int accrualStartPeriod)
accrualStartPeriod
- public int getAccrualStartPeriodsNumber()
public void setAccrualStartPeriodsNumber(int accrualStartPeriodsNumber)
accrualStartPeriodsNumber
- public boolean isStartAccrualFromHiring()
public void setStartAccrualFromHiring(boolean startAccrualFromHiring)
startAccrualFromHiring
- public double getMaxCarriedOverHours()
public void setMaxCarriedOverHours(double maxCarriedOverHours)
maxCarriedOverHours
- public double getAdvanceHours()
public void setAdvanceHours(double advanceHours)
advanceHours
- public double getBonusHours()
public void setBonusHours(double bonusHours)
bonusHours
- public double getTimeOffDayHours()
public void setTimeOffDayHours(double timeOffDayHours)
timeOffDayHours
- public double getMaxBalanceHours()
public void setMaxBalanceHours(double maxBalanceHours)
maxBalanceHours
- public boolean isAutoGrant()
public void setAutoGrant(boolean autoGrant)
autoGrant
- public int getMinPeriodsNumberForGrant()
public void setMinPeriodsNumberForGrant(int minPeriodsNumberForGrant)
minPeriodsNumberForGrant
- public double getCarryOverDay()
public void setCarryOverDay(double carryOverDay)
carryOverDay
- public CalTimeOffConfiguration withAgentID(int value)
public CalTimeOffConfiguration withTimeOffTypeID(int value)
public CalTimeOffConfiguration withAutoGrant(boolean value)
public CalTimeOffConfiguration withStartAccrualFromHiring(boolean value)
public CalTimeOffConfiguration withBonusHours(double value)
public CalTimeOffConfiguration withMaxCarriedOverHours(double value)
public CalTimeOffConfiguration withAccrueHours(double value)
public CalTimeOffConfiguration withAdvanceHours(double value)
public CalTimeOffConfiguration withCarryOverDay(double value)
public CalTimeOffConfiguration withMaxBalanceHours(double value)
public CalTimeOffConfiguration withTimeOffDayHours(double value)
public CalTimeOffConfiguration withAccrualPeriod(int value)
public CalTimeOffConfiguration withAccrualStartPeriod(int value)
public CalTimeOffConfiguration withAccrualStartPeriodsNumber(int value)
public CalTimeOffConfiguration withAccrualPeriodsNumber(int value)
public CalTimeOffConfiguration withMinPeriodsNumberForGrant(int value)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2005-2016 Genesys Telecommunications Labs, Inc. All Rights Reserved.