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

      • Period

        public Period()
    • 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 is DateTime
      • 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 is DateTime
      • setPeriodName

        public void setPeriodName​(Period.PeriodName value)
        Sets the value of the periodName property.
        Parameters:
        value - allowed object is Period.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 JAXB object. This is why there is not a set method 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 JAXB object. This is why there is not a set method 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 is ExtensionType