public static class CalendarType.HolidayOrExceptions.HolidayOrException 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="Date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="WorkTime" type="{http://xmlns.oracle.com/Primavera/P6/V24.12/API/BusinessObjects}WorkTimeType" maxOccurs="24"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected LocalDateTime |
date |
protected List<WorkTimeType> |
workTime |
| Constructor and Description |
|---|
HolidayOrException() |
| Modifier and Type | Method and Description |
|---|---|
LocalDateTime |
getDate()
Gets the value of the date property.
|
List<WorkTimeType> |
getWorkTime()
Gets the value of the workTime property.
|
void |
setDate(LocalDateTime value)
Sets the value of the date property.
|
protected LocalDateTime date
protected List<WorkTimeType> workTime
public LocalDateTime getDate()
Stringpublic void setDate(LocalDateTime value)
value - allowed object is
Stringpublic List<WorkTimeType> getWorkTime()
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 workTime property.
For example, to add a new item, do as follows:
getWorkTime().add(newItem);
Objects of the following type(s) are allowed in the list
WorkTimeType
Copyright © 2000–2025 MPXJ. All rights reserved.