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="UID" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="NameU" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
<element name="IsBaseCalendar" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="BaseCalendarUID" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="IsTemplateCalendar" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="MachineInfo" 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">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="DayType" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="DayWorking" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="WorkingTimes">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="WorkingTime" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="FromTime" type="{http://www.w3.org/2001/XMLSchema}time"/>
<element name="ToTime" 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="Exceptions">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Exception" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="EnteredByOccurrences" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="Holiday" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="TimePeriod">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="FromDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="ToDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="Occurrences" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Type" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="DayWorking" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="WorkingTimes">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="WorkingTime" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="FromTime" type="{http://www.w3.org/2001/XMLSchema}time"/>
<element name="ToTime" 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.