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

uk.org.siri.siri20.GeneralMessage 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.math.BigInteger;
import java.time.ZonedDateTime;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
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;


/**
 * Type for an Info Message. @formatRef.
 * 
 * 

Java class for InfoMessageStructure complex type. * *

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

 * <complexType name="InfoMessageStructure">
 *   <complexContent>
 *     <extension base="{http://www.siri.org.uk/siri}AbstractIdentifiedItemStructure">
 *       <sequence>
 *         <group ref="{http://www.siri.org.uk/siri}InfoMessageGroup"/>
 *         <element name="ValidUntilTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element ref="{http://www.siri.org.uk/siri}SituationRef" minOccurs="0"/>
 *         <element name="Content" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
 *         <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="formatRef" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "InfoMessageStructure", propOrder = { "infoMessageIdentifier", "infoMessageVersion", "infoChannelRef", "validUntilTime", "situationRef", "content", "extensions" }) @XmlRootElement(name = "GeneralMessage") public class GeneralMessage extends AbstractIdentifiedItemStructure implements Serializable { @XmlElement(name = "InfoMessageIdentifier", required = true) protected InfoMessageRefStructure infoMessageIdentifier; @XmlElement(name = "InfoMessageVersion") @XmlSchemaType(name = "positiveInteger") protected BigInteger infoMessageVersion; @XmlElement(name = "InfoChannelRef") protected InfoChannelRefStructure infoChannelRef; @XmlElement(name = "ValidUntilTime", type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected ZonedDateTime validUntilTime; @XmlElement(name = "SituationRef") protected SituationRef situationRef; @XmlElement(name = "Content", required = true) protected Object content; @XmlElement(name = "Extensions") protected Extensions extensions; @XmlAttribute(name = "formatRef") protected String formatRef; /** * Gets the value of the infoMessageIdentifier property. * * @return * possible object is * {@link InfoMessageRefStructure } * */ public InfoMessageRefStructure getInfoMessageIdentifier() { return infoMessageIdentifier; } /** * Sets the value of the infoMessageIdentifier property. * * @param value * allowed object is * {@link InfoMessageRefStructure } * */ public void setInfoMessageIdentifier(InfoMessageRefStructure value) { this.infoMessageIdentifier = value; } /** * Gets the value of the infoMessageVersion property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getInfoMessageVersion() { return infoMessageVersion; } /** * Sets the value of the infoMessageVersion property. * * @param value * allowed object is * {@link BigInteger } * */ public void setInfoMessageVersion(BigInteger value) { this.infoMessageVersion = value; } /** * Gets the value of the infoChannelRef property. * * @return * possible object is * {@link InfoChannelRefStructure } * */ public InfoChannelRefStructure getInfoChannelRef() { return infoChannelRef; } /** * Sets the value of the infoChannelRef property. * * @param value * allowed object is * {@link InfoChannelRefStructure } * */ public void setInfoChannelRef(InfoChannelRefStructure value) { this.infoChannelRef = value; } /** * Gets the value of the validUntilTime property. * * @return * possible object is * {@link String } * */ public ZonedDateTime getValidUntilTime() { return validUntilTime; } /** * Sets the value of the validUntilTime property. * * @param value * allowed object is * {@link String } * */ public void setValidUntilTime(ZonedDateTime value) { this.validUntilTime = value; } /** * Gets the value of the situationRef property. * * @return * possible object is * {@link SituationRef } * */ public SituationRef getSituationRef() { return situationRef; } /** * Sets the value of the situationRef property. * * @param value * allowed object is * {@link SituationRef } * */ public void setSituationRef(SituationRef value) { this.situationRef = value; } /** * Gets the value of the content property. * * @return * possible object is * {@link Object } * */ public Object getContent() { return content; } /** * Sets the value of the content property. * * @param value * allowed object is * {@link Object } * */ public void setContent(Object value) { this.content = 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; } /** * Gets the value of the formatRef property. * * @return * possible object is * {@link String } * */ public String getFormatRef() { return formatRef; } /** * Sets the value of the formatRef property. * * @param value * allowed object is * {@link String } * */ public void setFormatRef(String value) { this.formatRef = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy