Drools Planner distribution 6.0.0.Alpha9

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

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

public class Contract
extends AbstractPersistable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Contract()
           
 
Method Summary
 String getCode()
           
 List<ContractLine> getContractLineList()
           
 String getDescription()
           
 WeekendDefinition getWeekendDefinition()
           
 int getWeekendLength()
           
 void setCode(String code)
           
 void setContractLineList(List<ContractLine> contractLineList)
           
 void setDescription(String description)
           
 void setWeekendDefinition(WeekendDefinition weekendDefinition)
           
 String 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

Contract

public Contract()
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:
toString in class AbstractPersistable

getWeekendLength

public int getWeekendLength()

Drools Planner distribution 6.0.0.Alpha9

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