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<Contract>

public class Contract
extends AbstractPersistable
implements Comparable<Contract>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
Contract()
           
 
Method Summary
 int compareTo(Contract other)
           
 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
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)

compareTo

public int compareTo(Contract other)
Specified by:
compareTo in interface Comparable<Contract>

toString

public String toString()
Overrides:
toString in class AbstractPersistable

getWeekendLength

public int getWeekendLength()


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.