Class BooleanContractLine
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.nurserostering.domain.contract.ContractLine
org.optaplanner.examples.nurserostering.domain.contract.BooleanContractLine
-
Field Summary
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id -
Constructor Summary
ConstructorsConstructorDescriptionBooleanContractLine(long id, Contract contract, ContractLineType contractLineType, boolean enabled, int weight) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanvoidsetEnabled(boolean enabled) voidsetWeight(int weight) Methods inherited from class org.optaplanner.examples.nurserostering.domain.contract.ContractLine
getContract, getContractLineType, setContract, setContractLineType, toStringMethods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId
-
Constructor Details
-
BooleanContractLine
public BooleanContractLine() -
BooleanContractLine
public BooleanContractLine(long id, Contract contract, ContractLineType contractLineType, boolean enabled, int weight)
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin classContractLine
-
setEnabled
public void setEnabled(boolean enabled) -
getWeight
public int getWeight() -
setWeight
public void setWeight(int weight)
-