1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.2-b01-fcs 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2007.04.05 at 10:47:13 AM CEST 6 // 7 8 9 package com.amazon.webservices.awsecommerceservice._2007_04_04; 10 11 import java.math.BigDecimal; 12 import javax.xml.bind.annotation.XmlAccessType; 13 import javax.xml.bind.annotation.XmlAccessorType; 14 import javax.xml.bind.annotation.XmlAttribute; 15 import javax.xml.bind.annotation.XmlType; 16 import javax.xml.bind.annotation.XmlValue; 17 18 19 /** 20 * <p>Java class for DecimalWithUnits complex type. 21 * 22 * <p>The following schema fragment specifies the expected content contained within this class. 23 * 24 * <pre> 25 * <complexType name="DecimalWithUnits"> 26 * <simpleContent> 27 * <extension base="<http://www.w3.org/2001/XMLSchema>decimal"> 28 * <attribute name="Units" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 29 * </extension> 30 * </simpleContent> 31 * </complexType> 32 * </pre> 33 * 34 * 35 */ 36 @XmlAccessorType(XmlAccessType.FIELD) 37 @XmlType(name = "DecimalWithUnits", propOrder = { 38 "value" 39 }) 40 public class DecimalWithUnits { 41 42 @XmlValue 43 protected BigDecimal value; 44 @XmlAttribute(name = "Units", required = true) 45 protected String units; 46 47 /** 48 * Gets the value of the value property. 49 * 50 * @return 51 * possible object is 52 * {@link BigDecimal } 53 * 54 */ 55 public BigDecimal getValue() { 56 return value; 57 } 58 59 /** 60 * Sets the value of the value property. 61 * 62 * @param value 63 * allowed object is 64 * {@link BigDecimal } 65 * 66 */ 67 public void setValue(BigDecimal value) { 68 this.value = value; 69 } 70 71 /** 72 * Gets the value of the units property. 73 * 74 * @return 75 * possible object is 76 * {@link String } 77 * 78 */ 79 public String getUnits() { 80 return units; 81 } 82 83 /** 84 * Sets the value of the units property. 85 * 86 * @param value 87 * allowed object is 88 * {@link String } 89 * 90 */ 91 public void setUnits(String value) { 92 this.units = value; 93 } 94 95 }