public class SchAgentDay
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
__equalsCalc |
private boolean |
__hashCodeCalc |
private SchCoverage[] |
coverage
Used internally to calculate activity coverage for the day.
|
private int |
coverageNSizeIs
Number of elements in "coverage" array
|
private boolean |
eligibleForTrade
Indicates whether agent day can be traded or not.
|
private int |
gswAgentId
Agent ID, identifies
CfgAgent object
It has negative value if agent is "Profile Agent". |
private int |
gswUserId
User ID if schedule day is "pending" and zero if agent is "committed".
|
private int[] |
schActivities
A list of each unique Activity ID scheduled in agent day schedule.
|
private int |
schActivitiesNSizeIs
Number of elements in "schActivities" array
|
private SchActivitySet[] |
schActivitySetInfo
A list of availabilities for scheduled activity set states.
|
private int |
schActivitySetInfoNSizeIs
Number of elements in "schActivitySetInfo" array
|
private SchState[] |
schStates
A list of all schedule states
SchState in the day, including Activity and Shift states as well
as full-day states like full-day exception, day off or vacation. |
private int |
schStatesNSizeIs
Number of elements in "schStates" array
|
private long |
timestamp
Agent day schedule DB timestamp value taken at the moment when a record was read from database.
|
private java.lang.String |
wmComments
Comments for the agent day schedule.
|
private double |
wmDate
A date of agent day schedule
OleDateTime |
private int |
wmDayType
Type of agent day schedule
ESchDayType |
private double |
wmEndDateTime
End time of the last schedule state in Agent Day.
|
private int |
wmExceptionTypeId
Exception ID, identifies full-day Exception
CfgExceptionType if wmDayType = ESchDayType.SCH_DAY_EXCEPTION |
private int |
wmFlag
Agent Day Flag
ESchDayFlag |
private double |
wmNextStartDateTime
Start time for the next day schedule.
|
private int |
wmOvertimeMinutes
Daily overtime minutes.
|
private int |
wmPaidMinutes
Total paid minutes in agent day schedule.
|
private double |
wmPrevEndDateTime
End time for the previous day schedule.
|
private int |
wmScheduleId
Schedule (Scenario) identifier.
|
private double |
wmShiftEndDateTime
Shift Schedule State end date/time
OleDateTime if wmDayType = ESchDayType.SCH_DAY_SHIFT |
private int |
wmShiftId
Shift ID, identifies
CfgShift if wmDayType = ESchDayType.SCH_DAY_SHIFT |
private double |
wmShiftStartDateTime
Shift Schedule State start date/time
OleDateTime if wmDayType = ESchDayType.SCH_DAY_SHIFT |
private int |
wmSiteId
Site ID, identifies
CfgSite object |
private double |
wmStartDateTime
Start time of the fist schedule state in Agent Day.
|
private java.lang.String |
wmSwordDescribe
Used internally to store encoded schedule for agent day.
|
private int |
wmTimeOffTypeId
Time Off Type ID, identifies full-day Time Off
CfgTimeOffType if wmDayType = ESchDayType.SCH_DAY_TIMEOFF |
private int |
wmVacationMinutes
Total Time Off state minutes in agent day schedule.
|
private int |
wmWorkMinutes
Total effective-work minutes in agent day schedule.
|
Constructor and Description |
---|
SchAgentDay() |
SchAgentDay(int gswUserId,
int wmScheduleId,
int wmSiteId,
int gswAgentId,
double wmDate,
int wmDayType,
int wmExceptionTypeId,
int wmTimeOffTypeId,
double wmStartDateTime,
double wmEndDateTime,
int wmShiftId,
double wmShiftStartDateTime,
double wmShiftEndDateTime,
java.lang.String wmComments,
java.lang.String wmSwordDescribe,
int wmFlag,
int wmPaidMinutes,
int wmWorkMinutes,
int wmVacationMinutes,
int wmOvertimeMinutes,
int schActivitiesNSizeIs,
int[] schActivities,
int coverageNSizeIs,
SchCoverage[] coverage,
int schStatesNSizeIs,
SchState[] schStates,
int schActivitySetInfoNSizeIs,
SchActivitySet[] schActivitySetInfo,
double wmPrevEndDateTime,
double wmNextStartDateTime,
boolean eligibleForTrade,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
SchCoverage[] |
getCoverage()
Gets the coverage value for this SchAgentDay.
|
int |
getCoverageNSizeIs()
Gets the coverageNSizeIs value for this SchAgentDay.
|
int |
getGswAgentId()
Gets the gswAgentId value for this SchAgentDay.
|
int |
getGswUserId()
Gets the gswUserId value for this SchAgentDay.
|
int[] |
getSchActivities()
Gets the schActivities value for this SchAgentDay.
|
int |
getSchActivitiesNSizeIs()
Gets the schActivitiesNSizeIs value for this SchAgentDay.
|
SchActivitySet[] |
getSchActivitySetInfo()
Gets the schActivitySetInfo value for this SchAgentDay.
|
int |
getSchActivitySetInfoNSizeIs()
Gets the schActivitySetInfoNSizeIs value for this SchAgentDay.
|
SchState[] |
getSchStates()
Gets the schStates value for this SchAgentDay.
|
int |
getSchStatesNSizeIs()
Gets the schStatesNSizeIs value for this SchAgentDay.
|
long |
getTimestamp()
Gets the timestamp value for this SchAgentDay.
|
java.lang.String |
getWmComments()
Gets the wmComments value for this SchAgentDay.
|
double |
getWmDate()
Gets the wmDate value for this SchAgentDay.
|
int |
getWmDayType()
Gets the wmDayType value for this SchAgentDay.
|
double |
getWmEndDateTime()
Gets the wmEndDateTime value for this SchAgentDay.
|
int |
getWmExceptionTypeId()
Gets the wmExceptionTypeId value for this SchAgentDay.
|
int |
getWmFlag()
Gets the wmFlag value for this SchAgentDay.
|
double |
getWmNextStartDateTime()
Gets the wmNextStartDateTime value for this SchAgentDay.
|
int |
getWmOvertimeMinutes()
Gets the wmOvertimeMinutes value for this SchAgentDay.
|
int |
getWmPaidMinutes()
Gets the wmPaidMinutes value for this SchAgentDay.
|
double |
getWmPrevEndDateTime()
Gets the wmPrevEndDateTime value for this SchAgentDay.
|
int |
getWmScheduleId()
Gets the wmScheduleId value for this SchAgentDay.
|
double |
getWmShiftEndDateTime()
Gets the wmShiftEndDateTime value for this SchAgentDay.
|
int |
getWmShiftId()
Gets the wmShiftId value for this SchAgentDay.
|
double |
getWmShiftStartDateTime()
Gets the wmShiftStartDateTime value for this SchAgentDay.
|
int |
getWmSiteId()
Gets the wmSiteId value for this SchAgentDay.
|
double |
getWmStartDateTime()
Gets the wmStartDateTime value for this SchAgentDay.
|
java.lang.String |
getWmSwordDescribe()
Gets the wmSwordDescribe value for this SchAgentDay.
|
int |
getWmTimeOffTypeId()
Gets the wmTimeOffTypeId value for this SchAgentDay.
|
int |
getWmVacationMinutes()
Gets the wmVacationMinutes value for this SchAgentDay.
|
int |
getWmWorkMinutes()
Gets the wmWorkMinutes value for this SchAgentDay.
|
int |
hashCode() |
boolean |
isEligibleForTrade()
Gets the eligibleForTrade value for this SchAgentDay.
|
void |
setCoverage(SchCoverage[] coverage)
Sets the coverage value for this SchAgentDay.
|
void |
setCoverageNSizeIs(int coverageNSizeIs)
Sets the coverageNSizeIs value for this SchAgentDay.
|
void |
setEligibleForTrade(boolean eligibleForTrade)
Sets the eligibleForTrade value for this SchAgentDay.
|
void |
setGswAgentId(int gswAgentId)
Sets the gswAgentId value for this SchAgentDay.
|
void |
setGswUserId(int gswUserId)
Sets the gswUserId value for this SchAgentDay.
|
void |
setSchActivities(int[] schActivities)
Sets the schActivities value for this SchAgentDay.
|
void |
setSchActivitiesNSizeIs(int schActivitiesNSizeIs)
Sets the schActivitiesNSizeIs value for this SchAgentDay.
|
void |
setSchActivitySetInfo(SchActivitySet[] schActivitySetInfo)
Sets the schActivitySetInfo value for this SchAgentDay.
|
void |
setSchActivitySetInfoNSizeIs(int schActivitySetInfoNSizeIs)
Sets the schActivitySetInfoNSizeIs value for this SchAgentDay.
|
void |
setSchStates(SchState[] schStates)
Sets the schStates value for this SchAgentDay.
|
void |
setSchStatesNSizeIs(int schStatesNSizeIs)
Sets the schStatesNSizeIs value for this SchAgentDay.
|
void |
setTimestamp(long timestamp)
Sets the timestamp value for this SchAgentDay.
|
void |
setWmComments(java.lang.String wmComments)
Sets the wmComments value for this SchAgentDay.
|
void |
setWmDate(double wmDate)
Sets the wmDate value for this SchAgentDay.
|
void |
setWmDayType(int wmDayType)
Sets the wmDayType value for this SchAgentDay.
|
void |
setWmEndDateTime(double wmEndDateTime)
Sets the wmEndDateTime value for this SchAgentDay.
|
void |
setWmExceptionTypeId(int wmExceptionTypeId)
Sets the wmExceptionTypeId value for this SchAgentDay.
|
void |
setWmFlag(int wmFlag)
Sets the wmFlag value for this SchAgentDay.
|
void |
setWmNextStartDateTime(double wmNextStartDateTime)
Sets the wmNextStartDateTime value for this SchAgentDay.
|
void |
setWmOvertimeMinutes(int wmOvertimeMinutes)
Sets the wmOvertimeMinutes value for this SchAgentDay.
|
void |
setWmPaidMinutes(int wmPaidMinutes)
Sets the wmPaidMinutes value for this SchAgentDay.
|
void |
setWmPrevEndDateTime(double wmPrevEndDateTime)
Sets the wmPrevEndDateTime value for this SchAgentDay.
|
void |
setWmScheduleId(int wmScheduleId)
Sets the wmScheduleId value for this SchAgentDay.
|
void |
setWmShiftEndDateTime(double wmShiftEndDateTime)
Sets the wmShiftEndDateTime value for this SchAgentDay.
|
void |
setWmShiftId(int wmShiftId)
Sets the wmShiftId value for this SchAgentDay.
|
void |
setWmShiftStartDateTime(double wmShiftStartDateTime)
Sets the wmShiftStartDateTime value for this SchAgentDay.
|
void |
setWmSiteId(int wmSiteId)
Sets the wmSiteId value for this SchAgentDay.
|
void |
setWmStartDateTime(double wmStartDateTime)
Sets the wmStartDateTime value for this SchAgentDay.
|
void |
setWmSwordDescribe(java.lang.String wmSwordDescribe)
Sets the wmSwordDescribe value for this SchAgentDay.
|
void |
setWmTimeOffTypeId(int wmTimeOffTypeId)
Sets the wmTimeOffTypeId value for this SchAgentDay.
|
void |
setWmVacationMinutes(int wmVacationMinutes)
Sets the wmVacationMinutes value for this SchAgentDay.
|
void |
setWmWorkMinutes(int wmWorkMinutes)
Sets the wmWorkMinutes value for this SchAgentDay.
|
private int gswUserId
private int wmScheduleId
private int wmSiteId
CfgSite
objectprivate int gswAgentId
CfgAgent
object
It has negative value if agent is "Profile Agent".private double wmDate
OleDateTime
private int wmDayType
ESchDayType
private int wmExceptionTypeId
CfgExceptionType
if wmDayType = ESchDayType.SCH_DAY_EXCEPTIONprivate int wmTimeOffTypeId
CfgTimeOffType
if wmDayType = ESchDayType.SCH_DAY_TIMEOFFprivate double wmStartDateTime
OleDateTime
private double wmEndDateTime
private int wmShiftId
CfgShift
if wmDayType = ESchDayType.SCH_DAY_SHIFTprivate double wmShiftStartDateTime
OleDateTime
if wmDayType = ESchDayType.SCH_DAY_SHIFTprivate double wmShiftEndDateTime
OleDateTime
if wmDayType = ESchDayType.SCH_DAY_SHIFTprivate java.lang.String wmComments
private java.lang.String wmSwordDescribe
private int wmFlag
ESchDayFlag
private int wmPaidMinutes
private int wmWorkMinutes
private int wmVacationMinutes
private int wmOvertimeMinutes
private int schActivitiesNSizeIs
private int[] schActivities
CfgActivity
private int coverageNSizeIs
private SchCoverage[] coverage
private int schStatesNSizeIs
private SchState[] schStates
SchState
in the day, including Activity and Shift states as well
as full-day states like full-day exception, day off or vacation.private int schActivitySetInfoNSizeIs
private SchActivitySet[] schActivitySetInfo
private double wmPrevEndDateTime
OleDateTime
private double wmNextStartDateTime
OleDateTime
private boolean eligibleForTrade
private long timestamp
private java.lang.Object __equalsCalc
private boolean __hashCodeCalc
public SchAgentDay()
public SchAgentDay(int gswUserId, int wmScheduleId, int wmSiteId, int gswAgentId, double wmDate, int wmDayType, int wmExceptionTypeId, int wmTimeOffTypeId, double wmStartDateTime, double wmEndDateTime, int wmShiftId, double wmShiftStartDateTime, double wmShiftEndDateTime, java.lang.String wmComments, java.lang.String wmSwordDescribe, int wmFlag, int wmPaidMinutes, int wmWorkMinutes, int wmVacationMinutes, int wmOvertimeMinutes, int schActivitiesNSizeIs, int[] schActivities, int coverageNSizeIs, SchCoverage[] coverage, int schStatesNSizeIs, SchState[] schStates, int schActivitySetInfoNSizeIs, SchActivitySet[] schActivitySetInfo, double wmPrevEndDateTime, double wmNextStartDateTime, boolean eligibleForTrade, long timestamp)
public int getGswUserId()
public void setGswUserId(int gswUserId)
gswUserId
- public int getWmScheduleId()
public void setWmScheduleId(int wmScheduleId)
wmScheduleId
- public int getWmSiteId()
public void setWmSiteId(int wmSiteId)
wmSiteId
- public int getGswAgentId()
public void setGswAgentId(int gswAgentId)
gswAgentId
- public double getWmDate()
public void setWmDate(double wmDate)
wmDate
- public int getWmDayType()
public void setWmDayType(int wmDayType)
wmDayType
- public int getWmExceptionTypeId()
public void setWmExceptionTypeId(int wmExceptionTypeId)
wmExceptionTypeId
- public int getWmTimeOffTypeId()
public void setWmTimeOffTypeId(int wmTimeOffTypeId)
wmTimeOffTypeId
- public double getWmStartDateTime()
public void setWmStartDateTime(double wmStartDateTime)
wmStartDateTime
- public double getWmEndDateTime()
public void setWmEndDateTime(double wmEndDateTime)
wmEndDateTime
- public int getWmShiftId()
public void setWmShiftId(int wmShiftId)
wmShiftId
- public double getWmShiftStartDateTime()
public void setWmShiftStartDateTime(double wmShiftStartDateTime)
wmShiftStartDateTime
- public double getWmShiftEndDateTime()
public void setWmShiftEndDateTime(double wmShiftEndDateTime)
wmShiftEndDateTime
- public java.lang.String getWmComments()
public void setWmComments(java.lang.String wmComments)
wmComments
- public java.lang.String getWmSwordDescribe()
public void setWmSwordDescribe(java.lang.String wmSwordDescribe)
wmSwordDescribe
- public int getWmFlag()
public void setWmFlag(int wmFlag)
wmFlag
- public int getWmPaidMinutes()
public void setWmPaidMinutes(int wmPaidMinutes)
wmPaidMinutes
- public int getWmWorkMinutes()
public void setWmWorkMinutes(int wmWorkMinutes)
wmWorkMinutes
- public int getWmVacationMinutes()
public void setWmVacationMinutes(int wmVacationMinutes)
wmVacationMinutes
- public int getWmOvertimeMinutes()
public void setWmOvertimeMinutes(int wmOvertimeMinutes)
wmOvertimeMinutes
- public int getSchActivitiesNSizeIs()
public void setSchActivitiesNSizeIs(int schActivitiesNSizeIs)
schActivitiesNSizeIs
- public int[] getSchActivities()
public void setSchActivities(int[] schActivities)
schActivities
- public int getCoverageNSizeIs()
public void setCoverageNSizeIs(int coverageNSizeIs)
coverageNSizeIs
- public SchCoverage[] getCoverage()
public void setCoverage(SchCoverage[] coverage)
coverage
- public int getSchStatesNSizeIs()
public void setSchStatesNSizeIs(int schStatesNSizeIs)
schStatesNSizeIs
- public SchState[] getSchStates()
public void setSchStates(SchState[] schStates)
schStates
- public int getSchActivitySetInfoNSizeIs()
public void setSchActivitySetInfoNSizeIs(int schActivitySetInfoNSizeIs)
schActivitySetInfoNSizeIs
- public SchActivitySet[] getSchActivitySetInfo()
public void setSchActivitySetInfo(SchActivitySet[] schActivitySetInfo)
schActivitySetInfo
- public double getWmPrevEndDateTime()
public void setWmPrevEndDateTime(double wmPrevEndDateTime)
wmPrevEndDateTime
- public double getWmNextStartDateTime()
public void setWmNextStartDateTime(double wmNextStartDateTime)
wmNextStartDateTime
- public boolean isEligibleForTrade()
public void setEligibleForTrade(boolean eligibleForTrade)
eligibleForTrade
- public long getTimestamp()
public void setTimestamp(long timestamp)
timestamp
- public boolean equals(java.lang.Object obj)
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.