
de.vdv.ojp20.ContactDetailsStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ojp-java-model Show documentation
Show all versions of ojp-java-model Show documentation
Generates Java model from OJP xsds using jaxb.
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package de.vdv.ojp20;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.NormalizedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
/**
* Type for contact details.
*
* Java class for ContactDetailsStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ContactDetailsStructure", propOrder = {
"contactPerson",
"email",
"phone",
"fax",
"url",
"furtherDetails"
})
public class ContactDetailsStructure {
/**
* Name of contact person.
*
*/
@XmlElement(name = "ContactPerson")
protected InternationalTextStructure contactPerson;
/**
* The email address of the contact.
*
*/
@XmlElement(name = "Email")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String email;
/**
* Contact telephone number.
*
*/
@XmlElement(name = "Phone")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String phone;
/**
* Contact fax number.
*
*/
@XmlElement(name = "Fax")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String fax;
/**
* The website address of the contact.
*
*/
@XmlElement(name = "Url")
protected WebLinkStructure url;
/**
* Further details about contact process.
*
*/
@XmlElement(name = "FurtherDetails")
protected InternationalTextStructure furtherDetails;
/**
* Name of contact person.
*
* @return
* possible object is
* {@link InternationalTextStructure }
*
*/
public InternationalTextStructure getContactPerson() {
return contactPerson;
}
/**
* Sets the value of the contactPerson property.
*
* @param value
* allowed object is
* {@link InternationalTextStructure }
*
* @see #getContactPerson()
*/
public void setContactPerson(InternationalTextStructure value) {
this.contactPerson = value;
}
/**
* The email address of the contact.
*
* @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 }
*
* @see #getEmail()
*/
public void setEmail(String value) {
this.email = value;
}
/**
* Contact telephone number.
*
* @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 }
*
* @see #getPhone()
*/
public void setPhone(String value) {
this.phone = value;
}
/**
* Contact fax number.
*
* @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 }
*
* @see #getFax()
*/
public void setFax(String value) {
this.fax = value;
}
/**
* The website address of the contact.
*
* @return
* possible object is
* {@link WebLinkStructure }
*
*/
public WebLinkStructure getUrl() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is
* {@link WebLinkStructure }
*
* @see #getUrl()
*/
public void setUrl(WebLinkStructure value) {
this.url = value;
}
/**
* Further details about contact process.
*
* @return
* possible object is
* {@link InternationalTextStructure }
*
*/
public InternationalTextStructure getFurtherDetails() {
return furtherDetails;
}
/**
* Sets the value of the furtherDetails property.
*
* @param value
* allowed object is
* {@link InternationalTextStructure }
*
* @see #getFurtherDetails()
*/
public void setFurtherDetails(InternationalTextStructure value) {
this.furtherDetails = value;
}
public ContactDetailsStructure withContactPerson(InternationalTextStructure value) {
setContactPerson(value);
return this;
}
public ContactDetailsStructure withEmail(String value) {
setEmail(value);
return this;
}
public ContactDetailsStructure withPhone(String value) {
setPhone(value);
return this;
}
public ContactDetailsStructure withFax(String value) {
setFax(value);
return this;
}
public ContactDetailsStructure withUrl(WebLinkStructure value) {
setUrl(value);
return this;
}
public ContactDetailsStructure withFurtherDetails(InternationalTextStructure 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 - 2025 Weber Informatics LLC | Privacy Policy