Package uk.org.siri.siri21
Class DurationContentStructure
- java.lang.Object
-
- uk.org.siri.siri21.DurationContentStructure
-
- All Implemented Interfaces:
Serializable
public class DurationContentStructure extends Object implements Serializable
Java class for DurationContentStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DurationContentStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="DurationText" type="{http://www.siri.org.uk/siri}DefaultedTextStructure" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<DefaultedTextStructure>durationTexts
-
Constructor Summary
Constructors Constructor Description DurationContentStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DefaultedTextStructure>getDurationTexts()Gets the value of the durationTexts property.
-
-
-
Field Detail
-
durationTexts
protected List<DefaultedTextStructure> durationTexts
-
-
Method Detail
-
getDurationTexts
public List<DefaultedTextStructure> getDurationTexts()
Gets the value of the durationTexts 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 durationTexts property.For example, to add a new item, do as follows:
getDurationTexts().add(newItem);Objects of the following type(s) are allowed in the list
DefaultedTextStructure
-
-