Class 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 Detail

      • overallStartTime

        protected DateTime overallStartTime
      • overallEndTime

        protected DateTime overallEndTime
      • validPeriods

        protected List<Period> validPeriods
      • exceptionPeriods

        protected List<Period> exceptionPeriods
      • overallPeriodExtension

        protected ExtensionType overallPeriodExtension
    • Constructor Detail

      • OverallPeriod

        public OverallPeriod()
    • 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 is DateTime
      • 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 is DateTime
      • 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 Jakarta XML Binding object. This is why there is not a set method 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 Jakarta XML Binding object. This is why there is not a set method 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 is ExtensionType