Drools Planner distribution 6.0.0.Alpha9

org.drools.planner.examples.cloudbalancing.domain
Class CloudComputer

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

public class CloudComputer
extends AbstractPersistable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
CloudComputer()
           
 
Method Summary
 int getCost()
           
 int getCpuPower()
           
 String getLabel()
           
 int getMemory()
           
 int getMultiplicand()
           
 int getNetworkBandwidth()
           
 void setCost(int cost)
           
 void setCpuPower(int cpuPower)
           
 void setMemory(int memory)
           
 void setNetworkBandwidth(int networkBandwidth)
           
 
Methods inherited from class org.drools.planner.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

CloudComputer

public CloudComputer()
Method Detail

getCpuPower

public int getCpuPower()

setCpuPower

public void setCpuPower(int cpuPower)

getMemory

public int getMemory()

setMemory

public void setMemory(int memory)

getNetworkBandwidth

public int getNetworkBandwidth()

setNetworkBandwidth

public void setNetworkBandwidth(int networkBandwidth)

getCost

public int getCost()

setCost

public void setCost(int cost)

getMultiplicand

public int getMultiplicand()

getLabel

public String getLabel()

Drools Planner distribution 6.0.0.Alpha9

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