| java.lang.Object |
| ↳ |
com.amazonaws.fba_outbound.doc._2007_08_02.Weight |
Class Overview
generic weight info element - weight is a float with KG or LB for
units
Summary
| Public Constructors |
|
|
Weight()
|
|
|
Weight(String unit, BigDecimal value)
|
| Public Methods |
|
synchronized
boolean
|
equals(Object obj)
|
|
static
Deserializer
|
getDeserializer(String mechType, Class _javaType, QName _xmlType)
Get Custom Deserializer
|
|
static
Serializer
|
getSerializer(String mechType, Class _javaType, QName _xmlType)
Get Custom Serializer
|
|
static
TypeDesc
|
getTypeDesc()
Return type metadata object
|
|
String
|
getUnit()
Gets the unit value for this Weight.
|
|
BigDecimal
|
getValue()
Gets the value value for this Weight.
|
|
synchronized
int
|
hashCode()
|
|
void
|
setUnit(String unit)
Sets the unit value for this Weight.
|
|
void
|
setValue(BigDecimal value)
Sets the value value for this Weight.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
private
Object
__equalsCalc
private
boolean
__hashCodeCalc
private
static
TypeDesc
typeDesc
Public Constructors
public
Weight
(String unit, BigDecimal value)
Public Methods
public
synchronized
boolean
equals
(Object obj)
public
static
Deserializer
getDeserializer
(String mechType, Class _javaType, QName _xmlType)
Parameters
| mechType
| |
| _javaType
| |
| _xmlType
| |
public
static
Serializer
getSerializer
(String mechType, Class _javaType, QName _xmlType)
Parameters
| mechType
| |
| _javaType
| |
| _xmlType
| |
public
static
TypeDesc
getTypeDesc
()
Return type metadata object
public
String
getUnit
()
Gets the unit value for this Weight.
public
BigDecimal
getValue
()
Gets the value value for this Weight.
public
synchronized
int
hashCode
()
public
void
setUnit
(String unit)
Sets the unit value for this Weight.
public
void
setValue
(BigDecimal value)
Sets the value value for this Weight.