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

network.oxalis.peppol.ubl2.jaxb.cac.ContactType Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.08.26 at 01:27:09 PM UTC 
//


package network.oxalis.peppol.ubl2.jaxb.cac;

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.XmlElement;
import javax.xml.bind.annotation.XmlType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import network.oxalis.peppol.ubl2.jaxb.cbc.ElectronicMailType;
import network.oxalis.peppol.ubl2.jaxb.cbc.IDType;
import network.oxalis.peppol.ubl2.jaxb.cbc.NameType;
import network.oxalis.peppol.ubl2.jaxb.cbc.NoteType;
import network.oxalis.peppol.ubl2.jaxb.cbc.TelefaxType;
import network.oxalis.peppol.ubl2.jaxb.cbc.TelephoneType;


/**
 * 

Java class for ContactType complex type. * *

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

 * <complexType name="ContactType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Name" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Telephone" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Telefax" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ElectronicMail" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Note" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OtherCommunication" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ContactType", propOrder = { "id", "name", "telephone", "telefax", "electronicMail", "note", "otherCommunication" }) @Builder @NoArgsConstructor @AllArgsConstructor public class ContactType { @XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected IDType id; @XmlElement(name = "Name", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected NameType name; @XmlElement(name = "Telephone", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected TelephoneType telephone; @XmlElement(name = "Telefax", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected TelefaxType telefax; @XmlElement(name = "ElectronicMail", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ElectronicMailType electronicMail; @XmlElement(name = "Note", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List note; @XmlElement(name = "OtherCommunication") protected List otherCommunication; /** * Gets the value of the id property. * * @return * possible object is * {@link IDType } * */ public IDType getID() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link IDType } * */ public void setID(IDType value) { this.id = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link NameType } * */ public NameType getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link NameType } * */ public void setName(NameType value) { this.name = value; } /** * Gets the value of the telephone property. * * @return * possible object is * {@link TelephoneType } * */ public TelephoneType getTelephone() { return telephone; } /** * Sets the value of the telephone property. * * @param value * allowed object is * {@link TelephoneType } * */ public void setTelephone(TelephoneType value) { this.telephone = value; } /** * Gets the value of the telefax property. * * @return * possible object is * {@link TelefaxType } * */ public TelefaxType getTelefax() { return telefax; } /** * Sets the value of the telefax property. * * @param value * allowed object is * {@link TelefaxType } * */ public void setTelefax(TelefaxType value) { this.telefax = value; } /** * Gets the value of the electronicMail property. * * @return * possible object is * {@link ElectronicMailType } * */ public ElectronicMailType getElectronicMail() { return electronicMail; } /** * Sets the value of the electronicMail property. * * @param value * allowed object is * {@link ElectronicMailType } * */ public void setElectronicMail(ElectronicMailType value) { this.electronicMail = value; } /** * Gets the value of the note 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 note property. * *

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

     *    getNote().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NoteType } * * */ public List getNote() { if (note == null) { note = new ArrayList(); } return this.note; } /** * Gets the value of the otherCommunication 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 otherCommunication property. * *

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

     *    getOtherCommunication().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CommunicationType } * * */ public List getOtherCommunication() { if (otherCommunication == null) { otherCommunication = new ArrayList(); } return this.otherCommunication; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy