org.drools.planner.examples.nurserostering.domain.contract
Class ContractLine

java.lang.Object
  extended by org.drools.planner.examples.common.domain.AbstractPersistable
      extended by 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

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
ContractLine()
           
 
Method Summary
 int compareTo(ContractLine other)
           
 Contract getContract()
           
 ContractLineType getContractLineType()
           
abstract  boolean isEnabled()
           
 void setContract(Contract contract)
           
 void setContractLineType(ContractLineType contractLineType)
           
 String toString()
           
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContractLine

public ContractLine()
Method Detail

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-2011 JBoss by Red Hat. All Rights Reserved.