1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661 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: 2009.07.19 at 09:49:41 PM CDT 6 // 7 8 9 package org.apache.ws.scout.model.uddi.v2; 10 11 import java.util.ArrayList; 12 import java.util.List; 13 14 import javax.xml.bind.annotation.XmlAccessType; 15 import javax.xml.bind.annotation.XmlAccessorType; 16 import javax.xml.bind.annotation.XmlAttribute; 17 import javax.xml.bind.annotation.XmlType; 18 19 20 /** 21 * <p>Java class for address complex type. 22 * 23 * <p>The following schema fragment specifies the expected content contained within this class. 24 * 25 * <pre> 26 * <complexType name="address"> 27 * <complexContent> 28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 29 * <sequence> 30 * <element ref="{urn:uddi-org:api_v2}addressLine" maxOccurs="unbounded" minOccurs="0"/> 31 * </sequence> 32 * <attribute name="useType" type="{http://www.w3.org/2001/XMLSchema}string" /> 33 * <attribute name="sortCode" type="{http://www.w3.org/2001/XMLSchema}string" /> 34 * <attribute name="tModelKey" type="{urn:uddi-org:api_v2}tModelKey" /> 35 * </restriction> 36 * </complexContent> 37 * </complexType> 38 * </pre> 39 * 40 * 41 */ 42 @XmlAccessorType(XmlAccessType.FIELD) 43 @XmlType(name = "address", propOrder = { 44 "addressLine" 45 }) 46 public class Address { 47 48 protected List<AddressLine> addressLine; 49 @XmlAttribute 50 protected String useType; 51 @XmlAttribute 52 protected String sortCode; 53 @XmlAttribute 54 protected String tModelKey; 55 56 /** 57 * Gets the value of the addressLine property. 58 * 59 * <p> 60 * This accessor method returns a reference to the live list, 61 * not a snapshot. Therefore any modification you make to the 62 * returned list will be present inside the JAXB object. 63 * This is why there is not a <CODE>set</CODE> method for the addressLine property. 64 * 65 * <p> 66 * For example, to add a new item, do as follows: 67 * <pre> 68 * getAddressLine().add(newItem); 69 * </pre> 70 * 71 * 72 * <p> 73 * Objects of the following type(s) are allowed in the list 74 * {@link AddressLine } 75 * 76 * 77 */ 78 public List<AddressLine> getAddressLine() { 79 if (addressLine == null) { 80 addressLine = new ArrayList<AddressLine>(); 81 } 82 return this.addressLine; 83 } 84 85 /** 86 * Gets the value of the useType property. 87 * 88 * @return 89 * possible object is 90 * {@link String } 91 * 92 */ 93 public String getUseType() { 94 return useType; 95 } 96 97 /** 98 * Sets the value of the useType property. 99 * 100 * @param value 101 * allowed object is 102 * {@link String } 103 * 104 */ 105 public void setUseType(String value) { 106 this.useType = value; 107 } 108 109 /** 110 * Gets the value of the sortCode property. 111 * 112 * @return 113 * possible object is 114 * {@link String } 115 * 116 */ 117 public String getSortCode() { 118 return sortCode; 119 } 120 121 /** 122 * Sets the value of the sortCode property. 123 * 124 * @param value 125 * allowed object is 126 * {@link String } 127 * 128 */ 129 public void setSortCode(String value) { 130 this.sortCode = value; 131 } 132 133 /** 134 * Gets the value of the tModelKey property. 135 * 136 * @return 137 * possible object is 138 * {@link String } 139 * 140 */ 141 public String getTModelKey() { 142 return tModelKey; 143 } 144 145 /** 146 * Sets the value of the tModelKey property. 147 * 148 * @param value 149 * allowed object is 150 * {@link String } 151 * 152 */ 153 public void setTModelKey(String value) { 154 this.tModelKey = value; 155 } 156 157 }