View Javadoc

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.BigInteger;
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.XmlSchemaType;
16  import javax.xml.bind.annotation.XmlType;
17  import javax.xml.bind.annotation.XmlValue;
18  
19  
20  /**
21   * <p>Java class for NonNegativeIntegerWithUnits complex type.
22   * 
23   * <p>The following schema fragment specifies the expected content contained within this class.
24   * 
25   * <pre>
26   * &lt;complexType name="NonNegativeIntegerWithUnits">
27   *   &lt;simpleContent>
28   *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>nonNegativeInteger">
29   *       &lt;attribute name="Units" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
30   *     &lt;/extension>
31   *   &lt;/simpleContent>
32   * &lt;/complexType>
33   * </pre>
34   * 
35   * 
36   */
37  @XmlAccessorType(XmlAccessType.FIELD)
38  @XmlType(name = "NonNegativeIntegerWithUnits", propOrder = {
39      "value"
40  })
41  public class NonNegativeIntegerWithUnits {
42  
43      @XmlValue
44      @XmlSchemaType(name = "nonNegativeInteger")
45      protected BigInteger value;
46      @XmlAttribute(name = "Units", required = true)
47      protected String units;
48  
49      /**
50       * Gets the value of the value property.
51       * 
52       * @return
53       *     possible object is
54       *     {@link BigInteger }
55       *     
56       */
57      public BigInteger getValue() {
58          return value;
59      }
60  
61      /**
62       * Sets the value of the value property.
63       * 
64       * @param value
65       *     allowed object is
66       *     {@link BigInteger }
67       *     
68       */
69      public void setValue(BigInteger value) {
70          this.value = value;
71      }
72  
73      /**
74       * Gets the value of the units property.
75       * 
76       * @return
77       *     possible object is
78       *     {@link String }
79       *     
80       */
81      public String getUnits() {
82          return units;
83      }
84  
85      /**
86       * Sets the value of the units property.
87       * 
88       * @param value
89       *     allowed object is
90       *     {@link String }
91       *     
92       */
93      public void setUnits(String value) {
94          this.units = value;
95      }
96  
97  }