OptaPlanner distribution 6.2.0.Beta1

org.optaplanner.examples.cheaptime.domain
Class PeriodPowerCost

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

public class PeriodPowerCost
extends AbstractPersistable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
PeriodPowerCost()
           
 
Method Summary
 int getPeriod()
           
 long getPowerCostMicros()
           
 void setPeriod(int period)
           
 void setPowerCostMicros(long powerCostMicros)
           
 
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

PeriodPowerCost

public PeriodPowerCost()
Method Detail

getPeriod

public int getPeriod()

setPeriod

public void setPeriod(int period)

getPowerCostMicros

public long getPowerCostMicros()

setPowerCostMicros

public void setPowerCostMicros(long powerCostMicros)

OptaPlanner distribution 6.2.0.Beta1

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