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

      • Period

        public Period()
    • 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 is String
      • 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 is String
      • 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 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 Jakarta XML Binding 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