net.sf.mpxj.primavera.schema
Class CalendarType.StandardWorkWeek.StandardWorkHours

java.lang.Object
  extended by net.sf.mpxj.primavera.schema.CalendarType.StandardWorkWeek.StandardWorkHours
Enclosing class:
CalendarType.StandardWorkWeek

public static class CalendarType.StandardWorkWeek.StandardWorkHours
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="DayOfWeek">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="Sunday"/>
               <enumeration value="Monday"/>
               <enumeration value="Tuesday"/>
               <enumeration value="Wednesday"/>
               <enumeration value="Thursday"/>
               <enumeration value="Friday"/>
               <enumeration value="Saturday"/>
             </restriction>
           </simpleType>
         </element>
         <element name="WorkTime" type="{http://xmlns.oracle.com/Primavera/P6/V7/API/BusinessObjects}WorkTimeType" maxOccurs="24"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String dayOfWeek
           
protected  List<WorkTimeType> workTime
           
 
Constructor Summary
CalendarType.StandardWorkWeek.StandardWorkHours()
           
 
Method Summary
 String getDayOfWeek()
          Gets the value of the dayOfWeek property.
 List<WorkTimeType> getWorkTime()
          Gets the value of the workTime property.
 void setDayOfWeek(String value)
          Sets the value of the dayOfWeek property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dayOfWeek

protected String dayOfWeek

workTime

protected List<WorkTimeType> workTime
Constructor Detail

CalendarType.StandardWorkWeek.StandardWorkHours

public CalendarType.StandardWorkWeek.StandardWorkHours()
Method Detail

getDayOfWeek

public String getDayOfWeek()
Gets the value of the dayOfWeek property.

Returns:
possible object is String

setDayOfWeek

public void setDayOfWeek(String value)
Sets the value of the dayOfWeek 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.