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

de.vdv.ojp20.siri.SituationSourceStructure Maven / Gradle / Ivy

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.siri;

import eu.datex2.schema._2_0rc1._2_0.SourceTypeEnum;
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.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
import org.opentripplanner.ojp.time.XmlDateTime;
import org.opentripplanner.ojp.util.XmlDateTimeAdapter;
import uk.org.ifopt.ifopt.CountryRefStructure;


/**
 * 

Java class for SituationSourceStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SituationSourceStructure", propOrder = { "country", "sourceType", "email", "phone", "fax", "web", "other", "sourceMethod", "agentReference", "name", "sourceRole", "timeOfCommunication", "externalCode", "sourceFile", "extensions" }) public class SituationSourceStructure { @XmlElement(name = "Country") protected CountryRefStructure country; @XmlElement(name = "SourceType", required = true) @XmlSchemaType(name = "NMTOKEN") protected SituationSourceTypeEnumeration sourceType; @XmlElement(name = "Email") protected String email; @XmlElement(name = "Phone") protected String phone; @XmlElement(name = "Fax") protected String fax; @XmlElement(name = "Web") @XmlSchemaType(name = "anyURI") protected String web; @XmlElement(name = "Other") protected String other; @XmlElement(name = "SourceMethod") @XmlSchemaType(name = "string") protected SourceTypeEnum sourceMethod; @XmlElement(name = "AgentReference") protected String agentReference; @XmlElement(name = "Name") protected NaturalLanguageStringStructure name; @XmlElement(name = "SourceRole") protected String sourceRole; @XmlElement(name = "TimeOfCommunication", type = String.class) @XmlJavaTypeAdapter(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime timeOfCommunication; @XmlElement(name = "ExternalCode") protected String externalCode; @XmlElement(name = "SourceFile") @XmlSchemaType(name = "anyURI") protected String sourceFile; @XmlElement(name = "Extensions") protected ExtensionsStructure extensions; /** * Gets the value of the country property. * * @return * possible object is * {@link CountryRefStructure } * */ public CountryRefStructure getCountry() { return country; } /** * Sets the value of the country property. * * @param value * allowed object is * {@link CountryRefStructure } * */ public void setCountry(CountryRefStructure value) { this.country = value; } /** * Gets the value of the sourceType property. * * @return * possible object is * {@link SituationSourceTypeEnumeration } * */ public SituationSourceTypeEnumeration getSourceType() { return sourceType; } /** * Sets the value of the sourceType property. * * @param value * allowed object is * {@link SituationSourceTypeEnumeration } * */ public void setSourceType(SituationSourceTypeEnumeration value) { this.sourceType = 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 web property. * * @return * possible object is * {@link String } * */ public String getWeb() { return web; } /** * Sets the value of the web property. * * @param value * allowed object is * {@link String } * */ public void setWeb(String value) { this.web = value; } /** * Gets the value of the other property. * * @return * possible object is * {@link String } * */ public String getOther() { return other; } /** * Sets the value of the other property. * * @param value * allowed object is * {@link String } * */ public void setOther(String value) { this.other = value; } /** * Gets the value of the sourceMethod property. * * @return * possible object is * {@link SourceTypeEnum } * */ public SourceTypeEnum getSourceMethod() { return sourceMethod; } /** * Sets the value of the sourceMethod property. * * @param value * allowed object is * {@link SourceTypeEnum } * */ public void setSourceMethod(SourceTypeEnum value) { this.sourceMethod = value; } /** * Gets the value of the agentReference property. * * @return * possible object is * {@link String } * */ public String getAgentReference() { return agentReference; } /** * Sets the value of the agentReference property. * * @param value * allowed object is * {@link String } * */ public void setAgentReference(String value) { this.agentReference = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link NaturalLanguageStringStructure } * */ public NaturalLanguageStringStructure getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link NaturalLanguageStringStructure } * */ public void setName(NaturalLanguageStringStructure value) { this.name = value; } /** * Gets the value of the sourceRole property. * * @return * possible object is * {@link String } * */ public String getSourceRole() { return sourceRole; } /** * Sets the value of the sourceRole property. * * @param value * allowed object is * {@link String } * */ public void setSourceRole(String value) { this.sourceRole = value; } /** * Gets the value of the timeOfCommunication property. * * @return * possible object is * {@link String } * */ public XmlDateTime getTimeOfCommunication() { return timeOfCommunication; } /** * Sets the value of the timeOfCommunication property. * * @param value * allowed object is * {@link String } * */ public void setTimeOfCommunication(XmlDateTime value) { this.timeOfCommunication = value; } /** * Gets the value of the externalCode property. * * @return * possible object is * {@link String } * */ public String getExternalCode() { return externalCode; } /** * Sets the value of the externalCode property. * * @param value * allowed object is * {@link String } * */ public void setExternalCode(String value) { this.externalCode = value; } /** * Gets the value of the sourceFile property. * * @return * possible object is * {@link String } * */ public String getSourceFile() { return sourceFile; } /** * Sets the value of the sourceFile property. * * @param value * allowed object is * {@link String } * */ public void setSourceFile(String value) { this.sourceFile = value; } /** * Gets the value of the extensions property. * * @return * possible object is * {@link ExtensionsStructure } * */ public ExtensionsStructure getExtensions() { return extensions; } /** * Sets the value of the extensions property. * * @param value * allowed object is * {@link ExtensionsStructure } * */ public void setExtensions(ExtensionsStructure value) { this.extensions = value; } public SituationSourceStructure withCountry(CountryRefStructure value) { setCountry(value); return this; } public SituationSourceStructure withSourceType(SituationSourceTypeEnumeration value) { setSourceType(value); return this; } public SituationSourceStructure withEmail(String value) { setEmail(value); return this; } public SituationSourceStructure withPhone(String value) { setPhone(value); return this; } public SituationSourceStructure withFax(String value) { setFax(value); return this; } public SituationSourceStructure withWeb(String value) { setWeb(value); return this; } public SituationSourceStructure withOther(String value) { setOther(value); return this; } public SituationSourceStructure withSourceMethod(SourceTypeEnum value) { setSourceMethod(value); return this; } public SituationSourceStructure withAgentReference(String value) { setAgentReference(value); return this; } public SituationSourceStructure withName(NaturalLanguageStringStructure value) { setName(value); return this; } public SituationSourceStructure withSourceRole(String value) { setSourceRole(value); return this; } public SituationSourceStructure withTimeOfCommunication(XmlDateTime value) { setTimeOfCommunication(value); return this; } public SituationSourceStructure withExternalCode(String value) { setExternalCode(value); return this; } public SituationSourceStructure withSourceFile(String value) { setSourceFile(value); return this; } public SituationSourceStructure withExtensions(ExtensionsStructure value) { setExtensions(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