com.amazonaws.a2s.model
Class ItemDimensions

java.lang.Object
  extended by com.amazonaws.a2s.model.ItemDimensions

public class ItemDimensions
extends java.lang.Object

Java class for ItemDimensions complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ItemDimensions">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Height" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}DecimalWithUnits" minOccurs="0"/>
         <element name="Length" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}DecimalWithUnits" minOccurs="0"/>
         <element name="Weight" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}DecimalWithUnits" minOccurs="0"/>
         <element name="Width" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}DecimalWithUnits" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Generated by AWS Code Generator

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  DecimalWithUnits height
           
protected  DecimalWithUnits length
           
protected  DecimalWithUnits weight
           
protected  DecimalWithUnits width
           
 
Constructor Summary
ItemDimensions()
           
 
Method Summary
 DecimalWithUnits getHeight()
          Gets the value of the height property.
 DecimalWithUnits getLength()
          Gets the value of the length property.
 DecimalWithUnits getWeight()
          Gets the value of the weight property.
 DecimalWithUnits getWidth()
          Gets the value of the width property.
 boolean isSetHeight()
           
 boolean isSetLength()
           
 boolean isSetWeight()
           
 boolean isSetWidth()
           
 void setHeight(DecimalWithUnits value)
          Sets the value of the height property.
 void setLength(DecimalWithUnits value)
          Sets the value of the length property.
 void setWeight(DecimalWithUnits value)
          Sets the value of the weight property.
 void setWidth(DecimalWithUnits value)
          Sets the value of the width property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 ItemDimensions withHeight(DecimalWithUnits value)
          Sets the value of the Height property.
 ItemDimensions withLength(DecimalWithUnits value)
          Sets the value of the Length property.
 ItemDimensions withWeight(DecimalWithUnits value)
          Sets the value of the Weight property.
 ItemDimensions withWidth(DecimalWithUnits value)
          Sets the value of the Width property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

height

protected DecimalWithUnits height

length

protected DecimalWithUnits length

weight

protected DecimalWithUnits weight

width

protected DecimalWithUnits width
Constructor Detail

ItemDimensions

public ItemDimensions()
Method Detail

getHeight

public DecimalWithUnits getHeight()
Gets the value of the height property.

Returns:
possible object is DecimalWithUnits

setHeight

public void setHeight(DecimalWithUnits value)
Sets the value of the height property.

Parameters:
value - allowed object is DecimalWithUnits

isSetHeight

public boolean isSetHeight()

getLength

public DecimalWithUnits getLength()
Gets the value of the length property.

Returns:
possible object is DecimalWithUnits

setLength

public void setLength(DecimalWithUnits value)
Sets the value of the length property.

Parameters:
value - allowed object is DecimalWithUnits

isSetLength

public boolean isSetLength()

getWeight

public DecimalWithUnits getWeight()
Gets the value of the weight property.

Returns:
possible object is DecimalWithUnits

setWeight

public void setWeight(DecimalWithUnits value)
Sets the value of the weight property.

Parameters:
value - allowed object is DecimalWithUnits

isSetWeight

public boolean isSetWeight()

getWidth

public DecimalWithUnits getWidth()
Gets the value of the width property.

Returns:
possible object is DecimalWithUnits

setWidth

public void setWidth(DecimalWithUnits value)
Sets the value of the width property.

Parameters:
value - allowed object is DecimalWithUnits

isSetWidth

public boolean isSetWidth()

withHeight

public ItemDimensions withHeight(DecimalWithUnits value)
Sets the value of the Height property.

Parameters:
value -
Returns:
this instance

withLength

public ItemDimensions withLength(DecimalWithUnits value)
Sets the value of the Length property.

Parameters:
value -
Returns:
this instance

withWeight

public ItemDimensions withWeight(DecimalWithUnits value)
Sets the value of the Weight property.

Parameters:
value -
Returns:
this instance

withWidth

public ItemDimensions withWidth(DecimalWithUnits value)
Sets the value of the Width property.

Parameters:
value -
Returns:
this instance

toXMLFragment

protected java.lang.String toXMLFragment()
XML fragment representation of this object

Returns:
XML fragment for this object. Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only