Class Contract
- java.lang.Object
-
- org.optaplanner.examples.common.domain.AbstractPersistable
-
- org.optaplanner.examples.nurserostering.domain.contract.Contract
-
public class Contract extends AbstractPersistable
-
-
Field Summary
-
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
-
-
Constructor Summary
Constructors Constructor Description Contract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()List<ContractLine>getContractLineList()StringgetDescription()WeekendDefinitiongetWeekendDefinition()intgetWeekendLength()voidsetCode(String code)voidsetContractLineList(List<ContractLine> contractLineList)voidsetDescription(String description)voidsetWeekendDefinition(WeekendDefinition weekendDefinition)StringtoString()-
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId
-
-
-
-
Method Detail
-
getCode
public String getCode()
-
setCode
public void setCode(String code)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getWeekendDefinition
public WeekendDefinition getWeekendDefinition()
-
setWeekendDefinition
public void setWeekendDefinition(WeekendDefinition weekendDefinition)
-
getContractLineList
public List<ContractLine> getContractLineList()
-
setContractLineList
public void setContractLineList(List<ContractLine> contractLineList)
-
toString
public String toString()
- Overrides:
toStringin classAbstractPersistable
-
getWeekendLength
public int getWeekendLength()
-
-