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

uk.org.siri.siri20.SituationSourceStructure Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2025.01.07 at 02:19:39 PM UTC 
//


package uk.org.siri.siri20;

import java.io.Serializable;
import java.time.ZonedDateTime;
import eu.datex2.siri20.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.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3._2001.xmlschema.Adapter1;


/**
 * Type for a source, i.e. provider of information.
 * 
 * 

Java class for SituationSourceStructure complex type. * *

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

 * <complexType name="SituationSourceStructure">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Country" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" minOccurs="0"/>
 *         <element name="SourceType" type="{http://www.siri.org.uk/siri}SituationSourceTypeEnumeration"/>
 *         <group ref="{http://www.siri.org.uk/siri}SituationSourceDetailsGroup"/>
 *         <element name="SourceMethod" type="{http://datex2.eu/schema/2_0RC1/2_0}SourceTypeEnum" minOccurs="0"/>
 *         <element name="AgentReference" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="Name" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" minOccurs="0"/>
 *         <element name="SourceRole" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="TimeOfCommunication" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="ExternalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="SourceFile" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
 *         <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @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 implements Serializable { @XmlElement(name = "Country") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String 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(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected ZonedDateTime timeOfCommunication; @XmlElement(name = "ExternalCode") protected String externalCode; @XmlElement(name = "SourceFile") @XmlSchemaType(name = "anyURI") protected String sourceFile; @XmlElement(name = "Extensions") protected Extensions extensions; /** * Gets the value of the country property. * * @return * possible object is * {@link String } * */ public String getCountry() { return country; } /** * Sets the value of the country property. * * @param value * allowed object is * {@link String } * */ public void setCountry(String 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 ZonedDateTime getTimeOfCommunication() { return timeOfCommunication; } /** * Sets the value of the timeOfCommunication property. * * @param value * allowed object is * {@link String } * */ public void setTimeOfCommunication(ZonedDateTime 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 Extensions } * */ public Extensions getExtensions() { return extensions; } /** * Sets the value of the extensions property. * * @param value * allowed object is * {@link Extensions } * */ public void setExtensions(Extensions value) { this.extensions = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy