org.drools.planner.examples.nurserostering.domain.contract
Class ContractLine
java.lang.Object
org.drools.planner.examples.common.domain.AbstractPersistable
org.drools.planner.examples.nurserostering.domain.contract.ContractLine
- All Implemented Interfaces:
- Serializable, Comparable<ContractLine>
- Direct Known Subclasses:
- BooleanContractLine, MinMaxContractLine
public abstract class ContractLine
- extends AbstractPersistable
- implements Comparable<ContractLine>
- See Also:
- Serialized Form
ContractLine
public ContractLine()
getContract
public Contract getContract()
setContract
public void setContract(Contract contract)
getContractLineType
public ContractLineType getContractLineType()
setContractLineType
public void setContractLineType(ContractLineType contractLineType)
isEnabled
public abstract boolean isEnabled()
compareTo
public int compareTo(ContractLine other)
- Specified by:
compareTo in interface Comparable<ContractLine>
toString
public String toString()
- Overrides:
toString in class AbstractPersistable
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.