net.sf.mpxj.mspdi.schema
Class Project.Calendars.Calendar.WorkWeeks

java.lang.Object
  extended by net.sf.mpxj.mspdi.schema.Project.Calendars.Calendar.WorkWeeks
Enclosing class:
Project.Calendars.Calendar

public static class Project.Calendars.Calendar.WorkWeeks
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="WorkWeek" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="TimePeriod" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="FromDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
                             <element name="ToDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="Name" minOccurs="0">
                     <simpleType>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                         <maxLength value="512"/>
                       </restriction>
                     </simpleType>
                   </element>
                   <element name="WeekDays" minOccurs="0">
                     <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="DayType">
                                         <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"/>
                                             <enumeration value="7"/>
                                           </restriction>
                                         </simpleType>
                                       </element>
                                       <element name="DayWorking" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
                                       <element name="WorkingTimes" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                               <sequence>
                                                 <choice>
                                                   <element name="WorkingTime" maxOccurs="5" minOccurs="0">
                                                     <complexType>
                                                       <complexContent>
                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                           <sequence>
                                                             <element name="FromTime" type="{http://www.w3.org/2001/XMLSchema}time" minOccurs="0"/>
                                                             <element name="ToTime" type="{http://www.w3.org/2001/XMLSchema}time" minOccurs="0"/>
                                                           </sequence>
                                                         </restriction>
                                                       </complexContent>
                                                     </complexType>
                                                   </element>
                                                 </choice>
                                               </sequence>
                                             </restriction>
                                           </complexContent>
                                         </complexType>
                                       </element>
                                     </sequence>
                                   </restriction>
                                 </complexContent>
                               </complexType>
                             </element>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Project.Calendars.Calendar.WorkWeeks.WorkWeek
          Java class for anonymous complex type.
 
Field Summary
protected  List<Project.Calendars.Calendar.WorkWeeks.WorkWeek> workWeek
           
 
Constructor Summary
Project.Calendars.Calendar.WorkWeeks()
           
 
Method Summary
 List<Project.Calendars.Calendar.WorkWeeks.WorkWeek> getWorkWeek()
          Gets the value of the workWeek property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workWeek

protected List<Project.Calendars.Calendar.WorkWeeks.WorkWeek> workWeek
Constructor Detail

Project.Calendars.Calendar.WorkWeeks

public Project.Calendars.Calendar.WorkWeeks()
Method Detail

getWorkWeek

public List<Project.Calendars.Calendar.WorkWeeks.WorkWeek> getWorkWeek()
Gets the value of the workWeek 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 workWeek property.

For example, to add a new item, do as follows:

    getWorkWeek().add(newItem);
 

Objects of the following type(s) are allowed in the list Project.Calendars.Calendar.WorkWeeks.WorkWeek



Copyright © 2012. All Rights Reserved.