public static class Document.Calendars extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Calendar" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ID" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="BaseCalendarID" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="WeekDays">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="WeekDay" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Day">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}integer">
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
</restriction>
</simpleType>
</element>
<element name="IsDayWorking" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="TimePeriods">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="TimePeriod" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="From" type="{http://www.w3.org/2001/XMLSchema}time"/>
<element name="To" type="{http://www.w3.org/2001/XMLSchema}time"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ExceptedDays">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ExceptedDay" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Date" type="{http://www.w3.org/2001/XMLSchema}date"/>
<element name="IsDayWorking" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="TimePeriods">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="TimePeriod" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="From" type="{http://www.w3.org/2001/XMLSchema}time"/>
<element name="To" type="{http://www.w3.org/2001/XMLSchema}time"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Document.Calendars.Calendar
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Document.Calendars.Calendar> |
calendar |
| Constructor and Description |
|---|
Calendars() |
| Modifier and Type | Method and Description |
|---|---|
List<Document.Calendars.Calendar> |
getCalendar()
Gets the value of the calendar property.
|
protected List<Document.Calendars.Calendar> calendar
public List<Document.Calendars.Calendar> getCalendar()
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 calendar property.
For example, to add a new item, do as follows:
getCalendar().add(newItem);
Objects of the following type(s) are allowed in the list
Document.Calendars.Calendar
Copyright © 2000–2025 MPXJ. All rights reserved.