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

de.vdv.ojp20.siri.SituationElementStructure 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 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.XmlSeeAlso;
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 SituationElementStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SituationElementStructure", propOrder = { "references", "source", "versionedAtTime" }) @XmlSeeAlso({ PtSituationElementStructure.class, RoadSituationElementStructure.class }) public class SituationElementStructure extends AbstractSituationElementStructure { @XmlElement(name = "References") protected ReferencesStructure references; @XmlElement(name = "Source", required = true) protected SituationSourceStructure source; @XmlElement(name = "VersionedAtTime", type = String.class) @XmlJavaTypeAdapter(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime versionedAtTime; /** * Gets the value of the references property. * * @return * possible object is * {@link ReferencesStructure } * */ public ReferencesStructure getReferences() { return references; } /** * Sets the value of the references property. * * @param value * allowed object is * {@link ReferencesStructure } * */ public void setReferences(ReferencesStructure value) { this.references = value; } /** * Gets the value of the source property. * * @return * possible object is * {@link SituationSourceStructure } * */ public SituationSourceStructure getSource() { return source; } /** * Sets the value of the source property. * * @param value * allowed object is * {@link SituationSourceStructure } * */ public void setSource(SituationSourceStructure value) { this.source = value; } /** * Gets the value of the versionedAtTime property. * * @return * possible object is * {@link String } * */ public XmlDateTime getVersionedAtTime() { return versionedAtTime; } /** * Sets the value of the versionedAtTime property. * * @param value * allowed object is * {@link String } * */ public void setVersionedAtTime(XmlDateTime value) { this.versionedAtTime = value; } public SituationElementStructure withReferences(ReferencesStructure value) { setReferences(value); return this; } public SituationElementStructure withSource(SituationSourceStructure value) { setSource(value); return this; } public SituationElementStructure withVersionedAtTime(XmlDateTime value) { setVersionedAtTime(value); return this; } @Override public SituationElementStructure withCreationTime(XmlDateTime value) { setCreationTime(value); return this; } @Override public SituationElementStructure withCountryRef(CountryRefStructure value) { setCountryRef(value); return this; } @Override public SituationElementStructure withParticipantRef(ParticipantRefStructure value) { setParticipantRef(value); return this; } @Override public SituationElementStructure withSituationNumber(EntryQualifierStructure value) { setSituationNumber(value); return this; } @Override public SituationElementStructure withUpdateCountryRef(CountryRefStructure value) { setUpdateCountryRef(value); return this; } @Override public SituationElementStructure withUpdateParticipantRef(ParticipantRefStructure value) { setUpdateParticipantRef(value); return this; } @Override public SituationElementStructure withVersion(SituationVersion value) { setVersion(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