DbStorage.manager
Class PhysicalLabeledSSD

java.lang.Object
  extended byDbStorage.manager.PhysicalLabeledSSD

public final class PhysicalLabeledSSD
extends java.lang.Object

This class represents a pair formed of a PhysicalID and a string label


Nested Class Summary
static class PhysicalLabeledSSD.ByIDComparator
          This class is used to compare two PhysicalLabeledSSDs using their ID component first and their label component second.
static class PhysicalLabeledSSD.ByLabelComparator
          This class is used to compare two PhysicalLabeledSSDs using their label component first and their ID component second.
 
Constructor Summary
PhysicalLabeledSSD()
          Constructs PhysicalLabeledSSD with null components.
PhysicalLabeledSSD(java.lang.String label, PhysicalID id)
          Constructs PhysicalLabeledSSD with specified components.
 
Method Summary
 PhysicalID getID()
          Returns the ID component.
 java.lang.String getLabel()
          Returns the label component.
 ssdbms.ssd.LabeledSSD getLabeledSSD()
          Returns a LabeledSSD from this.
 void setID(PhysicalID id)
          Sets the ID component.
 void setLabel(java.lang.String label)
          Sets the label component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhysicalLabeledSSD

public PhysicalLabeledSSD()
Constructs PhysicalLabeledSSD with null components.


PhysicalLabeledSSD

public PhysicalLabeledSSD(java.lang.String label,
                          PhysicalID id)
Constructs PhysicalLabeledSSD with specified components.

Method Detail

getLabeledSSD

public ssdbms.ssd.LabeledSSD getLabeledSSD()
Returns a LabeledSSD from this.


getLabel

public java.lang.String getLabel()
Returns the label component.


getID

public PhysicalID getID()
Returns the ID component.


setLabel

public void setLabel(java.lang.String label)
Sets the label component.


setID

public void setID(PhysicalID id)
Sets the ID component.