org.jclouds.cloudsigma.domain
Class SCSIDevice

java.lang.Object
  extended by org.jclouds.cloudsigma.domain.Device
      extended by org.jclouds.cloudsigma.domain.SCSIDevice

public class SCSIDevice
extends Device

Author:
Adrian Cole

Nested Class Summary
static class SCSIDevice.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.cloudsigma.domain.Device
driveUuid, mediaType
 
Constructor Summary
SCSIDevice(String driveUuid, MediaType mediaType, int unit)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getBus()
           
 String getId()
          id generated based on the device bus, unit, and/or index numbers;
 int getUnit()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jclouds.cloudsigma.domain.Device
getDriveUuid, getMediaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SCSIDevice

public SCSIDevice(String driveUuid,
                  MediaType mediaType,
                  int unit)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Device

equals

public boolean equals(Object obj)
Overrides:
equals in class Device

getBus

public int getBus()

getUnit

public int getUnit()

getId

public String getId()
Description copied from class: Device
id generated based on the device bus, unit, and/or index numbers;

Specified by:
getId in class Device

toString

public String toString()
Overrides:
toString in class Device


Copyright © 2009-2011 jclouds. All Rights Reserved.