![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.RemedyStructure 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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
/**
* Description of the remedy to the change of a facility status (mainly when it becomes partially or totally anavailable)
*
* Java class for RemedyStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RemedyStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="RemedyType" type="{http://www.siri.org.uk/siri}RemedyTypeEnumeration" minOccurs="0"/>
* <element name="Description" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="RemedyPeriod" type="{http://www.siri.org.uk/siri}HalfOpenTimestampInputRangeStructure" minOccurs="0"/>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RemedyStructure", propOrder = {
"remedyType",
"descriptions",
"remedyPeriod",
"extensions"
})
public class RemedyStructure
implements Serializable
{
@XmlElement(name = "RemedyType")
@XmlSchemaType(name = "NMTOKEN")
protected RemedyTypeEnumeration remedyType;
@XmlElement(name = "Description")
protected List descriptions;
@XmlElement(name = "RemedyPeriod")
protected HalfOpenTimestampInputRangeStructure remedyPeriod;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the remedyType property.
*
* @return
* possible object is
* {@link RemedyTypeEnumeration }
*
*/
public RemedyTypeEnumeration getRemedyType() {
return remedyType;
}
/**
* Sets the value of the remedyType property.
*
* @param value
* allowed object is
* {@link RemedyTypeEnumeration }
*
*/
public void setRemedyType(RemedyTypeEnumeration value) {
this.remedyType = 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 remedyPeriod property.
*
* @return
* possible object is
* {@link HalfOpenTimestampInputRangeStructure }
*
*/
public HalfOpenTimestampInputRangeStructure getRemedyPeriod() {
return remedyPeriod;
}
/**
* Sets the value of the remedyPeriod property.
*
* @param value
* allowed object is
* {@link HalfOpenTimestampInputRangeStructure }
*
*/
public void setRemedyPeriod(HalfOpenTimestampInputRangeStructure value) {
this.remedyPeriod = 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;
}
}