Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class MeasureType

java.lang.Object
  extended by com.ebay.soap.eBLBaseComponents.MeasureType
All Implemented Interfaces:
java.io.Serializable

public class MeasureType
extends java.lang.Object
implements java.io.Serializable

Basic type for specifying measures and the system of measurement. A decimal value (e.g., 10.25) is meaningful as a measure when accompanied by a definition of the unit of measure (e.g., Pounds), in which case the value specifies the quantity of that unit. A MeasureType expresses both the value (a decimal) and, optionally, the unit and the system of measurement. Details such as shipping weights are specified as measure types.

Java class for MeasureType complex type.

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

 <complexType name="MeasureType">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>decimal">
       <attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}token" />
       <attribute name="measurementSystem" type="{urn:ebay:apis:eBLBaseComponents}MeasurementSystemCodeType" />
     </extension>
   </simpleContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  MeasurementSystemCodeType measurementSystem
           
protected  java.lang.String unit
           
protected  java.math.BigDecimal value
           
 
Constructor Summary
MeasureType()
           
 
Method Summary
 MeasurementSystemCodeType getMeasurementSystem()
          Gets the value of the measurementSystem property.
 java.lang.String getUnit()
          Gets the value of the unit property.
 java.math.BigDecimal getValue()
          Gets the value of the value property.
 void setMeasurementSystem(MeasurementSystemCodeType value)
          Sets the value of the measurementSystem property.
 void setUnit(java.lang.String value)
          Sets the value of the unit property.
 void setValue(java.math.BigDecimal value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected java.math.BigDecimal value

unit

protected java.lang.String unit

measurementSystem

protected MeasurementSystemCodeType measurementSystem
Constructor Detail

MeasureType

public MeasureType()
Method Detail

getValue

public java.math.BigDecimal getValue()
Gets the value of the value property.

Returns:
possible object is BigDecimal

setValue

public void setValue(java.math.BigDecimal value)
Sets the value of the value property.

Parameters:
value - allowed object is BigDecimal

getUnit

public java.lang.String getUnit()
Gets the value of the unit property.

Returns:
possible object is String

setUnit

public void setUnit(java.lang.String value)
Sets the value of the unit property.

Parameters:
value - allowed object is String

getMeasurementSystem

public MeasurementSystemCodeType getMeasurementSystem()
Gets the value of the measurementSystem property.

Returns:
possible object is MeasurementSystemCodeType

setMeasurementSystem

public void setMeasurementSystem(MeasurementSystemCodeType value)
Sets the value of the measurementSystem property.

Parameters:
value - allowed object is MeasurementSystemCodeType

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.