Package uk.org.ifopt.siri13
Class ValidityConditionStructure
- java.lang.Object
-
- uk.org.ifopt.siri13.ValidityConditionStructure
-
- All Implemented Interfaces:
Serializable
public class ValidityConditionStructure extends Object implements Serializable
Type for a validity conditionJava class for ValidityConditionStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ValidityConditionStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="FromDateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="ToDateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="DayType" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" minOccurs="0"/> <element name="Timebands" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Timeband" type="{http://www.ifopt.org.uk/ifopt}TimebandStructure"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValidityConditionStructure.TimebandsJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected StringdayTypeprotected ZonedDateTimefromDateTimeprotected List<ValidityConditionStructure.Timebands>timebandsprotected ZonedDateTimetoDateTime
-
Constructor Summary
Constructors Constructor Description ValidityConditionStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDayType()Gets the value of the dayType property.ZonedDateTimegetFromDateTime()Gets the value of the fromDateTime property.List<ValidityConditionStructure.Timebands>getTimebands()Gets the value of the timebands property.ZonedDateTimegetToDateTime()Gets the value of the toDateTime property.voidsetDayType(String value)Sets the value of the dayType property.voidsetFromDateTime(ZonedDateTime value)Sets the value of the fromDateTime property.voidsetToDateTime(ZonedDateTime value)Sets the value of the toDateTime property.
-
-
-
Field Detail
-
fromDateTime
protected ZonedDateTime fromDateTime
-
toDateTime
protected ZonedDateTime toDateTime
-
dayType
protected String dayType
-
timebands
protected List<ValidityConditionStructure.Timebands> timebands
-
-
Method Detail
-
getFromDateTime
public ZonedDateTime getFromDateTime()
Gets the value of the fromDateTime property.- Returns:
- possible object is
String
-
setFromDateTime
public void setFromDateTime(ZonedDateTime value)
Sets the value of the fromDateTime property.- Parameters:
value- allowed object isString
-
getToDateTime
public ZonedDateTime getToDateTime()
Gets the value of the toDateTime property.- Returns:
- possible object is
String
-
setToDateTime
public void setToDateTime(ZonedDateTime value)
Sets the value of the toDateTime property.- Parameters:
value- allowed object isString
-
getDayType
public String getDayType()
Gets the value of the dayType property.- Returns:
- possible object is
String
-
setDayType
public void setDayType(String value)
Sets the value of the dayType property.- Parameters:
value- allowed object isString
-
getTimebands
public List<ValidityConditionStructure.Timebands> getTimebands()
Gets the value of the timebands 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
setmethod for the timebands property.For example, to add a new item, do as follows:
getTimebands().add(newItem);Objects of the following type(s) are allowed in the list
ValidityConditionStructure.Timebands
-
-