View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
3   // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2019.08.22 at 12:17:55 PM UTC 
6   //
7   
8   
9   package ejava.projects.esales.dto;
10  
11  import javax.xml.bind.annotation.XmlAccessType;
12  import javax.xml.bind.annotation.XmlAccessorType;
13  import javax.xml.bind.annotation.XmlAttribute;
14  import javax.xml.bind.annotation.XmlElement;
15  import javax.xml.bind.annotation.XmlRootElement;
16  import javax.xml.bind.annotation.XmlSchemaType;
17  import javax.xml.bind.annotation.XmlType;
18  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
19  
20  
21  /**
22   * <p>Java class for anonymous complex type.
23   * 
24   * <p>The following schema fragment specifies the expected content contained within this class.
25   * 
26   * <pre>
27   * &lt;complexType&gt;
28   *   &lt;complexContent&gt;
29   *     &lt;extension base="{http://ejava.info/eSales/1.0.2007.2}ReferencedType"&gt;
30   *       &lt;sequence&gt;
31   *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
32   *         &lt;element name="addressee" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
33   *         &lt;element name="street" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
34   *         &lt;element name="city" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
35   *         &lt;element name="state" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
36   *         &lt;element name="zip" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
37   *       &lt;/sequence&gt;
38   *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt;
39   *     &lt;/extension&gt;
40   *   &lt;/complexContent&gt;
41   * &lt;/complexType&gt;
42   * </pre>
43   * 
44   * 
45   */
46  @XmlAccessorType(XmlAccessType.FIELD)
47  @XmlType(name = "", propOrder = {
48      "name",
49      "addressee",
50      "street",
51      "city",
52      "state",
53      "zip"
54  })
55  @XmlRootElement(name = "address")
56  public class Address
57      extends ReferencedType
58  {
59  
60      @XmlElement(required = true)
61      protected String name;
62      @XmlElement(required = true)
63      protected String addressee;
64      @XmlElement(required = true)
65      protected String street;
66      @XmlElement(required = true)
67      protected String city;
68      @XmlElement(required = true)
69      protected String state;
70      @XmlElement(required = true)
71      protected String zip;
72      @XmlAttribute(name = "id")
73      @XmlJavaTypeAdapter(Adapter4 .class)
74      @XmlSchemaType(name = "integer")
75      protected Integer id;
76  
77      /**
78       * Default no-arg constructor
79       * 
80       */
81      public Address() {
82          super();
83      }
84  
85      /**
86       * Fully-initialising value constructor
87       * 
88       */
89      public Address(final String refid, final String name, final String addressee, final String street, final String city, final String state, final String zip, final Integer id) {
90          super(refid);
91          this.name = name;
92          this.addressee = addressee;
93          this.street = street;
94          this.city = city;
95          this.state = state;
96          this.zip = zip;
97          this.id = id;
98      }
99  
100     /**
101      * Gets the value of the name property.
102      * 
103      * @return
104      *     possible object is
105      *     {@link String }
106      *     
107      */
108     public String getName() {
109         return name;
110     }
111 
112     /**
113      * Sets the value of the name property.
114      * 
115      * @param value
116      *     allowed object is
117      *     {@link String }
118      *     
119      */
120     public void setName(String value) {
121         this.name = value;
122     }
123 
124     /**
125      * Gets the value of the addressee property.
126      * 
127      * @return
128      *     possible object is
129      *     {@link String }
130      *     
131      */
132     public String getAddressee() {
133         return addressee;
134     }
135 
136     /**
137      * Sets the value of the addressee property.
138      * 
139      * @param value
140      *     allowed object is
141      *     {@link String }
142      *     
143      */
144     public void setAddressee(String value) {
145         this.addressee = value;
146     }
147 
148     /**
149      * Gets the value of the street property.
150      * 
151      * @return
152      *     possible object is
153      *     {@link String }
154      *     
155      */
156     public String getStreet() {
157         return street;
158     }
159 
160     /**
161      * Sets the value of the street property.
162      * 
163      * @param value
164      *     allowed object is
165      *     {@link String }
166      *     
167      */
168     public void setStreet(String value) {
169         this.street = value;
170     }
171 
172     /**
173      * Gets the value of the city property.
174      * 
175      * @return
176      *     possible object is
177      *     {@link String }
178      *     
179      */
180     public String getCity() {
181         return city;
182     }
183 
184     /**
185      * Sets the value of the city property.
186      * 
187      * @param value
188      *     allowed object is
189      *     {@link String }
190      *     
191      */
192     public void setCity(String value) {
193         this.city = value;
194     }
195 
196     /**
197      * Gets the value of the state property.
198      * 
199      * @return
200      *     possible object is
201      *     {@link String }
202      *     
203      */
204     public String getState() {
205         return state;
206     }
207 
208     /**
209      * Sets the value of the state property.
210      * 
211      * @param value
212      *     allowed object is
213      *     {@link String }
214      *     
215      */
216     public void setState(String value) {
217         this.state = value;
218     }
219 
220     /**
221      * Gets the value of the zip property.
222      * 
223      * @return
224      *     possible object is
225      *     {@link String }
226      *     
227      */
228     public String getZip() {
229         return zip;
230     }
231 
232     /**
233      * Sets the value of the zip property.
234      * 
235      * @param value
236      *     allowed object is
237      *     {@link String }
238      *     
239      */
240     public void setZip(String value) {
241         this.zip = value;
242     }
243 
244     /**
245      * Gets the value of the id property.
246      * 
247      * @return
248      *     possible object is
249      *     {@link String }
250      *     
251      */
252     public Integer getId() {
253         return id;
254     }
255 
256     /**
257      * Sets the value of the id property.
258      * 
259      * @param value
260      *     allowed object is
261      *     {@link String }
262      *     
263      */
264     public void setId(Integer value) {
265         this.id = value;
266     }
267 
268 }