![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.FacilityConditionStructure 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:41 PM UTC
//
package uk.org.siri.siri21;
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.XmlType;
/**
* Description of any change concerning a MONITORED FACILITY New structure defined in SIRI XSD 1.1 for Facilities Management.
*
* Java class for FacilityConditionStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="FacilityConditionStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element name="Facility" type="{http://www.siri.org.uk/siri}FacilityStructure"/>
* <element ref="{http://www.siri.org.uk/siri}FacilityRef"/>
* </choice>
* <element name="FacilityStatus" type="{http://www.siri.org.uk/siri}FacilityStatusStructure"/>
* <element name="MonitoredCounting" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}MonitoredCountingStructure">
* </extension>
* </complexContent>
* </complexType>
* </element>
* <element name="FacilityUpdatedPosition" type="{http://www.siri.org.uk/siri}LocationStructure" minOccurs="0"/>
* <element ref="{http://www.siri.org.uk/siri}SituationRef" minOccurs="0"/>
* <element name="Remedy" type="{http://www.siri.org.uk/siri}RemedyStructure" minOccurs="0"/>
* <element name="MonitoringInfo" type="{http://www.siri.org.uk/siri}MonitoringInformationStructure" minOccurs="0"/>
* <element name="ValidityPeriod" type="{http://www.siri.org.uk/siri}HalfOpenTimestampOutputRangeStructure" minOccurs="0"/>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FacilityConditionStructure", propOrder = {
"facilityRef",
"facility",
"facilityStatus",
"monitoredCountings",
"facilityUpdatedPosition",
"situationRef",
"remedy",
"monitoringInfo",
"validityPeriod",
"extensions"
})
public class FacilityConditionStructure
implements Serializable
{
@XmlElement(name = "FacilityRef")
protected FacilityRef facilityRef;
@XmlElement(name = "Facility")
protected FacilityStructure facility;
@XmlElement(name = "FacilityStatus", required = true)
protected FacilityStatusStructure facilityStatus;
@XmlElement(name = "MonitoredCounting")
protected List monitoredCountings;
@XmlElement(name = "FacilityUpdatedPosition")
protected LocationStructure facilityUpdatedPosition;
@XmlElement(name = "SituationRef")
protected SituationRef situationRef;
@XmlElement(name = "Remedy")
protected RemedyStructure remedy;
@XmlElement(name = "MonitoringInfo")
protected MonitoringInformationStructure monitoringInfo;
@XmlElement(name = "ValidityPeriod")
protected HalfOpenTimestampOutputRangeStructure validityPeriod;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the facilityRef property.
*
* @return
* possible object is
* {@link FacilityRef }
*
*/
public FacilityRef getFacilityRef() {
return facilityRef;
}
/**
* Sets the value of the facilityRef property.
*
* @param value
* allowed object is
* {@link FacilityRef }
*
*/
public void setFacilityRef(FacilityRef value) {
this.facilityRef = value;
}
/**
* Gets the value of the facility property.
*
* @return
* possible object is
* {@link FacilityStructure }
*
*/
public FacilityStructure getFacility() {
return facility;
}
/**
* Sets the value of the facility property.
*
* @param value
* allowed object is
* {@link FacilityStructure }
*
*/
public void setFacility(FacilityStructure value) {
this.facility = value;
}
/**
* Gets the value of the facilityStatus property.
*
* @return
* possible object is
* {@link FacilityStatusStructure }
*
*/
public FacilityStatusStructure getFacilityStatus() {
return facilityStatus;
}
/**
* Sets the value of the facilityStatus property.
*
* @param value
* allowed object is
* {@link FacilityStatusStructure }
*
*/
public void setFacilityStatus(FacilityStatusStructure value) {
this.facilityStatus = value;
}
/**
* Gets the value of the monitoredCountings 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 monitoredCountings property.
*
*
* For example, to add a new item, do as follows:
*
* getMonitoredCountings().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FacilityConditionStructure.MonitoredCounting }
*
*
*/
public List getMonitoredCountings() {
if (monitoredCountings == null) {
monitoredCountings = new ArrayList();
}
return this.monitoredCountings;
}
/**
* Gets the value of the facilityUpdatedPosition property.
*
* @return
* possible object is
* {@link LocationStructure }
*
*/
public LocationStructure getFacilityUpdatedPosition() {
return facilityUpdatedPosition;
}
/**
* Sets the value of the facilityUpdatedPosition property.
*
* @param value
* allowed object is
* {@link LocationStructure }
*
*/
public void setFacilityUpdatedPosition(LocationStructure value) {
this.facilityUpdatedPosition = 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 remedy property.
*
* @return
* possible object is
* {@link RemedyStructure }
*
*/
public RemedyStructure getRemedy() {
return remedy;
}
/**
* Sets the value of the remedy property.
*
* @param value
* allowed object is
* {@link RemedyStructure }
*
*/
public void setRemedy(RemedyStructure value) {
this.remedy = value;
}
/**
* Gets the value of the monitoringInfo property.
*
* @return
* possible object is
* {@link MonitoringInformationStructure }
*
*/
public MonitoringInformationStructure getMonitoringInfo() {
return monitoringInfo;
}
/**
* Sets the value of the monitoringInfo property.
*
* @param value
* allowed object is
* {@link MonitoringInformationStructure }
*
*/
public void setMonitoringInfo(MonitoringInformationStructure value) {
this.monitoringInfo = 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 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>
* <extension base="{http://www.siri.org.uk/siri}MonitoredCountingStructure">
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class MonitoredCounting
extends MonitoredCountingStructure
implements Serializable
{
}
}