org.jclouds.servermanager
Class Hardware

java.lang.Object
  extended by org.jclouds.servermanager.Hardware

public class Hardware
extends Object

This would be replaced with the real java object related to the underlying hardware

Author:
Adrian Cole

Field Summary
 int cores
           
 float disk
           
 int id
           
 String name
           
 int ram
           
 
Constructor Summary
Hardware(int id, String name, int cores, int ram, float disk)
           
 
Method Summary
 boolean equals(Object that)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public int id

name

public String name

cores

public int cores

ram

public int ram

disk

public float disk
Constructor Detail

Hardware

public Hardware(int id,
                String name,
                int cores,
                int ram,
                float disk)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object that)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2011 jclouds. All Rights Reserved.