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

eu.datex2.schema._2._2_0.BasicData Maven / Gradle / Ivy

The newest version!

package eu.datex2.schema._2._2_0;

import java.util.Calendar;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3._2001.xmlschema.Adapter1;


/**
 * 

Java class for BasicData complex type. * *

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

 * <complexType name="BasicData">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="measurementOrCalculationPeriod" type="{http://datex2.eu/schema/2/2_0}Seconds" minOccurs="0"/>
 *         <element name="measurementOrCalculationTime" type="{http://datex2.eu/schema/2/2_0}DateTime" minOccurs="0"/>
 *         <element name="pertinentLocation" type="{http://datex2.eu/schema/2/2_0}GroupOfLocations" minOccurs="0"/>
 *         <element name="basicDataExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="measurementOrCalculatedTimePrecision" type="{http://datex2.eu/schema/2/2_0}TimePrecisionEnum" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BasicData", propOrder = { "measurementOrCalculationPeriod", "measurementOrCalculationTime", "pertinentLocation", "basicDataExtension" }) @XmlSeeAlso({ TravelTimeData.class, TrafficStatus.class, WeatherData.class, TrafficData.class }) public abstract class BasicData { protected Float measurementOrCalculationPeriod; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Calendar measurementOrCalculationTime; protected GroupOfLocations pertinentLocation; protected ExtensionType basicDataExtension; @XmlAttribute(name = "measurementOrCalculatedTimePrecision") protected TimePrecisionEnum measurementOrCalculatedTimePrecision; /** * Gets the value of the measurementOrCalculationPeriod property. * * @return * possible object is * {@link Float } * */ public Float getMeasurementOrCalculationPeriod() { return measurementOrCalculationPeriod; } /** * Sets the value of the measurementOrCalculationPeriod property. * * @param value * allowed object is * {@link Float } * */ public void setMeasurementOrCalculationPeriod(Float value) { this.measurementOrCalculationPeriod = value; } /** * Gets the value of the measurementOrCalculationTime property. * * @return * possible object is * {@link String } * */ public Calendar getMeasurementOrCalculationTime() { return measurementOrCalculationTime; } /** * Sets the value of the measurementOrCalculationTime property. * * @param value * allowed object is * {@link String } * */ public void setMeasurementOrCalculationTime(Calendar value) { this.measurementOrCalculationTime = value; } /** * Gets the value of the pertinentLocation property. * * @return * possible object is * {@link GroupOfLocations } * */ public GroupOfLocations getPertinentLocation() { return pertinentLocation; } /** * Sets the value of the pertinentLocation property. * * @param value * allowed object is * {@link GroupOfLocations } * */ public void setPertinentLocation(GroupOfLocations value) { this.pertinentLocation = value; } /** * Gets the value of the basicDataExtension property. * * @return * possible object is * {@link ExtensionType } * */ public ExtensionType getBasicDataExtension() { return basicDataExtension; } /** * Sets the value of the basicDataExtension property. * * @param value * allowed object is * {@link ExtensionType } * */ public void setBasicDataExtension(ExtensionType value) { this.basicDataExtension = value; } /** * Gets the value of the measurementOrCalculatedTimePrecision property. * * @return * possible object is * {@link TimePrecisionEnum } * */ public TimePrecisionEnum getMeasurementOrCalculatedTimePrecision() { return measurementOrCalculatedTimePrecision; } /** * Sets the value of the measurementOrCalculatedTimePrecision property. * * @param value * allowed object is * {@link TimePrecisionEnum } * */ public void setMeasurementOrCalculatedTimePrecision(TimePrecisionEnum value) { this.measurementOrCalculatedTimePrecision = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy