Drools Planner distribution 6.0.0.Alpha9

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

java.lang.Object
  extended by org.drools.planner.examples.common.domain.AbstractPersistable
      extended by org.drools.planner.examples.nurserostering.domain.contract.ContractLine
          extended by org.drools.planner.examples.nurserostering.domain.contract.BooleanContractLine
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>

public class BooleanContractLine
extends ContractLine

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
BooleanContractLine()
           
 
Method Summary
 int getWeight()
           
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
           
 void setWeight(int weight)
           
 
Methods inherited from class org.drools.planner.examples.nurserostering.domain.contract.ContractLine
getContract, getContractLineType, setContract, setContractLineType, toString
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
compareTo, getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanContractLine

public BooleanContractLine()
Method Detail

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in class ContractLine

setEnabled

public void setEnabled(boolean enabled)

getWeight

public int getWeight()

setWeight

public void setWeight(int weight)

Drools Planner distribution 6.0.0.Alpha9

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.