public class ContractMinutesViolation extends Object implements ConstraintMatchView
| Modifier and Type | Class and Description |
|---|---|
static class |
ContractMinutesViolation.Type |
| Constructor and Description |
|---|
ContractMinutesViolation() |
ContractMinutesViolation(Employee employee,
ContractMinutesViolation.Type type,
Long minutesWorked,
org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score) |
| Modifier and Type | Method and Description |
|---|---|
Employee |
getEmployee() |
Integer |
getMaximumMinutesWorked() |
Long |
getMinutesWorked() |
org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore |
getScore() |
ContractMinutesViolation.Type |
getType() |
void |
setEmployee(Employee employee) |
void |
setMinutesWorked(Long minutesWorked) |
void |
setScore(org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score) |
void |
setType(ContractMinutesViolation.Type type) |
public ContractMinutesViolation()
public ContractMinutesViolation(Employee employee, ContractMinutesViolation.Type type, Long minutesWorked, org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score)
public Employee getEmployee()
public void setEmployee(Employee employee)
public ContractMinutesViolation.Type getType()
public void setType(ContractMinutesViolation.Type type)
public Long getMinutesWorked()
public void setMinutesWorked(Long minutesWorked)
public Integer getMaximumMinutesWorked()
public org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore getScore()
getScore in interface ConstraintMatchViewpublic void setScore(org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score)
Copyright © 2017–2021 JBoss by Red Hat. All rights reserved.