se.unlogic.standardutils.hddtemp
Class Drive

java.lang.Object
  extended by se.unlogic.standardutils.hddtemp.Drive
All Implemented Interfaces:
Elementable, XMLable

@XMLElement
public class Drive
extends Object
implements Elementable


Constructor Summary
Drive()
           
Drive(Integer temp, String type, String device)
           
 
Method Summary
 String getDevice()
           
 DriveState getDriveState()
           
 Integer getTemp()
           
 String getType()
           
 void setDevice(String device)
           
 void setDriveState(DriveState driveState)
           
 void setTemp(Integer temp)
           
 void setType(String type)
           
 String toString()
           
 Element toXML(Document doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Drive

public Drive(Integer temp,
             String type,
             String device)

Drive

public Drive()
Method Detail

getTemp

public Integer getTemp()

setTemp

public void setTemp(Integer temp)

getType

public String getType()

setType

public void setType(String type)

getDevice

public String getDevice()

setDevice

public void setDevice(String device)

toString

public String toString()
Overrides:
toString in class Object

toXML

public Element toXML(Document doc)
Specified by:
toXML in interface Elementable
Specified by:
toXML in interface XMLable

getDriveState

public DriveState getDriveState()

setDriveState

public void setDriveState(DriveState driveState)


Copyright © 2011. All Rights Reserved.