org.jclouds.deltacloud.domain
Class RangeHardwareProperty

java.lang.Object
  extended by org.jclouds.deltacloud.domain.internal.BaseHardwareProperty
      extended by org.jclouds.deltacloud.domain.ParameterizedHardwareProperty
          extended by org.jclouds.deltacloud.domain.RangeHardwareProperty
All Implemented Interfaces:
HardwareProperty

public class RangeHardwareProperty
extends ParameterizedHardwareProperty

Author:
Adrian Cole

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jclouds.deltacloud.domain.HardwareProperty
HardwareProperty.Kind
 
Constructor Summary
RangeHardwareProperty(String name, String unit, Number value, HardwareParameter param, Number first, Number last)
           
 
Method Summary
 boolean equals(Object obj)
           
 Number getFirst()
           
 Number getLast()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jclouds.deltacloud.domain.ParameterizedHardwareProperty
getParam
 
Methods inherited from class org.jclouds.deltacloud.domain.internal.BaseHardwareProperty
getKind, getName, getUnit, getValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RangeHardwareProperty

public RangeHardwareProperty(String name,
                             String unit,
                             Number value,
                             HardwareParameter param,
                             Number first,
                             Number last)
Method Detail

getFirst

public Number getFirst()
Returns:
minimum value

getLast

public Number getLast()
Returns:
maximum value

toString

public String toString()
Overrides:
toString in class ParameterizedHardwareProperty

hashCode

public int hashCode()
Overrides:
hashCode in class ParameterizedHardwareProperty

equals

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


Copyright © 2009-2012 jclouds. All Rights Reserved.