Package uk.org.siri.siri21
Class RemedyStructure
- java.lang.Object
-
- uk.org.siri.siri21.RemedyStructure
-
- All Implemented Interfaces:
Serializable
public class RemedyStructure extends Object implements Serializable
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>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<NaturalLanguageStringStructure>descriptionsprotected Extensionsextensionsprotected HalfOpenTimestampInputRangeStructureremedyPeriodprotected RemedyTypeEnumerationremedyType
-
Constructor Summary
Constructors Constructor Description RemedyStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NaturalLanguageStringStructure>getDescriptions()Gets the value of the descriptions property.ExtensionsgetExtensions()Gets the value of the extensions property.HalfOpenTimestampInputRangeStructuregetRemedyPeriod()Gets the value of the remedyPeriod property.RemedyTypeEnumerationgetRemedyType()Gets the value of the remedyType property.voidsetExtensions(Extensions value)Sets the value of the extensions property.voidsetRemedyPeriod(HalfOpenTimestampInputRangeStructure value)Sets the value of the remedyPeriod property.voidsetRemedyType(RemedyTypeEnumeration value)Sets the value of the remedyType property.
-
-
-
Field Detail
-
remedyType
protected RemedyTypeEnumeration remedyType
-
descriptions
protected List<NaturalLanguageStringStructure> descriptions
-
remedyPeriod
protected HalfOpenTimestampInputRangeStructure remedyPeriod
-
extensions
protected Extensions extensions
-
-
Method Detail
-
getRemedyType
public RemedyTypeEnumeration getRemedyType()
Gets the value of the remedyType property.- Returns:
- possible object is
RemedyTypeEnumeration
-
setRemedyType
public void setRemedyType(RemedyTypeEnumeration value)
Sets the value of the remedyType property.- Parameters:
value- allowed object isRemedyTypeEnumeration
-
getDescriptions
public List<NaturalLanguageStringStructure> getDescriptions()
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 JAXB object. This is why there is not a
setmethod 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
NaturalLanguageStringStructure
-
getRemedyPeriod
public HalfOpenTimestampInputRangeStructure getRemedyPeriod()
Gets the value of the remedyPeriod property.- Returns:
- possible object is
HalfOpenTimestampInputRangeStructure
-
setRemedyPeriod
public void setRemedyPeriod(HalfOpenTimestampInputRangeStructure value)
Sets the value of the remedyPeriod property.- Parameters:
value- allowed object isHalfOpenTimestampInputRangeStructure
-
getExtensions
public Extensions getExtensions()
Gets the value of the extensions property.- Returns:
- possible object is
Extensions
-
setExtensions
public void setExtensions(Extensions value)
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensions
-
-