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

org.rutebanken.netex.model.ContactStructure Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2017.09.21 at 10:53:23 AM CEST 
//


package org.rutebanken.netex.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;


/**
 * 

Java class for ContactStructure complex type. * *

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

 * <complexType name="ContactStructure">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="ContactPerson" type="{http://www.netex.org.uk/netex}MultilingualString" minOccurs="0"/>
 *         <element name="Email" type="{http://www.netex.org.uk/netex}EmailAddressType" minOccurs="0"/>
 *         <element name="Phone" type="{http://www.netex.org.uk/netex}PhoneType" minOccurs="0"/>
 *         <element name="Fax" type="{http://www.netex.org.uk/netex}PhoneType" minOccurs="0"/>
 *         <element name="Url" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
 *         <element name="FurtherDetails" type="{http://www.netex.org.uk/netex}MultilingualString" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ContactStructure", propOrder = { "contactPerson", "email", "phone", "fax", "url", "furtherDetails" }) public class ContactStructure { @XmlElement(name = "ContactPerson") protected MultilingualString contactPerson; @XmlElement(name = "Email") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String email; @XmlElement(name = "Phone") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String phone; @XmlElement(name = "Fax") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String fax; @XmlElement(name = "Url") @XmlSchemaType(name = "anyURI") protected String url; @XmlElement(name = "FurtherDetails") protected MultilingualString furtherDetails; /** * Gets the value of the contactPerson property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getContactPerson() { return contactPerson; } /** * Sets the value of the contactPerson property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setContactPerson(MultilingualString value) { this.contactPerson = value; } /** * Gets the value of the email property. * * @return * possible object is * {@link String } * */ public String getEmail() { return email; } /** * Sets the value of the email property. * * @param value * allowed object is * {@link String } * */ public void setEmail(String value) { this.email = value; } /** * Gets the value of the phone property. * * @return * possible object is * {@link String } * */ public String getPhone() { return phone; } /** * Sets the value of the phone property. * * @param value * allowed object is * {@link String } * */ public void setPhone(String value) { this.phone = value; } /** * Gets the value of the fax property. * * @return * possible object is * {@link String } * */ public String getFax() { return fax; } /** * Sets the value of the fax property. * * @param value * allowed object is * {@link String } * */ public void setFax(String value) { this.fax = value; } /** * Gets the value of the url property. * * @return * possible object is * {@link String } * */ public String getUrl() { return url; } /** * Sets the value of the url property. * * @param value * allowed object is * {@link String } * */ public void setUrl(String value) { this.url = value; } /** * Gets the value of the furtherDetails property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getFurtherDetails() { return furtherDetails; } /** * Sets the value of the furtherDetails property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setFurtherDetails(MultilingualString value) { this.furtherDetails = value; } public ContactStructure withContactPerson(MultilingualString value) { setContactPerson(value); return this; } public ContactStructure withEmail(String value) { setEmail(value); return this; } public ContactStructure withPhone(String value) { setPhone(value); return this; } public ContactStructure withFax(String value) { setFax(value); return this; } public ContactStructure withUrl(String value) { setUrl(value); return this; } public ContactStructure withFurtherDetails(MultilingualString value) { setFurtherDetails(value); return this; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy