net.sf.mpxj.primavera.schema
Class ResourceRequestType

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

public class ResourceRequestType
extends Object

Java class for ResourceRequestType complex type.

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

 <complexType name="ResourceRequestType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="FinishDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="MatchAllCriteria" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="RequestedUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="SequenceNumber" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="ShowOnlyLaborResources" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="ShowOverallocatedResources" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="SortResultsByAvailability" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="UseActivityDates" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="ResourceRequestCriterion" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="CriterionType">
                     <simpleType>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                         <enumeration value="Primary Role"/>
                         <enumeration value="Role"/>
                         <enumeration value="Resource"/>
                         <enumeration value="Resource Code"/>
                       </restriction>
                     </simpleType>
                   </element>
                   <element name="Proficiency" minOccurs="0">
                     <simpleType>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                         <enumeration value="1 - Master"/>
                         <enumeration value="2 - Expert"/>
                         <enumeration value="3 - Skilled"/>
                         <enumeration value="4 - Proficient"/>
                         <enumeration value="5 - Inexperienced"/>
                       </restriction>
                     </simpleType>
                   </element>
                   <element name="ValueObjectId" type="{http://www.w3.org/2001/XMLSchema}int"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class ResourceRequestType.ResourceRequestCriterion
          Java class for anonymous complex type.
 
Field Summary
protected  JAXBElement<Date> finishDate
           
protected  Boolean matchAllCriteria
           
protected  String name
           
protected  JAXBElement<Double> requestedUnits
           
protected  List<ResourceRequestType.ResourceRequestCriterion> resourceRequestCriterion
           
protected  Integer sequenceNumber
           
protected  Boolean showOnlyLaborResources
           
protected  Boolean showOverallocatedResources
           
protected  Boolean sortResultsByAvailability
           
protected  JAXBElement<Date> startDate
           
protected  Boolean useActivityDates
           
 
Constructor Summary
ResourceRequestType()
           
 
Method Summary
 JAXBElement<Date> getFinishDate()
          Gets the value of the finishDate property.
 String getName()
          Gets the value of the name property.
 JAXBElement<Double> getRequestedUnits()
          Gets the value of the requestedUnits property.
 List<ResourceRequestType.ResourceRequestCriterion> getResourceRequestCriterion()
          Gets the value of the resourceRequestCriterion property.
 Integer getSequenceNumber()
          Gets the value of the sequenceNumber property.
 JAXBElement<Date> getStartDate()
          Gets the value of the startDate property.
 Boolean isMatchAllCriteria()
          Gets the value of the matchAllCriteria property.
 Boolean isShowOnlyLaborResources()
          Gets the value of the showOnlyLaborResources property.
 Boolean isShowOverallocatedResources()
          Gets the value of the showOverallocatedResources property.
 Boolean isSortResultsByAvailability()
          Gets the value of the sortResultsByAvailability property.
 Boolean isUseActivityDates()
          Gets the value of the useActivityDates property.
 void setFinishDate(JAXBElement<Date> value)
          Sets the value of the finishDate property.
 void setMatchAllCriteria(Boolean value)
          Sets the value of the matchAllCriteria property.
 void setName(String value)
          Sets the value of the name property.
 void setRequestedUnits(JAXBElement<Double> value)
          Sets the value of the requestedUnits property.
 void setSequenceNumber(Integer value)
          Sets the value of the sequenceNumber property.
 void setShowOnlyLaborResources(Boolean value)
          Sets the value of the showOnlyLaborResources property.
 void setShowOverallocatedResources(Boolean value)
          Sets the value of the showOverallocatedResources property.
 void setSortResultsByAvailability(Boolean value)
          Sets the value of the sortResultsByAvailability property.
 void setStartDate(JAXBElement<Date> value)
          Sets the value of the startDate property.
 void setUseActivityDates(Boolean value)
          Sets the value of the useActivityDates property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

finishDate

protected JAXBElement<Date> finishDate

matchAllCriteria

protected Boolean matchAllCriteria

name

protected String name

requestedUnits

protected JAXBElement<Double> requestedUnits

sequenceNumber

protected Integer sequenceNumber

showOnlyLaborResources

protected Boolean showOnlyLaborResources

showOverallocatedResources

protected Boolean showOverallocatedResources

sortResultsByAvailability

protected Boolean sortResultsByAvailability

startDate

protected JAXBElement<Date> startDate

useActivityDates

protected Boolean useActivityDates

resourceRequestCriterion

protected List<ResourceRequestType.ResourceRequestCriterion> resourceRequestCriterion
Constructor Detail

ResourceRequestType

public ResourceRequestType()
Method Detail

getFinishDate

public JAXBElement<Date> getFinishDate()
Gets the value of the finishDate property.

Returns:
possible object is JAXBElement<Date>

setFinishDate

public void setFinishDate(JAXBElement<Date> value)
Sets the value of the finishDate property.

Parameters:
value - allowed object is JAXBElement<Date>

isMatchAllCriteria

public Boolean isMatchAllCriteria()
Gets the value of the matchAllCriteria property.

Returns:
possible object is Boolean

setMatchAllCriteria

public void setMatchAllCriteria(Boolean value)
Sets the value of the matchAllCriteria property.

Parameters:
value - allowed object is Boolean

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

getRequestedUnits

public JAXBElement<Double> getRequestedUnits()
Gets the value of the requestedUnits property.

Returns:
possible object is JAXBElement<Double>

setRequestedUnits

public void setRequestedUnits(JAXBElement<Double> value)
Sets the value of the requestedUnits property.

Parameters:
value - allowed object is JAXBElement<Double>

getSequenceNumber

public Integer getSequenceNumber()
Gets the value of the sequenceNumber property.

Returns:
possible object is Integer

setSequenceNumber

public void setSequenceNumber(Integer value)
Sets the value of the sequenceNumber property.

Parameters:
value - allowed object is Integer

isShowOnlyLaborResources

public Boolean isShowOnlyLaborResources()
Gets the value of the showOnlyLaborResources property.

Returns:
possible object is Boolean

setShowOnlyLaborResources

public void setShowOnlyLaborResources(Boolean value)
Sets the value of the showOnlyLaborResources property.

Parameters:
value - allowed object is Boolean

isShowOverallocatedResources

public Boolean isShowOverallocatedResources()
Gets the value of the showOverallocatedResources property.

Returns:
possible object is Boolean

setShowOverallocatedResources

public void setShowOverallocatedResources(Boolean value)
Sets the value of the showOverallocatedResources property.

Parameters:
value - allowed object is Boolean

isSortResultsByAvailability

public Boolean isSortResultsByAvailability()
Gets the value of the sortResultsByAvailability property.

Returns:
possible object is Boolean

setSortResultsByAvailability

public void setSortResultsByAvailability(Boolean value)
Sets the value of the sortResultsByAvailability property.

Parameters:
value - allowed object is Boolean

getStartDate

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

Returns:
possible object is JAXBElement<Date>

setStartDate

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

Parameters:
value - allowed object is JAXBElement<Date>

isUseActivityDates

public Boolean isUseActivityDates()
Gets the value of the useActivityDates property.

Returns:
possible object is Boolean

setUseActivityDates

public void setUseActivityDates(Boolean value)
Sets the value of the useActivityDates property.

Parameters:
value - allowed object is Boolean

getResourceRequestCriterion

public List<ResourceRequestType.ResourceRequestCriterion> getResourceRequestCriterion()
Gets the value of the resourceRequestCriterion 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 resourceRequestCriterion property.

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

    getResourceRequestCriterion().add(newItem);
 

Objects of the following type(s) are allowed in the list ResourceRequestType.ResourceRequestCriterion



Copyright © 2012. All Rights Reserved.