Class OverallPeriod
- java.lang.Object
-
- eu.datex2.siri13.schema._1_0._1_0.OverallPeriod
-
- All Implemented Interfaces:
Serializable
public class OverallPeriod extends Object implements Serializable
A continuous or discontinous period of validity defined by overall bounding start and end times and the possible intersection of valid periods (potentially recurring) with the complement of exception periods (also potentially recurring).Java class for OverallPeriod complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OverallPeriod"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="overallStartTime" type="{http://datex2.eu/schema/1_0/1_0}DateTime"/> <element name="overallEndTime" type="{http://datex2.eu/schema/1_0/1_0}DateTime" minOccurs="0"/> <element name="validPeriod" type="{http://datex2.eu/schema/1_0/1_0}Period" maxOccurs="unbounded" minOccurs="0"/> <element name="exceptionPeriod" type="{http://datex2.eu/schema/1_0/1_0}Period" maxOccurs="unbounded" minOccurs="0"/> <element name="overallPeriodExtension" type="{http://datex2.eu/schema/1_0/1_0}ExtensionType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Period>exceptionPeriodsprotected DateTimeoverallEndTimeprotected ExtensionTypeoverallPeriodExtensionprotected DateTimeoverallStartTimeprotected List<Period>validPeriods
-
Constructor Summary
Constructors Constructor Description OverallPeriod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Period>getExceptionPeriods()Gets the value of the exceptionPeriods property.DateTimegetOverallEndTime()Gets the value of the overallEndTime property.ExtensionTypegetOverallPeriodExtension()Gets the value of the overallPeriodExtension property.DateTimegetOverallStartTime()Gets the value of the overallStartTime property.List<Period>getValidPeriods()Gets the value of the validPeriods property.voidsetOverallEndTime(DateTime value)Sets the value of the overallEndTime property.voidsetOverallPeriodExtension(ExtensionType value)Sets the value of the overallPeriodExtension property.voidsetOverallStartTime(DateTime value)Sets the value of the overallStartTime property.
-
-
-
Method Detail
-
getOverallStartTime
public DateTime getOverallStartTime()
Gets the value of the overallStartTime property.- Returns:
- possible object is
DateTime
-
setOverallStartTime
public void setOverallStartTime(DateTime value)
Sets the value of the overallStartTime property.- Parameters:
value- allowed object isDateTime
-
getOverallEndTime
public DateTime getOverallEndTime()
Gets the value of the overallEndTime property.- Returns:
- possible object is
DateTime
-
setOverallEndTime
public void setOverallEndTime(DateTime value)
Sets the value of the overallEndTime property.- Parameters:
value- allowed object isDateTime
-
getValidPeriods
public List<Period> getValidPeriods()
Gets the value of the validPeriods 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 validPeriods property.For example, to add a new item, do as follows:
getValidPeriods().add(newItem);Objects of the following type(s) are allowed in the list
Period
-
getExceptionPeriods
public List<Period> getExceptionPeriods()
Gets the value of the exceptionPeriods 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 exceptionPeriods property.For example, to add a new item, do as follows:
getExceptionPeriods().add(newItem);Objects of the following type(s) are allowed in the list
Period
-
getOverallPeriodExtension
public ExtensionType getOverallPeriodExtension()
Gets the value of the overallPeriodExtension property.- Returns:
- possible object is
ExtensionType
-
setOverallPeriodExtension
public void setOverallPeriodExtension(ExtensionType value)
Sets the value of the overallPeriodExtension property.- Parameters:
value- allowed object isExtensionType
-
-