|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.amazonaws.a2s.model.DecimalWithUnits
public class DecimalWithUnits
Java class for DecimalWithUnits complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DecimalWithUnits">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>decimal">
<attribute name="Units" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</simpleContent>
</complexType>
Generated by AWS Code Generator
Thu Jan 10 05:27:59 PST 2008
| Field Summary | |
|---|---|
protected java.lang.String |
units
|
protected java.math.BigDecimal |
value
|
| Constructor Summary | |
|---|---|
DecimalWithUnits()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getUnits()
Gets the value of the units property. |
java.math.BigDecimal |
getValue()
Gets the value of the value property. |
boolean |
isSetUnits()
|
boolean |
isSetValue()
|
void |
setUnits(java.lang.String value)
Sets the value of the units property. |
void |
setValue(java.math.BigDecimal value)
Sets the value of the value property. |
protected java.lang.String |
toXMLFragment()
XML fragment representation of this object |
DecimalWithUnits |
withUnits(java.lang.String value)
Sets the value of the Units property. |
DecimalWithUnits |
withValue(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 units
| Constructor Detail |
|---|
public DecimalWithUnits()
| Method Detail |
|---|
public java.math.BigDecimal getValue()
BigDecimalpublic void setValue(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic boolean isSetValue()
public java.lang.String getUnits()
Stringpublic void setUnits(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetUnits()
public DecimalWithUnits withValue(java.math.BigDecimal value)
value -
public DecimalWithUnits withUnits(java.lang.String value)
value -
protected java.lang.String toXMLFragment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||