net.sf.mpxj.primavera.schema
Class CalendarType

java.lang.Object
  extended by net.sf.mpxj.primavera.schema.CalendarType

public class CalendarType
extends Object

Java class for CalendarType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CalendarType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="BaseCalendarObjectId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="CreateDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="CreateUser" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="HoursPerDay" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}double">
               <minInclusive value="1.0"/>
               <maxInclusive value="24.0"/>
             </restriction>
           </simpleType>
         </element>
         <element name="HoursPerMonth" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}double">
               <minInclusive value="1.0"/>
               <maxInclusive value="744.0"/>
             </restriction>
           </simpleType>
         </element>
         <element name="HoursPerWeek" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}double">
               <minInclusive value="1.0"/>
               <maxInclusive value="168.0"/>
             </restriction>
           </simpleType>
         </element>
         <element name="HoursPerYear" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}double">
               <minInclusive value="1.0"/>
               <maxInclusive value="8784.0"/>
             </restriction>
           </simpleType>
         </element>
         <element name="IsBaseline" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="IsDefault" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="LastUpdateDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="LastUpdateUser" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Name" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <maxLength value="60"/>
             </restriction>
           </simpleType>
         </element>
         <element name="ObjectId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="ProjectObjectId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="Type" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="Global"/>
               <enumeration value="Project"/>
               <enumeration value="Resource"/>
             </restriction>
           </simpleType>
         </element>
         <element name="StandardWorkWeek" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="StandardWorkHours" maxOccurs="7" minOccurs="7">
                     <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>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="HolidayOrExceptions" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="HolidayOrException" maxOccurs="unbounded">
                     <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>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class CalendarType.HolidayOrExceptions
          Java class for anonymous complex type.
static class CalendarType.StandardWorkWeek
          Java class for anonymous complex type.
 
Field Summary
protected  JAXBElement<Integer> baseCalendarObjectId
           
protected  JAXBElement<Date> createDate
           
protected  String createUser
           
protected  CalendarType.HolidayOrExceptions holidayOrExceptions
           
protected  Double hoursPerDay
           
protected  Double hoursPerMonth
           
protected  Double hoursPerWeek
           
protected  Double hoursPerYear
           
protected  JAXBElement<Boolean> isBaseline
           
protected  Boolean isDefault
           
protected  JAXBElement<Date> lastUpdateDate
           
protected  String lastUpdateUser
           
protected  String name
           
protected  Integer objectId
           
protected  JAXBElement<Integer> projectObjectId
           
protected  CalendarType.StandardWorkWeek standardWorkWeek
           
protected  String type
           
 
Constructor Summary
CalendarType()
           
 
Method Summary
 JAXBElement<Integer> getBaseCalendarObjectId()
          Gets the value of the baseCalendarObjectId property.
 JAXBElement<Date> getCreateDate()
          Gets the value of the createDate property.
 String getCreateUser()
          Gets the value of the createUser property.
 CalendarType.HolidayOrExceptions getHolidayOrExceptions()
          Gets the value of the holidayOrExceptions property.
 Double getHoursPerDay()
          Gets the value of the hoursPerDay property.
 Double getHoursPerMonth()
          Gets the value of the hoursPerMonth property.
 Double getHoursPerWeek()
          Gets the value of the hoursPerWeek property.
 Double getHoursPerYear()
          Gets the value of the hoursPerYear property.
 JAXBElement<Boolean> getIsBaseline()
          Gets the value of the isBaseline property.
 JAXBElement<Date> getLastUpdateDate()
          Gets the value of the lastUpdateDate property.
 String getLastUpdateUser()
          Gets the value of the lastUpdateUser property.
 String getName()
          Gets the value of the name property.
 Integer getObjectId()
          Gets the value of the objectId property.
 JAXBElement<Integer> getProjectObjectId()
          Gets the value of the projectObjectId property.
 CalendarType.StandardWorkWeek getStandardWorkWeek()
          Gets the value of the standardWorkWeek property.
 String getType()
          Gets the value of the type property.
 Boolean isIsDefault()
          Gets the value of the isDefault property.
 void setBaseCalendarObjectId(JAXBElement<Integer> value)
          Sets the value of the baseCalendarObjectId property.
 void setCreateDate(JAXBElement<Date> value)
          Sets the value of the createDate property.
 void setCreateUser(String value)
          Sets the value of the createUser property.
 void setHolidayOrExceptions(CalendarType.HolidayOrExceptions value)
          Sets the value of the holidayOrExceptions property.
 void setHoursPerDay(Double value)
          Sets the value of the hoursPerDay property.
 void setHoursPerMonth(Double value)
          Sets the value of the hoursPerMonth property.
 void setHoursPerWeek(Double value)
          Sets the value of the hoursPerWeek property.
 void setHoursPerYear(Double value)
          Sets the value of the hoursPerYear property.
 void setIsBaseline(JAXBElement<Boolean> value)
          Sets the value of the isBaseline property.
 void setIsDefault(Boolean value)
          Sets the value of the isDefault property.
 void setLastUpdateDate(JAXBElement<Date> value)
          Sets the value of the lastUpdateDate property.
 void setLastUpdateUser(String value)
          Sets the value of the lastUpdateUser property.
 void setName(String value)
          Sets the value of the name property.
 void setObjectId(Integer value)
          Sets the value of the objectId property.
 void setProjectObjectId(JAXBElement<Integer> value)
          Sets the value of the projectObjectId property.
 void setStandardWorkWeek(CalendarType.StandardWorkWeek value)
          Sets the value of the standardWorkWeek property.
 void setType(String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseCalendarObjectId

protected JAXBElement<Integer> baseCalendarObjectId

createDate

protected JAXBElement<Date> createDate

createUser

protected String createUser

hoursPerDay

protected Double hoursPerDay

hoursPerMonth

protected Double hoursPerMonth

hoursPerWeek

protected Double hoursPerWeek

hoursPerYear

protected Double hoursPerYear

isBaseline

protected JAXBElement<Boolean> isBaseline

isDefault

protected Boolean isDefault

lastUpdateDate

protected JAXBElement<Date> lastUpdateDate

lastUpdateUser

protected String lastUpdateUser

name

protected String name

objectId

protected Integer objectId

projectObjectId

protected JAXBElement<Integer> projectObjectId

type

protected String type

standardWorkWeek

protected CalendarType.StandardWorkWeek standardWorkWeek

holidayOrExceptions

protected CalendarType.HolidayOrExceptions holidayOrExceptions
Constructor Detail

CalendarType

public CalendarType()
Method Detail

getBaseCalendarObjectId

public JAXBElement<Integer> getBaseCalendarObjectId()
Gets the value of the baseCalendarObjectId property.

Returns:
possible object is JAXBElement<Integer>

setBaseCalendarObjectId

public void setBaseCalendarObjectId(JAXBElement<Integer> value)
Sets the value of the baseCalendarObjectId property.

Parameters:
value - allowed object is JAXBElement<Integer>

getCreateDate

public JAXBElement<Date> getCreateDate()
Gets the value of the createDate property.

Returns:
possible object is JAXBElement<Date>

setCreateDate

public void setCreateDate(JAXBElement<Date> value)
Sets the value of the createDate property.

Parameters:
value - allowed object is JAXBElement<Date>

getCreateUser

public String getCreateUser()
Gets the value of the createUser property.

Returns:
possible object is String

setCreateUser

public void setCreateUser(String value)
Sets the value of the createUser property.

Parameters:
value - allowed object is String

getHoursPerDay

public Double getHoursPerDay()
Gets the value of the hoursPerDay property.

Returns:
possible object is Double

setHoursPerDay

public void setHoursPerDay(Double value)
Sets the value of the hoursPerDay property.

Parameters:
value - allowed object is Double

getHoursPerMonth

public Double getHoursPerMonth()
Gets the value of the hoursPerMonth property.

Returns:
possible object is Double

setHoursPerMonth

public void setHoursPerMonth(Double value)
Sets the value of the hoursPerMonth property.

Parameters:
value - allowed object is Double

getHoursPerWeek

public Double getHoursPerWeek()
Gets the value of the hoursPerWeek property.

Returns:
possible object is Double

setHoursPerWeek

public void setHoursPerWeek(Double value)
Sets the value of the hoursPerWeek property.

Parameters:
value - allowed object is Double

getHoursPerYear

public Double getHoursPerYear()
Gets the value of the hoursPerYear property.

Returns:
possible object is Double

setHoursPerYear

public void setHoursPerYear(Double value)
Sets the value of the hoursPerYear property.

Parameters:
value - allowed object is Double

getIsBaseline

public JAXBElement<Boolean> getIsBaseline()
Gets the value of the isBaseline property.

Returns:
possible object is JAXBElement<Boolean>

setIsBaseline

public void setIsBaseline(JAXBElement<Boolean> value)
Sets the value of the isBaseline property.

Parameters:
value - allowed object is JAXBElement<Boolean>

isIsDefault

public Boolean isIsDefault()
Gets the value of the isDefault property.

Returns:
possible object is Boolean

setIsDefault

public void setIsDefault(Boolean value)
Sets the value of the isDefault property.

Parameters:
value - allowed object is Boolean

getLastUpdateDate

public JAXBElement<Date> getLastUpdateDate()
Gets the value of the lastUpdateDate property.

Returns:
possible object is JAXBElement<Date>

setLastUpdateDate

public void setLastUpdateDate(JAXBElement<Date> value)
Sets the value of the lastUpdateDate property.

Parameters:
value - allowed object is JAXBElement<Date>

getLastUpdateUser

public String getLastUpdateUser()
Gets the value of the lastUpdateUser property.

Returns:
possible object is String

setLastUpdateUser

public void setLastUpdateUser(String value)
Sets the value of the lastUpdateUser property.

Parameters:
value - allowed object is String

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getObjectId

public Integer getObjectId()
Gets the value of the objectId property.

Returns:
possible object is Integer

setObjectId

public void setObjectId(Integer value)
Sets the value of the objectId property.

Parameters:
value - allowed object is Integer

getProjectObjectId

public JAXBElement<Integer> getProjectObjectId()
Gets the value of the projectObjectId property.

Returns:
possible object is JAXBElement<Integer>

setProjectObjectId

public void setProjectObjectId(JAXBElement<Integer> value)
Sets the value of the projectObjectId property.

Parameters:
value - allowed object is JAXBElement<Integer>

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getStandardWorkWeek

public CalendarType.StandardWorkWeek getStandardWorkWeek()
Gets the value of the standardWorkWeek property.

Returns:
possible object is CalendarType.StandardWorkWeek

setStandardWorkWeek

public void setStandardWorkWeek(CalendarType.StandardWorkWeek value)
Sets the value of the standardWorkWeek property.

Parameters:
value - allowed object is CalendarType.StandardWorkWeek

getHolidayOrExceptions

public CalendarType.HolidayOrExceptions getHolidayOrExceptions()
Gets the value of the holidayOrExceptions property.

Returns:
possible object is CalendarType.HolidayOrExceptions

setHolidayOrExceptions

public void setHolidayOrExceptions(CalendarType.HolidayOrExceptions value)
Sets the value of the holidayOrExceptions property.

Parameters:
value - allowed object is CalendarType.HolidayOrExceptions


Copyright © 2012. All Rights Reserved.