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

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

public class CloudAssignment
extends AbstractPersistable
implements Comparable<CloudAssignment>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
CloudAssignment()
           
 
Method Summary
 CloudAssignment clone()
           
 int compareTo(CloudAssignment other)
           
 CloudComputer getCloudComputer()
           
 CloudProcess getCloudProcess()
           
 String getLabel()
           
 int getMinimalCpuPower()
           
 int getMinimalMemory()
           
 int getMinimalNetworkBandwidth()
           
 void setCloudComputer(CloudComputer cloudComputer)
           
 void setCloudProcess(CloudProcess cloudProcess)
           
 boolean solutionEquals(Object o)
          The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).
 int solutionHashCode()
          The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).
 String toString()
           
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
getId, setId
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CloudAssignment

public CloudAssignment()
Method Detail

getCloudProcess

public CloudProcess getCloudProcess()

setCloudProcess

public void setCloudProcess(CloudProcess cloudProcess)

getCloudComputer

public CloudComputer getCloudComputer()

setCloudComputer

public void setCloudComputer(CloudComputer cloudComputer)

getLabel

public String getLabel()

getMinimalCpuPower

public int getMinimalCpuPower()

getMinimalMemory

public int getMinimalMemory()

getMinimalNetworkBandwidth

public int getMinimalNetworkBandwidth()

compareTo

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

clone

public CloudAssignment clone()
Overrides:
clone in class Object

solutionEquals

public boolean solutionEquals(Object o)
The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).

See Also:
solutionHashCode()

solutionHashCode

public int solutionHashCode()
The normal methods Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already requires them (for performance in their original state).

See Also:
solutionEquals(Object)

toString

public String toString()
Overrides:
toString in class AbstractPersistable


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