net.sf.mpxj.primavera.schema
Class CalendarType.HolidayOrExceptions.HolidayOrException

java.lang.Object
  extended by net.sf.mpxj.primavera.schema.CalendarType.HolidayOrExceptions.HolidayOrException
Enclosing class:
CalendarType.HolidayOrExceptions

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/V7/API/BusinessObjects}WorkTimeType" maxOccurs="24"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Date date
           
protected  List<WorkTimeType> workTime
           
 
Constructor Summary
CalendarType.HolidayOrExceptions.HolidayOrException()
           
 
Method Summary
 Date getDate()
          Gets the value of the date property.
 List<WorkTimeType> getWorkTime()
          Gets the value of the workTime property.
 void setDate(Date value)
          Sets the value of the date property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

date

protected Date date

workTime

protected List<WorkTimeType> workTime
Constructor Detail

CalendarType.HolidayOrExceptions.HolidayOrException

public CalendarType.HolidayOrExceptions.HolidayOrException()
Method Detail

getDate

public Date getDate()
Gets the value of the date property.

Returns:
possible object is String

setDate

public void setDate(Date value)
Sets the value of the date property.

Parameters:
value - allowed object is String

getWorkTime

public List<WorkTimeType> getWorkTime()
Gets the value of the workTime 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 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 © 2012. All Rights Reserved.