Class Period
- java.lang.Object
-
- eu.datex2.siri20.schema._2_0rc1._2_0.Period
-
- All Implemented Interfaces:
Serializable
public class Period extends Object implements Serializable
Java class for Period complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Period"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="startOfPeriod" type="{http://datex2.eu/schema/2_0RC1/2_0}DateTime" minOccurs="0"/> <element name="endOfPeriod" type="{http://datex2.eu/schema/2_0RC1/2_0}DateTime" minOccurs="0"/> <element name="periodName" type="{http://datex2.eu/schema/2_0RC1/2_0}MultilingualString" minOccurs="0"/> <element name="recurringTimePeriodOfDay" type="{http://datex2.eu/schema/2_0RC1/2_0}TimePeriodOfDay" maxOccurs="unbounded" minOccurs="0"/> <element name="recurringDayWeekMonthPeriod" type="{http://datex2.eu/schema/2_0RC1/2_0}DayWeekMonth" maxOccurs="unbounded" minOccurs="0"/> <element name="periodExtension" type="{http://datex2.eu/schema/2_0RC1/2_0}ExtensionType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ZonedDateTimeendOfPeriodprotected ExtensionTypeperiodExtensionprotected MultilingualStringperiodNameprotected List<DayWeekMonth>recurringDayWeekMonthPeriodsprotected List<TimePeriodOfDay>recurringTimePeriodOfDaiesprotected ZonedDateTimestartOfPeriod
-
Constructor Summary
Constructors Constructor Description Period()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZonedDateTimegetEndOfPeriod()Gets the value of the endOfPeriod property.ExtensionTypegetPeriodExtension()Gets the value of the periodExtension property.MultilingualStringgetPeriodName()Gets the value of the periodName property.List<DayWeekMonth>getRecurringDayWeekMonthPeriods()Gets the value of the recurringDayWeekMonthPeriods property.List<TimePeriodOfDay>getRecurringTimePeriodOfDaies()Gets the value of the recurringTimePeriodOfDaies property.ZonedDateTimegetStartOfPeriod()Gets the value of the startOfPeriod property.voidsetEndOfPeriod(ZonedDateTime value)Sets the value of the endOfPeriod property.voidsetPeriodExtension(ExtensionType value)Sets the value of the periodExtension property.voidsetPeriodName(MultilingualString value)Sets the value of the periodName property.voidsetStartOfPeriod(ZonedDateTime value)Sets the value of the startOfPeriod property.
-
-
-
Field Detail
-
startOfPeriod
protected ZonedDateTime startOfPeriod
-
endOfPeriod
protected ZonedDateTime endOfPeriod
-
periodName
protected MultilingualString periodName
-
recurringTimePeriodOfDaies
protected List<TimePeriodOfDay> recurringTimePeriodOfDaies
-
recurringDayWeekMonthPeriods
protected List<DayWeekMonth> recurringDayWeekMonthPeriods
-
periodExtension
protected ExtensionType periodExtension
-
-
Method Detail
-
getStartOfPeriod
public ZonedDateTime getStartOfPeriod()
Gets the value of the startOfPeriod property.- Returns:
- possible object is
String
-
setStartOfPeriod
public void setStartOfPeriod(ZonedDateTime value)
Sets the value of the startOfPeriod property.- Parameters:
value- allowed object isString
-
getEndOfPeriod
public ZonedDateTime getEndOfPeriod()
Gets the value of the endOfPeriod property.- Returns:
- possible object is
String
-
setEndOfPeriod
public void setEndOfPeriod(ZonedDateTime value)
Sets the value of the endOfPeriod property.- Parameters:
value- allowed object isString
-
getPeriodName
public MultilingualString getPeriodName()
Gets the value of the periodName property.- Returns:
- possible object is
MultilingualString
-
setPeriodName
public void setPeriodName(MultilingualString value)
Sets the value of the periodName property.- Parameters:
value- allowed object isMultilingualString
-
getRecurringTimePeriodOfDaies
public List<TimePeriodOfDay> getRecurringTimePeriodOfDaies()
Gets the value of the recurringTimePeriodOfDaies 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 recurringTimePeriodOfDaies property.For example, to add a new item, do as follows:
getRecurringTimePeriodOfDaies().add(newItem);Objects of the following type(s) are allowed in the list
TimePeriodOfDay
-
getRecurringDayWeekMonthPeriods
public List<DayWeekMonth> getRecurringDayWeekMonthPeriods()
Gets the value of the recurringDayWeekMonthPeriods 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 recurringDayWeekMonthPeriods property.For example, to add a new item, do as follows:
getRecurringDayWeekMonthPeriods().add(newItem);Objects of the following type(s) are allowed in the list
DayWeekMonth
-
getPeriodExtension
public ExtensionType getPeriodExtension()
Gets the value of the periodExtension property.- Returns:
- possible object is
ExtensionType
-
setPeriodExtension
public void setPeriodExtension(ExtensionType value)
Sets the value of the periodExtension property.- Parameters:
value- allowed object isExtensionType
-
-