All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.uddi.api_v3.Address Maven / Gradle / Ivy


package org.uddi.api_v3;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for address complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="address">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:uddi-org:api_v3}addressLine" maxOccurs="unbounded"/>
 *       </sequence>
 *       <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
 *       <attribute name="useType" type="{urn:uddi-org:api_v3}useType" default="" />
 *       <attribute name="sortCode" type="{urn:uddi-org:api_v3}sortCode" default="" />
 *       <attribute name="tModelKey" type="{urn:uddi-org:api_v3}tModelKey" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "address", propOrder = { "addressLine" }) public class Address { @XmlElement(required = true) protected List addressLine; @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") protected String lang; @XmlAttribute protected String useType; @XmlAttribute protected String sortCode; @XmlAttribute protected String tModelKey; /** * Gets the value of the addressLine property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the addressLine property. * *

* For example, to add a new item, do as follows: *

     *    getAddressLine().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AddressLine } * * */ public List getAddressLine() { if (addressLine == null) { addressLine = new ArrayList(); } return this.addressLine; } /** * Gets the value of the lang property. * * @return * possible object is * {@link String } * */ public String getLang() { return lang; } /** * Sets the value of the lang property. * * @param value * allowed object is * {@link String } * */ public void setLang(String value) { this.lang = value; } /** * Gets the value of the useType property. * * @return * possible object is * {@link String } * */ public String getUseType() { if (useType == null) { return ""; } else { return useType; } } /** * Sets the value of the useType property. * * @param value * allowed object is * {@link String } * */ public void setUseType(String value) { this.useType = value; } /** * Gets the value of the sortCode property. * * @return * possible object is * {@link String } * */ public String getSortCode() { if (sortCode == null) { return ""; } else { return sortCode; } } /** * Sets the value of the sortCode property. * * @param value * allowed object is * {@link String } * */ public void setSortCode(String value) { this.sortCode = value; } /** * Gets the value of the tModelKey property. * * @return * possible object is * {@link String } * */ public String getTModelKey() { return tModelKey; } /** * Sets the value of the tModelKey property. * * @param value * allowed object is * {@link String } * */ public void setTModelKey(String value) { this.tModelKey = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy