This project has retired. For details please refer to its Attic page.
Address xref
View Javadoc
1   /*
2    * Copyright 2001-2008 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   */
17  package org.uddi.api_v2;
18  
19  import java.util.ArrayList;
20  import java.util.List;
21  import javax.xml.bind.annotation.XmlAccessType;
22  import javax.xml.bind.annotation.XmlAccessorType;
23  import javax.xml.bind.annotation.XmlAttribute;
24  import javax.xml.bind.annotation.XmlType;
25  
26  
27  /**
28   * <p>Java class for address complex type.
29   * 
30   * <p>The following schema fragment specifies the expected content contained within this class.
31   * 
32   * <pre>
33   * &lt;complexType name="address">
34   *   &lt;complexContent>
35   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36   *       &lt;sequence>
37   *         &lt;element ref="{urn:uddi-org:api_v2}addressLine" maxOccurs="unbounded" minOccurs="0"/>
38   *       &lt;/sequence>
39   *       &lt;attribute name="useType" type="{http://www.w3.org/2001/XMLSchema}string" />
40   *       &lt;attribute name="sortCode" type="{http://www.w3.org/2001/XMLSchema}string" />
41   *       &lt;attribute name="tModelKey" type="{urn:uddi-org:api_v2}tModelKey" />
42   *     &lt;/restriction>
43   *   &lt;/complexContent>
44   * &lt;/complexType>
45   * </pre>
46   * 
47   * 
48   */
49  @XmlAccessorType(XmlAccessType.FIELD)
50  @XmlType(name = "address", propOrder = {
51      "addressLine"
52  })
53  public class Address {
54  
55      protected List<AddressLine> addressLine;
56      @XmlAttribute(name = "useType")
57      protected String useType;
58      @XmlAttribute(name = "sortCode")
59      protected String sortCode;
60      @XmlAttribute(name = "tModelKey")
61      protected String tModelKey;
62  
63      /**
64       * Gets the value of the addressLine property.
65       * 
66       * <p>
67       * This accessor method returns a reference to the live list,
68       * not a snapshot. Therefore any modification you make to the
69       * returned list will be present inside the JAXB object.
70       * This is why there is not a <CODE>set</CODE> method for the addressLine property.
71       * 
72       * <p>
73       * For example, to add a new item, do as follows:
74       * <pre>
75       *    getAddressLine().add(newItem);
76       * </pre>
77       * 
78       * 
79       * <p>
80       * Objects of the following type(s) are allowed in the list
81       * {@link AddressLine }
82       * 
83       * 
84       */
85      public List<AddressLine> getAddressLine() {
86          if (addressLine == null) {
87              addressLine = new ArrayList<AddressLine>();
88          }
89          return this.addressLine;
90      }
91  
92      /**
93       * Gets the value of the useType property.
94       * 
95       * @return
96       *     possible object is
97       *     {@link String }
98       *     
99       */
100     public String getUseType() {
101         return useType;
102     }
103 
104     /**
105      * Sets the value of the useType property.
106      * 
107      * @param value
108      *     allowed object is
109      *     {@link String }
110      *     
111      */
112     public void setUseType(String value) {
113         this.useType = value;
114     }
115 
116     /**
117      * Gets the value of the sortCode property.
118      * 
119      * @return
120      *     possible object is
121      *     {@link String }
122      *     
123      */
124     public String getSortCode() {
125         return sortCode;
126     }
127 
128     /**
129      * Sets the value of the sortCode property.
130      * 
131      * @param value
132      *     allowed object is
133      *     {@link String }
134      *     
135      */
136     public void setSortCode(String value) {
137         this.sortCode = value;
138     }
139 
140     /**
141      * Gets the value of the tModelKey property.
142      * 
143      * @return
144      *     possible object is
145      *     {@link String }
146      *     
147      */
148     public String getTModelKey() {
149         return tModelKey;
150     }
151 
152     /**
153      * Sets the value of the tModelKey property.
154      * 
155      * @param value
156      *     allowed object is
157      *     {@link String }
158      *     
159      */
160     public void setTModelKey(String value) {
161         this.tModelKey = value;
162     }
163 
164 }