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

org.bremersee.oasis.xal.PostOffice Maven / Gradle / Ivy

//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
//


package org.bremersee.oasis.xal;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.namespace.QName;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAnyAttribute;
import jakarta.xml.bind.annotation.XmlAnyElement;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.XmlValue;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for anonymous complex type. * *

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

{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                   
 *                   
 *                 
 *               
 *             
 *           
 *           
 *             
 *               
 *                 
 *                   
 *                   
 *                   
 *                     
 *                       
 *                         
 *                         
 *                       
 *                     
 *                   
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *         
 *         
 *         
 *       
 *       
 *       
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "addressLines", "postOfficeNumber", "postOfficeNames", "postalRoute", "postBox", "postalCode", "anies" }) @XmlRootElement(name = "PostOffice") public class PostOffice implements Serializable { private static final long serialVersionUID = 1L; @XmlElement(name = "AddressLine") protected List addressLines; @XmlElement(name = "PostOfficeNumber") protected PostOffice.PostOfficeNumber postOfficeNumber; @XmlElement(name = "PostOfficeName") protected List postOfficeNames; @XmlElement(name = "PostalRoute") protected PostalRouteType postalRoute; @XmlElement(name = "PostBox") protected PostBox postBox; @XmlElement(name = "PostalCode") protected PostalCode postalCode; @XmlAnyElement(lax = true) protected List anies; @XmlAttribute(name = "Type") @XmlSchemaType(name = "anySimpleType") protected String type; @XmlAttribute(name = "Indicator") @XmlSchemaType(name = "anySimpleType") protected String indicator; @XmlAnyAttribute private Map otherAttributes = new HashMap<>(); /** * Gets the value of the addressLines 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 Jakarta XML Binding object. * This is why there is not a {@code set} method for the addressLines property. * *

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

     *    getAddressLines().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AddressLine } * * * @return * The value of the addressLines property. */ public List getAddressLines() { if (addressLines == null) { addressLines = new ArrayList<>(); } return this.addressLines; } /** * Gets the value of the postOfficeNumber property. * * @return * possible object is * {@link PostOffice.PostOfficeNumber } * */ public PostOffice.PostOfficeNumber getPostOfficeNumber() { return postOfficeNumber; } /** * Sets the value of the postOfficeNumber property. * * @param value * allowed object is * {@link PostOffice.PostOfficeNumber } * */ public void setPostOfficeNumber(PostOffice.PostOfficeNumber value) { this.postOfficeNumber = value; } /** * Gets the value of the postOfficeNames 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 Jakarta XML Binding object. * This is why there is not a {@code set} method for the postOfficeNames property. * *

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

     *    getPostOfficeNames().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PostOffice.PostOfficeName } * * * @return * The value of the postOfficeNames property. */ public List getPostOfficeNames() { if (postOfficeNames == null) { postOfficeNames = new ArrayList<>(); } return this.postOfficeNames; } /** * Gets the value of the postalRoute property. * * @return * possible object is * {@link PostalRouteType } * */ public PostalRouteType getPostalRoute() { return postalRoute; } /** * Sets the value of the postalRoute property. * * @param value * allowed object is * {@link PostalRouteType } * */ public void setPostalRoute(PostalRouteType value) { this.postalRoute = value; } /** * Gets the value of the postBox property. * * @return * possible object is * {@link PostBox } * */ public PostBox getPostBox() { return postBox; } /** * Sets the value of the postBox property. * * @param value * allowed object is * {@link PostBox } * */ public void setPostBox(PostBox value) { this.postBox = value; } /** * Gets the value of the postalCode property. * * @return * possible object is * {@link PostalCode } * */ public PostalCode getPostalCode() { return postalCode; } /** * Sets the value of the postalCode property. * * @param value * allowed object is * {@link PostalCode } * */ public void setPostalCode(PostalCode value) { this.postalCode = value; } /** * Gets the value of the anies 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 Jakarta XML Binding object. * This is why there is not a {@code set} method for the anies property. * *

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

     *    getAnies().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * * * @return * The value of the anies property. */ public List getAnies() { if (anies == null) { anies = new ArrayList<>(); } return this.anies; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the indicator property. * * @return * possible object is * {@link String } * */ public String getIndicator() { return indicator; } /** * Sets the value of the indicator property. * * @param value * allowed object is * {@link String } * */ public void setIndicator(String value) { this.indicator = value; } /** * Gets a map that contains attributes that aren't bound to any typed property on this class. * *

* the map is keyed by the name of the attribute and * the value is the string value of the attribute. * * the map returned by this method is live, and you can add new attribute * by updating the map directly. Because of this design, there's no setter. * * * @return * always non-null */ public Map getOtherAttributes() { return otherAttributes; } /** *

Java class for anonymous complex type. * *

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

{@code
     * 
     *   
     *     
     *       
     *       
     *       
     *     
     *   
     * 
     * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) public static class PostOfficeName implements Serializable { private static final long serialVersionUID = 1L; @XmlValue protected String content; @XmlAttribute(name = "Type") @XmlSchemaType(name = "anySimpleType") protected String type; @XmlAttribute(name = "Code") @XmlSchemaType(name = "anySimpleType") protected String code; @XmlAnyAttribute private Map otherAttributes = new HashMap<>(); /** * Gets the value of the content property. * * @return * possible object is * {@link String } * */ public String getContent() { return content; } /** * Sets the value of the content property. * * @param value * allowed object is * {@link String } * */ public void setContent(String value) { this.content = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the code property. * * @return * possible object is * {@link String } * */ public String getCode() { return code; } /** * Sets the value of the code property. * * @param value * allowed object is * {@link String } * */ public void setCode(String value) { this.code = value; } /** * Gets a map that contains attributes that aren't bound to any typed property on this class. * *

* the map is keyed by the name of the attribute and * the value is the string value of the attribute. * * the map returned by this method is live, and you can add new attribute * by updating the map directly. Because of this design, there's no setter. * * * @return * always non-null */ public Map getOtherAttributes() { return otherAttributes; } } /** *

Java class for anonymous complex type. * *

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

{@code
     * 
     *   
     *     
     *       
     *       
     *       
     *         
     *           
     *             
     *             
     *           
     *         
     *       
     *       
     *     
     *   
     * 
     * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) public static class PostOfficeNumber implements Serializable { private static final long serialVersionUID = 1L; @XmlValue protected String content; @XmlAttribute(name = "Indicator") @XmlSchemaType(name = "anySimpleType") protected String indicator; @XmlAttribute(name = "IndicatorOccurrence") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String indicatorOccurrence; @XmlAttribute(name = "Code") @XmlSchemaType(name = "anySimpleType") protected String code; @XmlAnyAttribute private Map otherAttributes = new HashMap<>(); /** * Gets the value of the content property. * * @return * possible object is * {@link String } * */ public String getContent() { return content; } /** * Sets the value of the content property. * * @param value * allowed object is * {@link String } * */ public void setContent(String value) { this.content = value; } /** * Gets the value of the indicator property. * * @return * possible object is * {@link String } * */ public String getIndicator() { return indicator; } /** * Sets the value of the indicator property. * * @param value * allowed object is * {@link String } * */ public void setIndicator(String value) { this.indicator = value; } /** * Gets the value of the indicatorOccurrence property. * * @return * possible object is * {@link String } * */ public String getIndicatorOccurrence() { return indicatorOccurrence; } /** * Sets the value of the indicatorOccurrence property. * * @param value * allowed object is * {@link String } * */ public void setIndicatorOccurrence(String value) { this.indicatorOccurrence = value; } /** * Gets the value of the code property. * * @return * possible object is * {@link String } * */ public String getCode() { return code; } /** * Sets the value of the code property. * * @param value * allowed object is * {@link String } * */ public void setCode(String value) { this.code = value; } /** * Gets a map that contains attributes that aren't bound to any typed property on this class. * *

* the map is keyed by the name of the attribute and * the value is the string value of the attribute. * * the map returned by this method is live, and you can add new attribute * by updating the map directly. Because of this design, there's no setter. * * * @return * always non-null */ public Map getOtherAttributes() { return otherAttributes; } } }