|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ebay.soap.eBLBaseComponents.MeasureType
public class MeasureType
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>
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 |
---|
protected java.math.BigDecimal value
protected java.lang.String unit
protected MeasurementSystemCodeType measurementSystem
Constructor Detail |
---|
public MeasureType()
Method Detail |
---|
public java.math.BigDecimal getValue()
BigDecimal
public void setValue(java.math.BigDecimal value)
value
- allowed object is
BigDecimal
public java.lang.String getUnit()
String
public void setUnit(java.lang.String value)
value
- allowed object is
String
public MeasurementSystemCodeType getMeasurementSystem()
MeasurementSystemCodeType
public void setMeasurementSystem(MeasurementSystemCodeType value)
value
- allowed object is
MeasurementSystemCodeType
|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.