Class ShiftView
- java.lang.Object
-
- org.optaweb.employeerostering.domain.common.AbstractPersistable
-
- org.optaweb.employeerostering.domain.shift.view.ShiftView
-
public class ShiftView extends AbstractPersistable
-
-
Constructor Summary
Constructors Constructor Description ShiftView()ShiftView(Integer tenantId, Spot spot, LocalDateTime startDateTime, LocalDateTime endDateTime)ShiftView(Integer tenantId, Spot spot, LocalDateTime startDateTime, LocalDateTime endDateTime, Employee rotationEmployee)ShiftView(Integer tenantId, Spot spot, LocalDateTime startDateTime, LocalDateTime endDateTime, Employee rotationEmployee, List<Long> requiredSkillSetIdList, Employee originalEmployee)ShiftView(ZoneId zoneId, Shift shift)ShiftView(ZoneId zoneId, Shift shift, List<RequiredSkillViolation> requiredSkillViolationList, List<UnavailableEmployeeViolation> unavailableEmployeeViolationList, List<ShiftEmployeeConflict> shiftEmployeeConflictList, List<DesiredTimeslotForEmployeeReward> desiredTimeslotForEmployeeRewardList, List<UndesiredTimeslotForEmployeePenalty> undesiredTimeslotForEmployeePenaltyList, List<RotationViolationPenalty> rotationViolationPenaltyList, List<UnassignedShiftPenalty> unassignedShiftPenaltyList, List<ContractMinutesViolation> contractMinutesViolationPenaltyList, List<NoBreakViolation> noBreakViolationList, List<PublishedShiftReassignedPenalty> publishedShiftReassignedPenaltyList, org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore indictmentScore)
-
Method Summary
-
Methods inherited from class org.optaweb.employeerostering.domain.common.AbstractPersistable
equals, getId, getTenantId, getVersion, hashCode, setId, setTenantId, setVersion
-
-
-
-
Constructor Detail
-
ShiftView
public ShiftView()
-
ShiftView
public ShiftView(Integer tenantId, Spot spot, LocalDateTime startDateTime, LocalDateTime endDateTime)
-
ShiftView
public ShiftView(Integer tenantId, Spot spot, LocalDateTime startDateTime, LocalDateTime endDateTime, Employee rotationEmployee)
-
ShiftView
public ShiftView(Integer tenantId, Spot spot, LocalDateTime startDateTime, LocalDateTime endDateTime, Employee rotationEmployee, List<Long> requiredSkillSetIdList, Employee originalEmployee)
-
ShiftView
public ShiftView(ZoneId zoneId, Shift shift, List<RequiredSkillViolation> requiredSkillViolationList, List<UnavailableEmployeeViolation> unavailableEmployeeViolationList, List<ShiftEmployeeConflict> shiftEmployeeConflictList, List<DesiredTimeslotForEmployeeReward> desiredTimeslotForEmployeeRewardList, List<UndesiredTimeslotForEmployeePenalty> undesiredTimeslotForEmployeePenaltyList, List<RotationViolationPenalty> rotationViolationPenaltyList, List<UnassignedShiftPenalty> unassignedShiftPenaltyList, List<ContractMinutesViolation> contractMinutesViolationPenaltyList, List<NoBreakViolation> noBreakViolationList, List<PublishedShiftReassignedPenalty> publishedShiftReassignedPenaltyList, org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore indictmentScore)
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classAbstractPersistable
-
getSpotId
public Long getSpotId()
-
setSpotId
public void setSpotId(Long spotId)
-
getStartDateTime
public LocalDateTime getStartDateTime()
-
setStartDateTime
public void setStartDateTime(LocalDateTime startDateTime)
-
getEndDateTime
public LocalDateTime getEndDateTime()
-
setEndDateTime
public void setEndDateTime(LocalDateTime endDateTime)
-
isPinnedByUser
public boolean isPinnedByUser()
-
setPinnedByUser
public void setPinnedByUser(boolean pinnedByUser)
-
getEmployeeId
public Long getEmployeeId()
-
setEmployeeId
public void setEmployeeId(Long employeeId)
-
getRotationEmployeeId
public Long getRotationEmployeeId()
-
setRotationEmployeeId
public void setRotationEmployeeId(Long rotationEmployeeId)
-
getOriginalEmployeeId
public Long getOriginalEmployeeId()
-
setOriginalEmployeeId
public void setOriginalEmployeeId(Long originalEmployeeId)
-
getRequiredSkillViolationList
public List<RequiredSkillViolation> getRequiredSkillViolationList()
-
setRequiredSkillViolationList
public void setRequiredSkillViolationList(List<RequiredSkillViolation> requiredSkillViolationList)
-
getUnavailableEmployeeViolationList
public List<UnavailableEmployeeViolation> getUnavailableEmployeeViolationList()
-
setUnavailableEmployeeViolationList
public void setUnavailableEmployeeViolationList(List<UnavailableEmployeeViolation> unavailableEmployeeViolationList)
-
getShiftEmployeeConflictList
public List<ShiftEmployeeConflict> getShiftEmployeeConflictList()
-
setShiftEmployeeConflictList
public void setShiftEmployeeConflictList(List<ShiftEmployeeConflict> shiftEmployeeConflictList)
-
getIndictmentScore
public org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore getIndictmentScore()
-
setIndictmentScore
public void setIndictmentScore(org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore indictmentScore)
-
getDesiredTimeslotForEmployeeRewardList
public List<DesiredTimeslotForEmployeeReward> getDesiredTimeslotForEmployeeRewardList()
-
setDesiredTimeslotForEmployeeRewardList
public void setDesiredTimeslotForEmployeeRewardList(List<DesiredTimeslotForEmployeeReward> desiredTimeslotForEmployeeRewardList)
-
getUndesiredTimeslotForEmployeePenaltyList
public List<UndesiredTimeslotForEmployeePenalty> getUndesiredTimeslotForEmployeePenaltyList()
-
setUndesiredTimeslotForEmployeePenaltyList
public void setUndesiredTimeslotForEmployeePenaltyList(List<UndesiredTimeslotForEmployeePenalty> undesiredTimeslotForEmployeePenaltyList)
-
getRotationViolationPenaltyList
public List<RotationViolationPenalty> getRotationViolationPenaltyList()
-
setRotationViolationPenaltyList
public void setRotationViolationPenaltyList(List<RotationViolationPenalty> rotationViolationPenaltyList)
-
getUnassignedShiftPenaltyList
public List<UnassignedShiftPenalty> getUnassignedShiftPenaltyList()
-
setUnassignedShiftPenaltyList
public void setUnassignedShiftPenaltyList(List<UnassignedShiftPenalty> unassignedShiftPenaltyList)
-
getContractMinutesViolationPenaltyList
public List<ContractMinutesViolation> getContractMinutesViolationPenaltyList()
-
setContractMinutesViolationPenaltyList
public void setContractMinutesViolationPenaltyList(List<ContractMinutesViolation> contractMinutesViolationPenaltyList)
-
getNoBreakViolationList
public List<NoBreakViolation> getNoBreakViolationList()
-
setNoBreakViolationList
public void setNoBreakViolationList(List<NoBreakViolation> noBreakViolationList)
-
getPublishedShiftReassignedPenaltyList
public List<PublishedShiftReassignedPenalty> getPublishedShiftReassignedPenaltyList()
-
setPublishedShiftReassignedPenaltyList
public void setPublishedShiftReassignedPenaltyList(List<PublishedShiftReassignedPenalty> publishedShiftReassignedPenaltyList)
-
-