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

de.vdv.ojp20.ServiceDepartureStructure 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;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import de.vdv.ojp20.siri.FormationAssignmentStructure;
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;


/**
 * Departure times of a service at a stop (group of attributes of TIMETABLED PASSING TIME, ESTIMATED PASSING TIME, OBSERVED PASSING TIME, equals MONITORED LEG DEPARTURE).
 * 
 * 

Java class for ServiceDepartureStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ServiceDepartureStructure", propOrder = { "timetabledTime", "recordedAtTime", "estimatedTime", "estimatedTimeLow", "estimatedTimeHigh", "departureFormationAssignment" }) public class ServiceDepartureStructure { /** * time at point as it is published * */ @XmlElement(name = "TimetabledTime", required = true, type = String.class) @XmlJavaTypeAdapter(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime timetabledTime; /** * time as it was recorded * */ @XmlElement(name = "RecordedAtTime", type = String.class) @XmlJavaTypeAdapter(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime recordedAtTime; /** * estimated time (for prognosis) * */ @XmlElement(name = "EstimatedTime", type = String.class) @XmlJavaTypeAdapter(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime estimatedTime; /** * Estimated lower limit for time. * */ @XmlElement(name = "EstimatedTimeLow", type = String.class) @XmlJavaTypeAdapter(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime estimatedTimeLow; /** * Estimated upper limit for time. * */ @XmlElement(name = "EstimatedTimeHigh", type = String.class) @XmlJavaTypeAdapter(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime estimatedTimeHigh; @XmlElement(name = "DepartureFormationAssignment", namespace = "http://www.siri.org.uk/siri") protected List departureFormationAssignment; /** * time at point as it is published * * @return * possible object is * {@link String } * */ public XmlDateTime getTimetabledTime() { return timetabledTime; } /** * Sets the value of the timetabledTime property. * * @param value * allowed object is * {@link String } * * @see #getTimetabledTime() */ public void setTimetabledTime(XmlDateTime value) { this.timetabledTime = value; } /** * time as it was recorded * * @return * possible object is * {@link String } * */ public XmlDateTime getRecordedAtTime() { return recordedAtTime; } /** * Sets the value of the recordedAtTime property. * * @param value * allowed object is * {@link String } * * @see #getRecordedAtTime() */ public void setRecordedAtTime(XmlDateTime value) { this.recordedAtTime = value; } /** * estimated time (for prognosis) * * @return * possible object is * {@link String } * */ public XmlDateTime getEstimatedTime() { return estimatedTime; } /** * Sets the value of the estimatedTime property. * * @param value * allowed object is * {@link String } * * @see #getEstimatedTime() */ public void setEstimatedTime(XmlDateTime value) { this.estimatedTime = value; } /** * Estimated lower limit for time. * * @return * possible object is * {@link String } * */ public XmlDateTime getEstimatedTimeLow() { return estimatedTimeLow; } /** * Sets the value of the estimatedTimeLow property. * * @param value * allowed object is * {@link String } * * @see #getEstimatedTimeLow() */ public void setEstimatedTimeLow(XmlDateTime value) { this.estimatedTimeLow = value; } /** * Estimated upper limit for time. * * @return * possible object is * {@link String } * */ public XmlDateTime getEstimatedTimeHigh() { return estimatedTimeHigh; } /** * Sets the value of the estimatedTimeHigh property. * * @param value * allowed object is * {@link String } * * @see #getEstimatedTimeHigh() */ public void setEstimatedTimeHigh(XmlDateTime value) { this.estimatedTimeHigh = value; } /** * Gets the value of the departureFormationAssignment property. * *

This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the departureFormationAssignment property.

* *

* For example, to add a new item, do as follows: *

*
     * getDepartureFormationAssignment().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link FormationAssignmentStructure } *

* * * @return * The value of the departureFormationAssignment property. */ public List getDepartureFormationAssignment() { if (departureFormationAssignment == null) { departureFormationAssignment = new ArrayList<>(); } return this.departureFormationAssignment; } public ServiceDepartureStructure withTimetabledTime(XmlDateTime value) { setTimetabledTime(value); return this; } public ServiceDepartureStructure withRecordedAtTime(XmlDateTime value) { setRecordedAtTime(value); return this; } public ServiceDepartureStructure withEstimatedTime(XmlDateTime value) { setEstimatedTime(value); return this; } public ServiceDepartureStructure withEstimatedTimeLow(XmlDateTime value) { setEstimatedTimeLow(value); return this; } public ServiceDepartureStructure withEstimatedTimeHigh(XmlDateTime value) { setEstimatedTimeHigh(value); return this; } public ServiceDepartureStructure withDepartureFormationAssignment(FormationAssignmentStructure... values) { if (values!= null) { for (FormationAssignmentStructure value: values) { getDepartureFormationAssignment().add(value); } } return this; } public ServiceDepartureStructure withDepartureFormationAssignment(Collection values) { if (values!= null) { getDepartureFormationAssignment().addAll(values); } 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