OptaPlanner distribution 6.2.1-SNAPSHOT

org.optaplanner.examples.cheaptime.domain
Class MachineCapacity

java.lang.Object
  extended by org.optaplanner.examples.common.domain.AbstractPersistable
      extended by org.optaplanner.examples.cheaptime.domain.MachineCapacity
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>

public class MachineCapacity
extends AbstractPersistable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
MachineCapacity()
           
 
Method Summary
 int getCapacity()
           
 Machine getMachine()
           
 Resource getResource()
           
 void setCapacity(int capacity)
           
 void setMachine(Machine machine)
           
 void setResource(Resource resource)
           
 
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
compareTo, getId, setId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MachineCapacity

public MachineCapacity()
Method Detail

getMachine

public Machine getMachine()

setMachine

public void setMachine(Machine machine)

getResource

public Resource getResource()

setResource

public void setResource(Resource resource)

getCapacity

public int getCapacity()

setCapacity

public void setCapacity(int capacity)

OptaPlanner distribution 6.2.1-SNAPSHOT

Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.