net.sf.mpxj.primavera.schema
Class ProjectResourceSpreadType

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

public class ProjectResourceSpreadType
extends Object

Java class for ProjectResourceSpreadType complex type.

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

 <complexType name="ProjectResourceSpreadType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ProjectObjectId" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="ResourceObjectId" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="PeriodType">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="Hour"/>
               <enumeration value="Day"/>
               <enumeration value="Week"/>
               <enumeration value="Month"/>
               <enumeration value="Quarter"/>
               <enumeration value="Year"/>
               <enumeration value="Financial Period"/>
             </restriction>
           </simpleType>
         </element>
         <element name="Period" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
                   <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
                   <element name="ActualOvertimeUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeActualOvertimeUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="ActualRegularUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeActualRegularUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="ActualUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeActualUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="AtCompletionUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeAtCompletionUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="Limit" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeLimit" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="PeriodActualUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativePeriodActualUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="PeriodAtCompletionUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativePeriodAtCompletionUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="PlannedUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativePlannedUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="RemainingLateUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeRemainingLateUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="RemainingUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeRemainingUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="StaffedRemainingLateUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeStaffedRemainingLateUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="StaffedRemainingUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeStaffedRemainingUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="UnstaffedRemainingLateUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeUnstaffedRemainingLateUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="UnstaffedRemainingUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeUnstaffedRemainingUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="ActualCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeActualCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="ActualOvertimeCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeActualOvertimeCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="ActualRegularCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeActualRegularCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="AtCompletionCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeAtCompletionCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="PeriodActualCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativePeriodActualCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="PeriodAtCompletionCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativePeriodAtCompletionCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="PlannedCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativePlannedCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="RemainingCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeRemainingCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="RemainingLateCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeRemainingLateCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="StaffedRemainingCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeStaffedRemainingCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="StaffedRemainingLateCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeStaffedRemainingLateCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="UnstaffedRemainingCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeUnstaffedRemainingCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="UnstaffedRemainingLateCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                   <element name="CumulativeUnstaffedRemainingLateCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class ProjectResourceSpreadType.Period
          Java class for anonymous complex type.
 
Field Summary
protected  Date endDate
           
protected  List<ProjectResourceSpreadType.Period> period
           
protected  String periodType
           
protected  int projectObjectId
           
protected  int resourceObjectId
           
protected  Date startDate
           
 
Constructor Summary
ProjectResourceSpreadType()
           
 
Method Summary
 Date getEndDate()
          Gets the value of the endDate property.
 List<ProjectResourceSpreadType.Period> getPeriod()
          Gets the value of the period property.
 String getPeriodType()
          Gets the value of the periodType property.
 int getProjectObjectId()
          Gets the value of the projectObjectId property.
 int getResourceObjectId()
          Gets the value of the resourceObjectId property.
 Date getStartDate()
          Gets the value of the startDate property.
 void setEndDate(Date value)
          Sets the value of the endDate property.
 void setPeriodType(String value)
          Sets the value of the periodType property.
 void setProjectObjectId(int value)
          Sets the value of the projectObjectId property.
 void setResourceObjectId(int value)
          Sets the value of the resourceObjectId property.
 void setStartDate(Date value)
          Sets the value of the startDate property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

projectObjectId

protected int projectObjectId

resourceObjectId

protected int resourceObjectId

startDate

protected Date startDate

endDate

protected Date endDate

periodType

protected String periodType

period

protected List<ProjectResourceSpreadType.Period> period
Constructor Detail

ProjectResourceSpreadType

public ProjectResourceSpreadType()
Method Detail

getProjectObjectId

public int getProjectObjectId()
Gets the value of the projectObjectId property.


setProjectObjectId

public void setProjectObjectId(int value)
Sets the value of the projectObjectId property.


getResourceObjectId

public int getResourceObjectId()
Gets the value of the resourceObjectId property.


setResourceObjectId

public void setResourceObjectId(int value)
Sets the value of the resourceObjectId property.


getStartDate

public Date getStartDate()
Gets the value of the startDate property.

Returns:
possible object is String

setStartDate

public void setStartDate(Date value)
Sets the value of the startDate property.

Parameters:
value - allowed object is String

getEndDate

public Date getEndDate()
Gets the value of the endDate property.

Returns:
possible object is String

setEndDate

public void setEndDate(Date value)
Sets the value of the endDate property.

Parameters:
value - allowed object is String

getPeriodType

public String getPeriodType()
Gets the value of the periodType property.

Returns:
possible object is String

setPeriodType

public void setPeriodType(String value)
Sets the value of the periodType property.

Parameters:
value - allowed object is String

getPeriod

public List<ProjectResourceSpreadType.Period> getPeriod()
Gets the value of the period 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 period property.

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

    getPeriod().add(newItem);
 

Objects of the following type(s) are allowed in the list ProjectResourceSpreadType.Period



Copyright © 2012. All Rights Reserved.