Class Period
- java.lang.Object
-
- eu.datex2.siri14.schema._1_0._1_0.Period
-
- All Implemented Interfaces:
Serializable
public class Period extends Object implements Serializable
A continuous time period or a set of discontinuous time periods defined by the intersection of a set of criteria all within an overall delimiting interval.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/1_0/1_0}DateTime" minOccurs="0"/> <element name="endOfPeriod" type="{http://datex2.eu/schema/1_0/1_0}DateTime" minOccurs="0"/> <element name="periodName" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="value" maxOccurs="unbounded"> <complexType> <simpleContent> <extension base="<http://datex2.eu/schema/1_0/1_0>MultiLingualString"> <attribute name="lang" type="{http://www.w3.org/2001/XMLSchema}language" /> </extension> </simpleContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> <element name="recurringTimePeriodOfDay" type="{http://datex2.eu/schema/1_0/1_0}TimePeriodOfDay" maxOccurs="unbounded" minOccurs="0"/> <element name="recurringDayWeekMonthPeriod" type="{http://datex2.eu/schema/1_0/1_0}DayWeekMonth" maxOccurs="unbounded" minOccurs="0"/> <element name="periodExtension" type="{http://datex2.eu/schema/1_0/1_0}ExtensionType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPeriod.PeriodNameJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected DateTimeendOfPeriodprotected ExtensionTypeperiodExtensionprotected Period.PeriodNameperiodNameprotected List<DayWeekMonth>recurringDayWeekMonthPeriodsprotected List<TimePeriodOfDay>recurringTimePeriodOfDaiesprotected DateTimestartOfPeriod
-
Constructor Summary
Constructors Constructor Description Period()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DateTimegetEndOfPeriod()Gets the value of the endOfPeriod property.ExtensionTypegetPeriodExtension()Gets the value of the periodExtension property.Period.PeriodNamegetPeriodName()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.DateTimegetStartOfPeriod()Gets the value of the startOfPeriod property.voidsetEndOfPeriod(DateTime value)Sets the value of the endOfPeriod property.voidsetPeriodExtension(ExtensionType value)Sets the value of the periodExtension property.voidsetPeriodName(Period.PeriodName value)Sets the value of the periodName property.voidsetStartOfPeriod(DateTime value)Sets the value of the startOfPeriod property.
-
-
-
Field Detail
-
startOfPeriod
protected DateTime startOfPeriod
-
endOfPeriod
protected DateTime endOfPeriod
-
periodName
protected Period.PeriodName periodName
-
recurringTimePeriodOfDaies
protected List<TimePeriodOfDay> recurringTimePeriodOfDaies
-
recurringDayWeekMonthPeriods
protected List<DayWeekMonth> recurringDayWeekMonthPeriods
-
periodExtension
protected ExtensionType periodExtension
-
-
Method Detail
-
getStartOfPeriod
public DateTime getStartOfPeriod()
Gets the value of the startOfPeriod property.- Returns:
- possible object is
DateTime
-
setStartOfPeriod
public void setStartOfPeriod(DateTime value)
Sets the value of the startOfPeriod property.- Parameters:
value- allowed object isDateTime
-
getEndOfPeriod
public DateTime getEndOfPeriod()
Gets the value of the endOfPeriod property.- Returns:
- possible object is
DateTime
-
setEndOfPeriod
public void setEndOfPeriod(DateTime value)
Sets the value of the endOfPeriod property.- Parameters:
value- allowed object isDateTime
-
getPeriodName
public Period.PeriodName getPeriodName()
Gets the value of the periodName property.- Returns:
- possible object is
Period.PeriodName
-
setPeriodName
public void setPeriodName(Period.PeriodName value)
Sets the value of the periodName property.- Parameters:
value- allowed object isPeriod.PeriodName
-
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
-
-