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

uk.org.siri.siri21.PassengerInformationAction 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:41 PM UTC 
//


package uk.org.siri.siri21;

import java.io.Serializable;
import java.math.BigInteger;
import java.time.ZonedDateTime;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3._2001.xmlschema.Adapter1;


/**
 * 

Java class for PassengerInformationActionStructure complex type. * *

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

 * <complexType name="PassengerInformationActionStructure">
 *   <complexContent>
 *     <extension base="{http://www.siri.org.uk/siri}ParameterisedActionStructure">
 *       <sequence>
 *         <element name="ActionRef" type="{http://www.siri.org.uk/siri}EntryQualifierStructure"/>
 *         <element name="RecordedAtTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="Version" type="{http://www.siri.org.uk/siri}SituationVersion" minOccurs="0"/>
 *         <element name="SourceRef" type="{http://www.siri.org.uk/siri}ParticipantRefStructure" minOccurs="0"/>
 *         <element name="OwnerRef" type="{http://www.siri.org.uk/siri}OrganisationRefStructure" minOccurs="0"/>
 *         <element name="Perspective" type="{http://www.siri.org.uk/siri}PerspectiveEnumeration" maxOccurs="unbounded"/>
 *         <element name="ActionPriority" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
 *         <element name="TextualContent" type="{http://www.siri.org.uk/siri}TextualContentStructure" maxOccurs="unbounded"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PassengerInformationActionStructure", propOrder = { "actionRef", "recordedAtTime", "version", "sourceRef", "ownerRef", "perspectives", "actionPriority", "textualContents" }) @XmlRootElement(name = "PassengerInformationAction") public class PassengerInformationAction extends ParameterisedActionStructure implements Serializable { @XmlElement(name = "ActionRef", required = true) protected SituationNumber actionRef; @XmlElement(name = "RecordedAtTime", required = true, type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected ZonedDateTime recordedAtTime; @XmlElement(name = "Version") protected SituationVersion version; @XmlElement(name = "SourceRef") protected RequestorRef sourceRef; @XmlElement(name = "OwnerRef") protected OrganisationRefStructure ownerRef; @XmlElement(name = "Perspective", required = true) @XmlSchemaType(name = "NMTOKEN") protected List perspectives; @XmlElement(name = "ActionPriority") @XmlSchemaType(name = "positiveInteger") protected BigInteger actionPriority; @XmlElement(name = "TextualContent", required = true) protected List textualContents; /** * Gets the value of the actionRef property. * * @return * possible object is * {@link SituationNumber } * */ public SituationNumber getActionRef() { return actionRef; } /** * Sets the value of the actionRef property. * * @param value * allowed object is * {@link SituationNumber } * */ public void setActionRef(SituationNumber value) { this.actionRef = value; } /** * Gets the value of the recordedAtTime property. * * @return * possible object is * {@link String } * */ public ZonedDateTime getRecordedAtTime() { return recordedAtTime; } /** * Sets the value of the recordedAtTime property. * * @param value * allowed object is * {@link String } * */ public void setRecordedAtTime(ZonedDateTime value) { this.recordedAtTime = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link SituationVersion } * */ public SituationVersion getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link SituationVersion } * */ public void setVersion(SituationVersion value) { this.version = value; } /** * Gets the value of the sourceRef property. * * @return * possible object is * {@link RequestorRef } * */ public RequestorRef getSourceRef() { return sourceRef; } /** * Sets the value of the sourceRef property. * * @param value * allowed object is * {@link RequestorRef } * */ public void setSourceRef(RequestorRef value) { this.sourceRef = value; } /** * Gets the value of the ownerRef property. * * @return * possible object is * {@link OrganisationRefStructure } * */ public OrganisationRefStructure getOwnerRef() { return ownerRef; } /** * Sets the value of the ownerRef property. * * @param value * allowed object is * {@link OrganisationRefStructure } * */ public void setOwnerRef(OrganisationRefStructure value) { this.ownerRef = value; } /** * Gets the value of the perspectives 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 Jakarta XML Binding object. * This is why there is not a set method for the perspectives property. * *

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

     *    getPerspectives().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PerspectiveEnumeration } * * */ public List getPerspectives() { if (perspectives == null) { perspectives = new ArrayList(); } return this.perspectives; } /** * Gets the value of the actionPriority property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getActionPriority() { return actionPriority; } /** * Sets the value of the actionPriority property. * * @param value * allowed object is * {@link BigInteger } * */ public void setActionPriority(BigInteger value) { this.actionPriority = value; } /** * Gets the value of the textualContents 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 Jakarta XML Binding object. * This is why there is not a set method for the textualContents property. * *

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

     *    getTextualContents().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TextualContentStructure } * * */ public List getTextualContents() { if (textualContents == null) { textualContents = new ArrayList(); } return this.textualContents; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy