![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.EquipmentAvailabilityStructure Maven / Gradle / Ivy
Show all versions of siri-java-model Show documentation
//
// 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.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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import uk.org.ifopt.siri20.EquipmentRefStructure;
import uk.org.ifopt.siri20.EquipmentStatusEnumeration;
import uk.org.ifopt.siri20.EquipmentTypeRefStructure;
/**
* Type for Availaibility Change of EQUIPMENT.
*
* Java class for EquipmentAvailabilityStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EquipmentAvailabilityStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="EquipmentRef" type="{http://www.ifopt.org.uk/ifopt}EquipmentRefStructure" minOccurs="0"/>
* <element name="Description" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="EquipmentTypeRef" type="{http://www.ifopt.org.uk/ifopt}EquipmentTypeRefStructure" minOccurs="0"/>
* <element name="ValidityPeriod" type="{http://www.siri.org.uk/siri}HalfOpenTimestampOutputRangeStructure" minOccurs="0"/>
* <element name="EquipmentStatus" type="{http://www.ifopt.org.uk/ifopt}EquipmentStatusEnumeration"/>
* <element name="EquipmentFeatures" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="FeatureRef" type="{http://www.siri.org.uk/siri}FeatureRefStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EquipmentAvailabilityStructure", propOrder = {
"equipmentRef",
"descriptions",
"equipmentTypeRef",
"validityPeriod",
"equipmentStatus",
"equipmentFeatures",
"extensions"
})
public class EquipmentAvailabilityStructure
implements Serializable
{
@XmlElement(name = "EquipmentRef")
protected EquipmentRefStructure equipmentRef;
@XmlElement(name = "Description")
protected List descriptions;
@XmlElement(name = "EquipmentTypeRef")
protected EquipmentTypeRefStructure equipmentTypeRef;
@XmlElement(name = "ValidityPeriod")
protected HalfOpenTimestampOutputRangeStructure validityPeriod;
@XmlElement(name = "EquipmentStatus", required = true, defaultValue = "notAvailable")
@XmlSchemaType(name = "NMTOKEN")
protected EquipmentStatusEnumeration equipmentStatus;
@XmlElement(name = "EquipmentFeatures")
protected EquipmentAvailabilityStructure.EquipmentFeatures equipmentFeatures;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the equipmentRef property.
*
* @return
* possible object is
* {@link EquipmentRefStructure }
*
*/
public EquipmentRefStructure getEquipmentRef() {
return equipmentRef;
}
/**
* Sets the value of the equipmentRef property.
*
* @param value
* allowed object is
* {@link EquipmentRefStructure }
*
*/
public void setEquipmentRef(EquipmentRefStructure value) {
this.equipmentRef = value;
}
/**
* Gets the value of the descriptions 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 descriptions property.
*
*
* For example, to add a new item, do as follows:
*
* getDescriptions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getDescriptions() {
if (descriptions == null) {
descriptions = new ArrayList();
}
return this.descriptions;
}
/**
* Gets the value of the equipmentTypeRef property.
*
* @return
* possible object is
* {@link EquipmentTypeRefStructure }
*
*/
public EquipmentTypeRefStructure getEquipmentTypeRef() {
return equipmentTypeRef;
}
/**
* Sets the value of the equipmentTypeRef property.
*
* @param value
* allowed object is
* {@link EquipmentTypeRefStructure }
*
*/
public void setEquipmentTypeRef(EquipmentTypeRefStructure value) {
this.equipmentTypeRef = value;
}
/**
* Gets the value of the validityPeriod property.
*
* @return
* possible object is
* {@link HalfOpenTimestampOutputRangeStructure }
*
*/
public HalfOpenTimestampOutputRangeStructure getValidityPeriod() {
return validityPeriod;
}
/**
* Sets the value of the validityPeriod property.
*
* @param value
* allowed object is
* {@link HalfOpenTimestampOutputRangeStructure }
*
*/
public void setValidityPeriod(HalfOpenTimestampOutputRangeStructure value) {
this.validityPeriod = value;
}
/**
* Gets the value of the equipmentStatus property.
*
* @return
* possible object is
* {@link EquipmentStatusEnumeration }
*
*/
public EquipmentStatusEnumeration getEquipmentStatus() {
return equipmentStatus;
}
/**
* Sets the value of the equipmentStatus property.
*
* @param value
* allowed object is
* {@link EquipmentStatusEnumeration }
*
*/
public void setEquipmentStatus(EquipmentStatusEnumeration value) {
this.equipmentStatus = value;
}
/**
* Gets the value of the equipmentFeatures property.
*
* @return
* possible object is
* {@link EquipmentAvailabilityStructure.EquipmentFeatures }
*
*/
public EquipmentAvailabilityStructure.EquipmentFeatures getEquipmentFeatures() {
return equipmentFeatures;
}
/**
* Sets the value of the equipmentFeatures property.
*
* @param value
* allowed object is
* {@link EquipmentAvailabilityStructure.EquipmentFeatures }
*
*/
public void setEquipmentFeatures(EquipmentAvailabilityStructure.EquipmentFeatures value) {
this.equipmentFeatures = 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;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="FeatureRef" type="{http://www.siri.org.uk/siri}FeatureRefStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"featureReves"
})
public static class EquipmentFeatures
implements Serializable
{
@XmlElement(name = "FeatureRef", required = true)
protected List featureReves;
/**
* Gets the value of the featureReves 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 featureReves property.
*
*
* For example, to add a new item, do as follows:
*
* getFeatureReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FeatureRef }
*
*
*/
public List getFeatureReves() {
if (featureReves == null) {
featureReves = new ArrayList();
}
return this.featureReves;
}
}
}