org.jclouds.deltacloud.domain
Class ParameterizedHardwareProperty

java.lang.Object
  extended by org.jclouds.deltacloud.domain.internal.BaseHardwareProperty
      extended by org.jclouds.deltacloud.domain.ParameterizedHardwareProperty
All Implemented Interfaces:
HardwareProperty
Direct Known Subclasses:
EnumHardwareProperty, RangeHardwareProperty

public class ParameterizedHardwareProperty
extends BaseHardwareProperty

Author:
Adrian Cole

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jclouds.deltacloud.domain.HardwareProperty
HardwareProperty.Kind
 
Constructor Summary
ParameterizedHardwareProperty(HardwareProperty.Kind kind, String name, String unit, Object value, HardwareParameter param)
           
 
Method Summary
 boolean equals(Object obj)
           
 HardwareParameter getParam()
           
 int hashCode()
           
 String toString()
           
 
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

ParameterizedHardwareProperty

public ParameterizedHardwareProperty(HardwareProperty.Kind kind,
                                     String name,
                                     String unit,
                                     Object value,
                                     HardwareParameter param)
Method Detail

getParam

public HardwareParameter getParam()
Returns:
how to associate a non-default value with a request against an instance.

hashCode

public int hashCode()
Overrides:
hashCode in class BaseHardwareProperty

equals

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

toString

public String toString()
Overrides:
toString in class BaseHardwareProperty


Copyright © 2009-2012 jclouds. All Rights Reserved.