net.sf.mpxj
Class Resource

java.lang.Object
  extended by net.sf.mpxj.Resource
All Implemented Interfaces:
Comparable<Resource>, FieldContainer

public final class Resource
extends Object
implements Comparable<Resource>, FieldContainer

This class represents the Resource record as found in an MPX file.


Method Summary
 void addFieldListener(FieldListener listener)
          Add a listener to receive field events.
 void addResourceAssignment(ResourceAssignment assignment)
          This method is used internally within MPXJ to track tasks which are assigned to a particular resource.
 ProjectCalendar addResourceCalendar()
          This method allows a resource calendar to be added to a resource.
 int compareTo(Resource o)
          This method implements the only method in the Comparable interface.
 void disableEvents()
          Disable events firing when fields are updated.
 void enableEvents()
          Enable events firing when fields are updated.
 boolean equals(Object o)
          
 AccrueType getAccrueAt()
          Gets the Accrue at type.The Accrue At field provides choices for how and when resource standard and overtime costs are to be charged, or accrued, to the cost of a task.
 String getActiveDirectoryGUID()
          Retrieves the active directory GUID for this resource.
 Number getActualCost()
          Retrieves the actual cost for the work already performed by this resource.
 Number getActualOvertimeCost()
          Retrieve actual overtime cost.
 Duration getActualOvertimeWork()
          Retrieve the value of the actual overtime work field.
 Duration getActualOvertimeWorkProtected()
          Retrieves the actual overtime work protected duration.
 Duration getActualWork()
          Retrieves the Actual Work field contains the amount of work that has already been done for all assignments assigned to a resource.
 Duration getActualWorkProtected()
          Retrieves the actual work protected duration.
 Number getACWP()
          Set the actual cost of work performed.
 AvailabilityTable getAvailability()
          Retrieve the availability table for this resource.
 Date getAvailableFrom()
          Retrieves the "available from" date.
 Date getAvailableTo()
          Retrieves the "available to" date.
 String getBaseCalendar()
          Retrieves Base Calendar name associated with this resource.
 Number getBaselineCost()
          Retrieves the Baseline Cost value.
 Number getBaselineCost(int baselineNumber)
          Retrieve a baseline value.
 Duration getBaselineWork()
          Retrieves the Baseline Work value.
 Duration getBaselineWork(int baselineNumber)
          Retrieve a baseline value.
 Number getBCWP()
          Retrievesthe budgeted cost of work performed.
 Number getBCWS()
          Retrieves the budgeted cost of work scheduled.
 BookingType getBookingType()
          Retrieves the booking type.
 boolean getBudget()
          Retrieve the budget flag.
 Object getCachedValue(FieldType field)
          Retrieve a field value.
 boolean getCanLevel()
          Retrieves the flag indicating if the resource levelling can be applied to this resource.
 String getCode()
          Gets code field value.
 Number getCost()
          Retrieves the cost field value.
 Number getCost1()
          Retrieves a cost.
 Number getCost10()
          Retrieves a cost.
 Number getCost2()
          Retrieves a cost.
 Number getCost3()
          Retrieves a cost.
 Number getCost4()
          Retrieves a cost.
 Number getCost5()
          Retrieves a cost.
 Number getCost6()
          Retrieves a cost.
 Number getCost7()
          Retrieves a cost.
 Number getCost8()
          Retrieves a cost.
 Number getCost9()
          Retrieves a cost.
 Number getCostPerUse()
          Retrieve the cost per use.
 CostRateTable getCostRateTable(int index)
          Retrieves a cost rate table associated with a resource.
 Number getCostVariance()
          Retrieves the cost variance.
 Date getCreationDate()
          Retrieves the creation date.
 Object getCurrentValue(FieldType field)
          Retrieve a field value.
 Number getCV()
          Retrieve the cost variance.
 Date getDate1()
          Retrieves a date value.
 Date getDate10()
          Retrieves a date value.
 Date getDate2()
          Retrieves a date value.
 Date getDate3()
          Retrieves a date value.
 Date getDate4()
          Retrieves a date value.
 Date getDate5()
          Retrieves a date value.
 Date getDate6()
          Retrieves a date value.
 Date getDate7()
          Retrieves a date value.
 Date getDate8()
          Retrieves a date value.
 Date getDate9()
          Retrieves a date value.
 Duration getDuration1()
          Retrieves a duration.
 Duration getDuration10()
          Retrieves a duration.
 Duration getDuration2()
          Retrieves a duration.
 Duration getDuration3()
          Retrieves a duration.
 Duration getDuration4()
          Retrieves a duration.
 Duration getDuration5()
          Retrieves a duration.
 Duration getDuration6()
          Retrieves a duration.
 Duration getDuration7()
          Retrieves a duration.
 Duration getDuration8()
          Retrieves a duration.
 Duration getDuration9()
          Retrieves a duration.
 String getEmailAddress()
          Retrieves the resource's email address.
 boolean getEnterprise()
          Retrieves a flag indicating that a resource is an enterprise resource.
 Number getEnterpriseCost(int index)
          Retrieve an enterprise field value.
 Date getEnterpriseDate(int index)
          Retrieve an enterprise field value.
 Duration getEnterpriseDuration(int index)
          Retrieve an enterprise field value.
 boolean getEnterpriseFlag(int index)
          Retrieve an enterprise field value.
 Number getEnterpriseNumber(int index)
          Retrieve an enterprise field value.
 String getEnterpriseText(int index)
          Retrieve an enterprise field value.
 Object getFieldByAlias(String alias)
          Retrieve the value of a field using its alias.
 Date getFinish()
          Retrieves the latest finish date for all assigned tasks.
 Date getFinish1()
          Retrieves a finish date.
 Date getFinish10()
          Retrieves a finish date.
 Date getFinish2()
          Retrieves a finish date.
 Date getFinish3()
          Retrieves a finish date.
 Date getFinish4()
          Retrieves a finish date.
 Date getFinish5()
          Retrieves a finish date.
 Date getFinish6()
          Retrieves a finish date.
 Date getFinish7()
          Retrieves a finish date.
 Date getFinish8()
          Retrieves a finish date.
 Date getFinish9()
          Retrieves a finish date.
 boolean getFlag1()
          Retrieves the flag value.
 boolean getFlag10()
          Retrieves the flag value.
 boolean getFlag11()
          Retrieves the flag value.
 boolean getFlag12()
          Retrieves the flag value.
 boolean getFlag13()
          Retrieves the flag value.
 boolean getFlag14()
          Retrieves the flag value.
 boolean getFlag15()
          Retrieves the flag value.
 boolean getFlag16()
          Retrieves the flag value.
 boolean getFlag17()
          Retrieves the flag value.
 boolean getFlag18()
          Retrieves the flag value.
 boolean getFlag19()
          Retrieves the flag value.
 boolean getFlag2()
          Retrieves the flag value.
 boolean getFlag20()
          Retrieves the flag value.
 boolean getFlag3()
          Retrieves the flag value.
 boolean getFlag4()
          Retrieves the flag value.
 boolean getFlag5()
          Retrieves the flag value.
 boolean getFlag6()
          Retrieves the flag value.
 boolean getFlag7()
          Retrieves the flag value.
 boolean getFlag8()
          Retrieves the flag value.
 boolean getFlag9()
          Retrieves the flag value.
 boolean getGeneric()
          Retrieves the generic flag.
 String getGroup()
          Gets Group field value.
 UUID getGUID()
          Retrieves the resource GUID.
 String getHyperlink()
          Retrieves the hyperlink text.
 String getHyperlinkAddress()
          Retrieves the hyperlink address.
 String getHyperlinkSubAddress()
          Retrieves the hyperlink sub-address.
 Integer getID()
          Gets ID field value.
 boolean getInactive()
          Retrieves the inactive flag.
 String getInitials()
          Gets Initials of name field value.
 String getLinkedFields()
          Gets Linked Fields field value.
 String getMaterialLabel()
          Retrieves the units label for a material resource.
 Number getMaxUnits()
          Retrieves the maximum availability of a resource.
 String getName()
          Gets Resource Name field value.
 String getNotes()
          Retrieves the notes text for this resource.
 String getNtAccount()
          Retrieves the Windows account name for a resource.
 boolean getNull()
          Retrieve a flag indicating if this is a null resource.
 Number getNumber1()
          Retrieves a numeric value Note that this value is an extension to the MPX specification.
 Number getNumber10()
          Retrieves a numeric value.
 Number getNumber11()
          Retrieves a numeric value.
 Number getNumber12()
          Retrieves a numeric value.
 Number getNumber13()
          Retrieves a numeric value.
 Number getNumber14()
          Retrieves a numeric value.
 Number getNumber15()
          Retrieves a numeric value.
 Number getNumber16()
          Retrieves a numeric value.
 Number getNumber17()
          Retrieves a numeric value.
 Number getNumber18()
          Retrieves a numeric value.
 Number getNumber19()
          Retrieves a numeric value.
 Number getNumber2()
          Retrieves a numeric value Note that this value is an extension to the MPX specification.
 Number getNumber20()
          Retrieves a numeric value.
 Number getNumber3()
          Retrieves a numeric value Note that this value is an extension to the MPX specification.
 Number getNumber4()
          Retrieves a numeric value.
 Number getNumber5()
          Retrieves a numeric value.
 Number getNumber6()
          Retrieves a numeric value.
 Number getNumber7()
          Retrieves a numeric value.
 Number getNumber8()
          Retrieves a numeric value.
 Number getNumber9()
          Retrieves a numeric value.
 Integer getObjects()
          Gets objects field value.
 String getOutlineCode1()
          Retrieves the value of an outline code field.
 String getOutlineCode10()
          Retrieves the value of an outline code field.
 String getOutlineCode2()
          Retrieves the value of an outline code field.
 String getOutlineCode3()
          Retrieves the value of an outline code field.
 String getOutlineCode4()
          Retrieves the value of an outline code field.
 String getOutlineCode5()
          Retrieves the value of an outline code field.
 String getOutlineCode6()
          Retrieves the value of an outline code field.
 String getOutlineCode7()
          Retrieves the value of an outline code field.
 String getOutlineCode8()
          Retrieves the value of an outline code field.
 String getOutlineCode9()
          Retrieves the value of an outline code field.
 boolean getOverAllocated()
          Retrieves the overallocated flag.
 Number getOvertimeCost()
          Retrieve the value of the overtime cost field.
 Rate getOvertimeRate()
          Retrieves the overtime rate for this resource.
 TimeUnit getOvertimeRateUnits()
          Retrieves the format of the overtime rate.
 Duration getOvertimeWork()
          Retrieves the amount of overtime work.
 ProjectFile getParentFile()
          Accessor method allowing retrieval of ProjectFile reference.
 Number getPeakUnits()
          Retrieves the peak resource utilisation.
 Number getPercentWorkComplete()
          Retrieves the value of the percent work complete field.
 String getPhonetics()
          Retrieves phonetic information for the Japanese version of MS Project.
 Duration getRegularWork()
          Retrieve the value of the regular work field.
 Number getRemainingCost()
          Retrieves the remaining cost for this resource.
 Number getRemainingOvertimeCost()
          Retrieve the remaining overtime cost.
 Duration getRemainingOvertimeWork()
          Retrieve the value of the remaining overtime work field.
 Duration getRemainingWork()
          Gets Remaining Work field value.
 ProjectCalendar getResourceCalendar()
          This method retrieves the calendar associated with this resource.
 Rate getStandardRate()
          Gets Standard Rate field value.
 TimeUnit getStandardRateUnits()
          Retrieves the format of the standard rate.
 Date getStart()
          Retrieves the earliest start date for all assigned tasks.
 Date getStart1()
          Retrieves a start date.
 Date getStart10()
          Retrieves a start date.
 Date getStart2()
          Retrieves a start date.
 Date getStart3()
          Retrieves a start date.
 Date getStart4()
          Retrieves a start date.
 Date getStart5()
          Retrieves a start date.
 Date getStart6()
          Retrieves a start date.
 Date getStart7()
          Retrieves a start date.
 Date getStart8()
          Retrieves a start date.
 Date getStart9()
          Retrieves a start date.
 Integer getSubprojectResourceUniqueID()
          Where a resource in an MPP file represents a resource from a subproject, this value will be non-zero.
 Number getSV()
          Retrieve the schedule variance.
 List<ResourceAssignment> getTaskAssignments()
          Retrieve a list of tasks assigned to this resource.
 String getText1()
          Gets Text 1 field value.
 String getText10()
          Retrieves a text value.
 String getText11()
          Retrieves a text value.
 String getText12()
          Retrieves a text value.
 String getText13()
          Retrieves a text value.
 String getText14()
          Retrieves a text value.
 String getText15()
          Retrieves a text value.
 String getText16()
          Retrieves a text value.
 String getText17()
          Retrieves a text value.
 String getText18()
          Retrieves a text value.
 String getText19()
          Retrieves a text value.
 String getText2()
          Gets Text 2 field value.
 String getText20()
          Retrieves a text value.
 String getText21()
          Retrieves a text value.
 String getText22()
          Retrieves a text value.
 String getText23()
          Retrieves a text value.
 String getText24()
          Retrieves a text value.
 String getText25()
          Retrieves a text value.
 String getText26()
          Retrieves a text value.
 String getText27()
          Retrieves a text value.
 String getText28()
          Retrieves a text value.
 String getText29()
          Retrieves a text value.
 String getText3()
          Gets Text3 field value.
 String getText30()
          Retrieves a text value.
 String getText4()
          Gets Text 4 field value.
 String getText5()
          Gets Text 5 field value.
 String getText6()
          Retrieves a text value.
 String getText7()
          Retrieves a text value.
 String getText8()
          Retrieves a text value.
 String getText9()
          Retrieves a text value.
 ResourceType getType()
          Retrieves the resource type.
 Integer getUniqueID()
          Gets Unique ID field value.
 Duration getWork()
          Gets Work field value.
 WorkGroup getWorkGroup()
          Retrieve the messaging method used to communicate with a project team.
 Duration getWorkVariance()
          Retrieves the work variance.
 int hashCode()
          
 void remove()
          Removes this resource from the project.
 void removeFieldListener(FieldListener listener)
          Remove a listener.
 void set(FieldType field, Object value)
          Set a field value.
 void setAccrueAt(AccrueType type)
          Sets the Accrue at type.The Accrue At field provides choices for how and when resource standard and overtime costs are to be charged, or accrued, to the cost of a task.
 void setActualCost(Number actualCost)
          Set the actual cost for the work already performed by this resource.
 void setActualOvertimeCost(Number actualOvertimeCost)
          Sets the actual overtime cost.
 void setActualOvertimeWork(Duration duration)
          Sets the value of the actual overtime work field.
 void setActualOvertimeWorkProtected(Duration duration)
          Sets the actual overtime work protected duration.
 void setActualWork(Duration val)
          Sets the Actual Work field contains the amount of work that has already been done for all assignments assigned to a resource.
 void setActualWorkProtected(Duration duration)
          Sets the actual work protected duration.
 void setActveDirectoryGUID(String guid)
          Sets the active directory GUID for this resource.
 void setACWP(Number acwp)
          Set the actual cost of work performed.
 void setAvailableFrom(Date date)
          Set the "available from" date.
 void setAvailableTo(Date date)
          Set the "available to" date.
 void setBaseCalendar(String val)
          Sets the Base Calendar field indicates which calendar is the base calendar for a resource calendar.
 void setBaselineCost(int baselineNumber, Number value)
          Set a baseline value.
 void setBaselineCost(Number val)
          Sets the baseline cost.
 void setBaselineWork(Duration val)
          Sets the baseline work duration.
 void setBaselineWork(int baselineNumber, Duration value)
          Set a baseline value.
 void setBCWP(Number bcwp)
          Sets the budgeted cost of work performed.
 void setBCWS(Number bcws)
          Sets the budgeted cost of work scheduled.
 void setBookingType(BookingType bookingType)
          Sets the booking type.
 void setBudget(boolean budget)
          Set the budget flag.
 void setCanLevel(boolean canLevel)
          Sets the flag indicating if the resource levelling can be applied to this resource.
 void setCode(String val)
          Sets code field value.
 void setCost(Number cost)
          Sets the cost field value.
 void setCost1(Number number)
          Sets a cost value.
 void setCost10(Number number)
          Sets a cost value.
 void setCost2(Number number)
          Sets a cost value.
 void setCost3(Number number)
          Sets a cost value.
 void setCost4(Number number)
          Sets a cost value.
 void setCost5(Number number)
          Sets a cost value.
 void setCost6(Number number)
          Sets a cost value.
 void setCost7(Number number)
          Sets a cost value.
 void setCost8(Number number)
          Sets a cost value.
 void setCost9(Number number)
          Sets a cost value.
 void setCostPerUse(Number costPerUse)
          Set the cost per use.
 void setCostRateTable(int index, CostRateTable crt)
          Associates a complete cost rate table with the current resource.
 void setCostVariance(Number costVariance)
          Sets the cost variance.
 void setCreationDate(Date creationDate)
          Sets the creation date.
 void setCV(Number cv)
          Set the cost variance.
 void setDate1(Date date)
          Sets a date value.
 void setDate10(Date date)
          Sets a date value.
 void setDate2(Date date)
          Sets a date value.
 void setDate3(Date date)
          Sets a date value.
 void setDate4(Date date)
          Sets a date value.
 void setDate5(Date date)
          Sets a date value.
 void setDate6(Date date)
          Sets a date value.
 void setDate7(Date date)
          Sets a date value.
 void setDate8(Date date)
          Sets a date value.
 void setDate9(Date date)
          Sets a date value.
 void setDuration1(Duration duration)
          Sets a duration value.
 void setDuration10(Duration duration)
          Sets a duration value.
 void setDuration2(Duration duration)
          Sets a duration value.
 void setDuration3(Duration duration)
          Sets a duration value.
 void setDuration4(Duration duration)
          Sets a duration value.
 void setDuration5(Duration duration)
          Sets a duration value.
 void setDuration6(Duration duration)
          Sets a duration value.
 void setDuration7(Duration duration)
          Sets a duration value.
 void setDuration8(Duration duration)
          Sets a duration value.
 void setDuration9(Duration duration)
          Sets a duration value.
 void setEmailAddress(String emailAddress)
          Set the resource's email address.
 void setEnterpriseCost(int index, Number value)
          Set an enterprise field value.
 void setEnterpriseDate(int index, Date value)
          Set an enterprise field value.
 void setEnterpriseDuration(int index, Duration value)
          Set an enterprise field value.
 void setEnterpriseFlag(int index, boolean value)
          Set an enterprise field value.
 void setEnterpriseNumber(int index, Number value)
          Set an enterprise field value.
 void setEnterpriseText(int index, String value)
          Set an enterprise field value.
 void setFieldByAlias(String alias, Object value)
          Set the value of a field using its alias.
 void setFinish1(Date date)
          Sets a finish date.
 void setFinish10(Date date)
          Sets a finish date.
 void setFinish2(Date date)
          Sets a finish date.
 void setFinish3(Date date)
          Sets a finish date.
 void setFinish4(Date date)
          Sets a finish date.
 void setFinish5(Date date)
          Sets a finish date.
 void setFinish6(Date date)
          Sets a finish date.
 void setFinish7(Date date)
          Sets a finish date.
 void setFinish8(Date date)
          Sets a finish date.
 void setFinish9(Date date)
          Sets a finish date.
 void setFlag1(boolean b)
          Sets the flag value.
 void setFlag10(boolean b)
          Sets the flag value.
 void setFlag11(boolean b)
          Sets the flag value.
 void setFlag12(boolean b)
          Sets the flag value.
 void setFlag13(boolean b)
          Sets the flag value.
 void setFlag14(boolean b)
          Sets the flag value.
 void setFlag15(boolean b)
          Sets the flag value.
 void setFlag16(boolean b)
          Sets the flag value.
 void setFlag17(boolean b)
          Sets the flag value.
 void setFlag18(boolean b)
          Sets the flag value.
 void setFlag19(boolean b)
          Sets the flag value.
 void setFlag2(boolean b)
          Sets the flag value.
 void setFlag20(boolean b)
          Sets the flag value.
 void setFlag3(boolean b)
          Sets the flag value.
 void setFlag4(boolean b)
          Sets the flag value.
 void setFlag5(boolean b)
          Sets the flag value.
 void setFlag6(boolean b)
          Sets the flag value.
 void setFlag7(boolean b)
          Sets the flag value.
 void setFlag8(boolean b)
          Sets the flag value.
 void setFlag9(boolean b)
          Sets the flag value.
 void setGroup(String val)
          Sets Group field value.
 void setGUID(UUID value)
          Sets the resource GUID.
 void setHyperlink(String hyperlink)
          Sets the hyperlink text.
 void setHyperlinkAddress(String hyperlinkAddress)
          Sets the hyperlink address.
 void setHyperlinkSubAddress(String hyperlinkSubAddress)
          Sets the hyperlink sub-address.
 void setID(Integer val)
          Sets ID field value.
 void setInitials(String val)
          Sets Initials field value.
 void setIsEnterprise(boolean enterprise)
          Sets a flag indicating that a resource is an enterprise resource.
 void setIsGeneric(boolean isGeneric)
          Sets the generic flag.
 void setIsInactive(boolean isInactive)
          Sets the inactive flag.
 void setIsNull(boolean isNull)
          Set the flag indicating that this is a null resource.
 void setLinkedFields(String val)
          This field is ignored on import into MS Project.
 void setMaterialLabel(String materialLabel)
          Set the units label for a material resource.
 void setMaxUnits(Number maxUnits)
          Sets the maximum availability of a resource.
 void setName(String val)
          Sets Name field value.
 void setNotes(String notes)
          Sets the notes text for this resource.
 void setNtAccount(String ntAccount)
          Sets the Windows account name for a resource.
 void setNumber1(Number val)
          Sets a numeric value.
 void setNumber10(Number val)
          Sets a numeric value.
 void setNumber11(Number val)
          Sets a numeric value.
 void setNumber12(Number val)
          Sets a numeric value.
 void setNumber13(Number val)
          Sets a numeric value.
 void setNumber14(Number val)
          Sets a numeric value.
 void setNumber15(Number val)
          Sets a numeric value.
 void setNumber16(Number val)
          Sets a numeric value.
 void setNumber17(Number val)
          Sets a numeric value.
 void setNumber18(Number val)
          Sets a numeric value.
 void setNumber19(Number val)
          Sets a numeric value.
 void setNumber2(Number val)
          Sets a numeric value.
 void setNumber20(Number val)
          Sets a numeric value.
 void setNumber3(Number val)
          Sets a numeric value.
 void setNumber4(Number val)
          Sets a numeric value.
 void setNumber5(Number val)
          Sets a numeric value.
 void setNumber6(Number val)
          Sets a numeric value.
 void setNumber7(Number val)
          Sets a numeric value.
 void setNumber8(Number val)
          Sets a numeric value.
 void setNumber9(Number val)
          Sets a numeric value.
 void setObjects(Integer val)
          Set objects.
 void setOutlineCode1(String value)
          Sets the value of an outline code field.
 void setOutlineCode10(String value)
          Sets the value of an outline code field.
 void setOutlineCode2(String value)
          Sets the value of an outline code field.
 void setOutlineCode3(String value)
          Sets the value of an outline code field.
 void setOutlineCode4(String value)
          Sets the value of an outline code field.
 void setOutlineCode5(String value)
          Sets the value of an outline code field.
 void setOutlineCode6(String value)
          Sets the value of an outline code field.
 void setOutlineCode7(String value)
          Sets the value of an outline code field.
 void setOutlineCode8(String value)
          Sets the value of an outline code field.
 void setOutlineCode9(String value)
          Sets the value of an outline code field.
 void setOverAllocated(boolean overallocated)
          Set the overallocated flag.
 void setOvertimeCost(Number currency)
          Set the value of the overtime cost field.
 void setOvertimeRate(Rate overtimeRate)
          Sets the overtime rate for this resource.
 void setOvertimeRateUnits(TimeUnit units)
          Sets the format of the overtime rate.
 void setOvertimeWork(Duration overtimeWork)
          Sets the amount of overtime work.
 void setPeakUnits(Number peakUnits)
          Sets peak resource utilisation.
 void setPercentWorkComplete(Number percentWorkComplete)
          Sets the value of the percent work complete field.
 void setPhonetics(String phonetics)
          Sets phonetic information for the Japanese version of MS Project.
 void setRegularWork(Duration duration)
          Set the value of the regular work field.
 void setRemainingCost(Number remainingCost)
          Sets the remaining cost for this resource.
 void setRemainingOvertimeCost(Number remainingOvertimeCost)
          Set the remaining overtime cost.
 void setRemainingOvertimeWork(Duration duration)
          Sets the value of the remaining overtime work field.
 void setRemainingWork(Duration val)
          This field is ignored on import into MS Project.
 void setResourceCalendar(ProjectCalendar calendar)
          This method allows a pre-existing resource calendar to be attached to a resource.
 void setStandardRate(Rate val)
          Sets standard rate for this resource.
 void setStandardRateUnits(TimeUnit units)
          Sets the format of the standard rate.
 void setStart1(Date date)
          Sets a start date.
 void setStart10(Date date)
          Sets a start date.
 void setStart2(Date date)
          Sets a start date.
 void setStart3(Date date)
          Sets a start date.
 void setStart4(Date date)
          Sets a start date.
 void setStart5(Date date)
          Sets a start date.
 void setStart6(Date date)
          Sets a start date.
 void setStart7(Date date)
          Sets a start date.
 void setStart8(Date date)
          Sets a start date.
 void setStart9(Date date)
          Sets a start date.
 void setSubprojectResourceUniqueID(Integer subprojectUniqueResourceID)
          Sets the sub project unique resource ID.
 void setSV(Number sv)
          Set the schedule variance.
 void setText1(String val)
          Additional text.
 void setText10(String string)
          Sets a text value.
 void setText11(String string)
          Sets a text value.
 void setText12(String string)
          Sets a text value.
 void setText13(String string)
          Sets a text value.
 void setText14(String string)
          Sets a text value.
 void setText15(String string)
          Sets a text value.
 void setText16(String string)
          Sets a text value.
 void setText17(String string)
          Sets a text value.
 void setText18(String string)
          Sets a text value.
 void setText19(String string)
          Sets a text value.
 void setText2(String val)
          Additional text.
 void setText20(String string)
          Sets a text value.
 void setText21(String string)
          Sets a text value.
 void setText22(String string)
          Sets a text value.
 void setText23(String string)
          Sets a text value.
 void setText24(String string)
          Sets a text value.
 void setText25(String string)
          Sets a text value.
 void setText26(String string)
          Sets a text value.
 void setText27(String string)
          Sets a text value.
 void setText28(String string)
          Sets a text value.
 void setText29(String string)
          Sets a text value.
 void setText3(String val)
          Additional text.
 void setText30(String string)
          Sets a text value.
 void setText4(String val)
          Additional text.
 void setText5(String val)
          Additional text.
 void setText6(String string)
          Sets a text value.
 void setText7(String string)
          Sets a text value.
 void setText8(String string)
          Sets a text value.
 void setText9(String string)
          Sets a text value.
 void setType(ResourceType type)
          Set the resource type.
 void setUniqueID(Integer val)
          Sets Unique ID of this resource.
 void setWork(Duration val)
          This field is ignored on import into MS Project.
 void setWorkGroup(WorkGroup workGroup)
          Set the messaging method used to communicate with a project team.
 void setWorkVariance(Duration workVariance)
          Sets the work variance.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

setName

public void setName(String val)
Sets Name field value.

Parameters:
val - value

getName

public String getName()
Gets Resource Name field value.

Returns:
value

setType

public void setType(ResourceType type)
Set the resource type. Can be TYPE_MATERIAL, or TYPE_WORK.

Parameters:
type - resource type

getType

public ResourceType getType()
Retrieves the resource type. Can return TYPE_MATERIAL, or TYPE_WORK.

Returns:
resource type

setIsNull

public void setIsNull(boolean isNull)
Set the flag indicating that this is a null resource.

Parameters:
isNull - null resource flag

getNull

public boolean getNull()
Retrieve a flag indicating if this is a null resource.

Returns:
boolean flag

setInitials

public void setInitials(String val)
Sets Initials field value.

Parameters:
val - value

getInitials

public String getInitials()
Gets Initials of name field value.

Returns:
value

setPhonetics

public void setPhonetics(String phonetics)
Sets phonetic information for the Japanese version of MS Project.

Parameters:
phonetics - Japanese phonetic information

getPhonetics

public String getPhonetics()
Retrieves phonetic information for the Japanese version of MS Project.

Returns:
Japanese phonetic information

setNtAccount

public void setNtAccount(String ntAccount)
Sets the Windows account name for a resource.

Parameters:
ntAccount - windows account name

getNtAccount

public String getNtAccount()
Retrieves the Windows account name for a resource.

Returns:
windows account name

setMaterialLabel

public void setMaterialLabel(String materialLabel)
Set the units label for a material resource.

Parameters:
materialLabel - material resource units label

getMaterialLabel

public String getMaterialLabel()
Retrieves the units label for a material resource.

Returns:
material resource units label

setCode

public void setCode(String val)
Sets code field value.

Parameters:
val - value

getCode

public String getCode()
Gets code field value.

Returns:
value

setGroup

public void setGroup(String val)
Sets Group field value.

Parameters:
val - value

getGroup

public String getGroup()
Gets Group field value.

Returns:
value

setWorkGroup

public void setWorkGroup(WorkGroup workGroup)
Set the messaging method used to communicate with a project team.

Parameters:
workGroup - messaging method

getWorkGroup

public WorkGroup getWorkGroup()
Retrieve the messaging method used to communicate with a project team.

Returns:
messaging method

setEmailAddress

public void setEmailAddress(String emailAddress)
Set the resource's email address.

Parameters:
emailAddress - email address

getEmailAddress

public String getEmailAddress()
Retrieves the resource's email address.

Returns:
email address

setHyperlink

public void setHyperlink(String hyperlink)
Sets the hyperlink text.

Parameters:
hyperlink - hyperlink text

getHyperlink

public String getHyperlink()
Retrieves the hyperlink text.

Returns:
hyperlink text

setHyperlinkAddress

public void setHyperlinkAddress(String hyperlinkAddress)
Sets the hyperlink address.

Parameters:
hyperlinkAddress - hyperlink address

getHyperlinkAddress

public String getHyperlinkAddress()
Retrieves the hyperlink address.

Returns:
hyperlink address

setHyperlinkSubAddress

public void setHyperlinkSubAddress(String hyperlinkSubAddress)
Sets the hyperlink sub-address.

Parameters:
hyperlinkSubAddress - hyperlink sub-address

getHyperlinkSubAddress

public String getHyperlinkSubAddress()
Retrieves the hyperlink sub-address.

Returns:
hyperlink sub-address

setMaxUnits

public void setMaxUnits(Number maxUnits)
Sets the maximum availability of a resource.

Parameters:
maxUnits - maximum availability

getMaxUnits

public Number getMaxUnits()
Retrieves the maximum availability of a resource.

Returns:
maximum availability

setPeakUnits

public void setPeakUnits(Number peakUnits)
Sets peak resource utilisation.

Parameters:
peakUnits - peak resource utilisation

getPeakUnits

public Number getPeakUnits()
Retrieves the peak resource utilisation.

Returns:
peak resource utilisation

setOverAllocated

public void setOverAllocated(boolean overallocated)
Set the overallocated flag.

Parameters:
overallocated - overallocated flag

getOverAllocated

public boolean getOverAllocated()
Retrieves the overallocated flag.

Returns:
overallocated flag

getAvailableFrom

public Date getAvailableFrom()
Retrieves the "available from" date.

Returns:
available from date

setAvailableFrom

public void setAvailableFrom(Date date)
Set the "available from" date.

Parameters:
date - available from date

getAvailableTo

public Date getAvailableTo()
Retrieves the "available to" date.

Returns:
available from date

setAvailableTo

public void setAvailableTo(Date date)
Set the "available to" date.

Parameters:
date - available to date

getStart

public Date getStart()
Retrieves the earliest start date for all assigned tasks.

Returns:
start date

getFinish

public Date getFinish()
Retrieves the latest finish date for all assigned tasks.

Returns:
finish date

setCanLevel

public void setCanLevel(boolean canLevel)
Sets the flag indicating if the resource levelling can be applied to this resource.

Parameters:
canLevel - boolean flag

getCanLevel

public boolean getCanLevel()
Retrieves the flag indicating if the resource levelling can be applied to this resource.

Returns:
boolean flag

setAccrueAt

public void setAccrueAt(AccrueType type)
Sets the Accrue at type.The Accrue At field provides choices for how and when resource standard and overtime costs are to be charged, or accrued, to the cost of a task. The options are: Start, End and Prorated (Default)

Parameters:
type - accrue type

getAccrueAt

public AccrueType getAccrueAt()
Gets the Accrue at type.The Accrue At field provides choices for how and when resource standard and overtime costs are to be charged, or accrued, to the cost of a task. The options are: Start, End and Proraetd (Default)

Returns:
accrue type

setWork

public void setWork(Duration val)
This field is ignored on import into MS Project.

Parameters:
val - - value to be set

getWork

public Duration getWork()
Gets Work field value.

Returns:
value

getRegularWork

public Duration getRegularWork()
Retrieve the value of the regular work field. Note that this value is an extension to the MPX specification.

Returns:
Regular work value

setRegularWork

public void setRegularWork(Duration duration)
Set the value of the regular work field. Note that this value is an extension to the MPX specification.

Parameters:
duration - Regular work value

setActualWork

public void setActualWork(Duration val)
Sets the Actual Work field contains the amount of work that has already been done for all assignments assigned to a resource.

Parameters:
val - duration value

getActualWork

public Duration getActualWork()
Retrieves the Actual Work field contains the amount of work that has already been done for all assignments assigned to a resource.

Returns:
Actual work value

setOvertimeWork

public void setOvertimeWork(Duration overtimeWork)
Sets the amount of overtime work.

Parameters:
overtimeWork - overtime work

getOvertimeWork

public Duration getOvertimeWork()
Retrieves the amount of overtime work.

Returns:
overtime work

setRemainingWork

public void setRemainingWork(Duration val)
This field is ignored on import into MS Project.

Parameters:
val - - value to be set

getRemainingWork

public Duration getRemainingWork()
Gets Remaining Work field value.

Returns:
value

getActualOvertimeWork

public Duration getActualOvertimeWork()
Retrieve the value of the actual overtime work field.

Returns:
actual overtime work value

setActualOvertimeWork

public void setActualOvertimeWork(Duration duration)
Sets the value of the actual overtime work field.

Parameters:
duration - actual overtime work value

getRemainingOvertimeWork

public Duration getRemainingOvertimeWork()
Retrieve the value of the remaining overtime work field.

Returns:
remaining overtime work value

setRemainingOvertimeWork

public void setRemainingOvertimeWork(Duration duration)
Sets the value of the remaining overtime work field.

Parameters:
duration - remaining overtime work value

setPercentWorkComplete

public void setPercentWorkComplete(Number percentWorkComplete)
Sets the value of the percent work complete field.

Parameters:
percentWorkComplete - percent work complete

getPercentWorkComplete

public Number getPercentWorkComplete()
Retrieves the value of the percent work complete field.

Returns:
percent work complete

setStandardRate

public void setStandardRate(Rate val)
Sets standard rate for this resource.

Parameters:
val - value

getStandardRate

public Rate getStandardRate()
Gets Standard Rate field value.

Returns:
Rate

setStandardRateUnits

public void setStandardRateUnits(TimeUnit units)
Sets the format of the standard rate.

Parameters:
units - standard rate format

getStandardRateUnits

public TimeUnit getStandardRateUnits()
Retrieves the format of the standard rate.

Returns:
standard rate format

setCost

public void setCost(Number cost)
Sets the cost field value.

Parameters:
cost - cost field value

getCost

public Number getCost()
Retrieves the cost field value.

Returns:
cost field value

setOvertimeRate

public void setOvertimeRate(Rate overtimeRate)
Sets the overtime rate for this resource.

Parameters:
overtimeRate - overtime rate value

getOvertimeRate

public Rate getOvertimeRate()
Retrieves the overtime rate for this resource.

Returns:
overtime rate

setOvertimeRateUnits

public void setOvertimeRateUnits(TimeUnit units)
Sets the format of the overtime rate.

Parameters:
units - overtime rate format

getOvertimeRateUnits

public TimeUnit getOvertimeRateUnits()
Retrieves the format of the overtime rate.

Returns:
overtime rate format

getOvertimeCost

public Number getOvertimeCost()
Retrieve the value of the overtime cost field.

Returns:
Overtime cost value

setOvertimeCost

public void setOvertimeCost(Number currency)
Set the value of the overtime cost field.

Parameters:
currency - Overtime cost

setCostPerUse

public void setCostPerUse(Number costPerUse)
Set the cost per use.

Parameters:
costPerUse - cost per use

getCostPerUse

public Number getCostPerUse()
Retrieve the cost per use.

Returns:
cost per use

setActualCost

public void setActualCost(Number actualCost)
Set the actual cost for the work already performed by this resource.

Parameters:
actualCost - actual cost

getActualCost

public Number getActualCost()
Retrieves the actual cost for the work already performed by this resource.

Returns:
actual cost

getActualOvertimeCost

public Number getActualOvertimeCost()
Retrieve actual overtime cost.

Returns:
actual overtime cost

setActualOvertimeCost

public void setActualOvertimeCost(Number actualOvertimeCost)
Sets the actual overtime cost.

Parameters:
actualOvertimeCost - actual overtime cost

setRemainingCost

public void setRemainingCost(Number remainingCost)
Sets the remaining cost for this resource.

Parameters:
remainingCost - remaining cost

getRemainingCost

public Number getRemainingCost()
Retrieves the remaining cost for this resource.

Returns:
remaining cost

getRemainingOvertimeCost

public Number getRemainingOvertimeCost()
Retrieve the remaining overtime cost.

Returns:
remaining overtime cost

setRemainingOvertimeCost

public void setRemainingOvertimeCost(Number remainingOvertimeCost)
Set the remaining overtime cost.

Parameters:
remainingOvertimeCost - remaining overtime cost

setWorkVariance

public void setWorkVariance(Duration workVariance)
Sets the work variance.

Parameters:
workVariance - work variance

getWorkVariance

public Duration getWorkVariance()
Retrieves the work variance.

Returns:
work variance

setCostVariance

public void setCostVariance(Number costVariance)
Sets the cost variance.

Parameters:
costVariance - cost variance

getCostVariance

public Number getCostVariance()
Retrieves the cost variance.

Returns:
cost variance

setSV

public void setSV(Number sv)
Set the schedule variance.

Parameters:
sv - schedule variance

getSV

public Number getSV()
Retrieve the schedule variance.

Returns:
schedule variance

setCV

public void setCV(Number cv)
Set the cost variance.

Parameters:
cv - cost variance

getCV

public Number getCV()
Retrieve the cost variance.

Returns:
cost variance

setACWP

public void setACWP(Number acwp)
Set the actual cost of work performed.

Parameters:
acwp - actual cost of work performed

getACWP

public Number getACWP()
Set the actual cost of work performed.

Returns:
actual cost of work performed

setNotes

public void setNotes(String notes)
Sets the notes text for this resource.

Parameters:
notes - notes to be added

getNotes

public String getNotes()
Retrieves the notes text for this resource.

Returns:
notes text

setBCWS

public void setBCWS(Number bcws)
Sets the budgeted cost of work scheduled.

Parameters:
bcws - budgeted cost of work scheduled

getBCWS

public Number getBCWS()
Retrieves the budgeted cost of work scheduled.

Returns:
budgeted cost of work scheduled

setBCWP

public void setBCWP(Number bcwp)
Sets the budgeted cost of work performed.

Parameters:
bcwp - budgeted cost of work performed

getBCWP

public Number getBCWP()
Retrievesthe budgeted cost of work performed.

Returns:
budgeted cost of work performed

setIsGeneric

public void setIsGeneric(boolean isGeneric)
Sets the generic flag.

Parameters:
isGeneric - generic flag

getGeneric

public boolean getGeneric()
Retrieves the generic flag.

Returns:
generic flag

setIsInactive

public void setIsInactive(boolean isInactive)
Sets the inactive flag.

Parameters:
isInactive - inactive flag

getInactive

public boolean getInactive()
Retrieves the inactive flag.

Returns:
inactive flag

setActveDirectoryGUID

public void setActveDirectoryGUID(String guid)
Sets the active directory GUID for this resource.

Parameters:
guid - active directory GUID

getActiveDirectoryGUID

public String getActiveDirectoryGUID()
Retrieves the active directory GUID for this resource.

Returns:
active directory GUID

setActualOvertimeWorkProtected

public void setActualOvertimeWorkProtected(Duration duration)
Sets the actual overtime work protected duration.

Parameters:
duration - actual overtime work protected

getActualOvertimeWorkProtected

public Duration getActualOvertimeWorkProtected()
Retrieves the actual overtime work protected duration.

Returns:
actual overtime work protected

setActualWorkProtected

public void setActualWorkProtected(Duration duration)
Sets the actual work protected duration.

Parameters:
duration - actual work protected

getActualWorkProtected

public Duration getActualWorkProtected()
Retrieves the actual work protected duration.

Returns:
actual work protected

setBookingType

public void setBookingType(BookingType bookingType)
Sets the booking type.

Parameters:
bookingType - booking type

getBookingType

public BookingType getBookingType()
Retrieves the booking type.

Returns:
booking type

setCreationDate

public void setCreationDate(Date creationDate)
Sets the creation date.

Parameters:
creationDate - creation date

getCreationDate

public Date getCreationDate()
Retrieves the creation date.

Returns:
creation date

setIsEnterprise

public void setIsEnterprise(boolean enterprise)
Sets a flag indicating that a resource is an enterprise resource.

Parameters:
enterprise - boolean flag

getEnterprise

public boolean getEnterprise()
Retrieves a flag indicating that a resource is an enterprise resource.

Returns:
boolean flag

getResourceCalendar

public ProjectCalendar getResourceCalendar()
This method retrieves the calendar associated with this resource.

Returns:
ProjectCalendar instance

setResourceCalendar

public void setResourceCalendar(ProjectCalendar calendar)
This method allows a pre-existing resource calendar to be attached to a resource.

Parameters:
calendar - resource calendar

addResourceCalendar

public ProjectCalendar addResourceCalendar()
                                    throws MPXJException
This method allows a resource calendar to be added to a resource.

Returns:
ResourceCalendar
Throws:
MPXJException - if more than one calendar is added

setBaseCalendar

public void setBaseCalendar(String val)
Sets the Base Calendar field indicates which calendar is the base calendar for a resource calendar. The list includes the three built-in calendars, as well as any new base calendars you have created in the Change Working Time dialog box.

Parameters:
val - calendar name

setBaselineCost

public void setBaselineCost(Number val)
Sets the baseline cost. This field is ignored on import into MS Project

Parameters:
val - - value to be set

setBaselineWork

public void setBaselineWork(Duration val)
Sets the baseline work duration. This field is ignored on import into MS Project.

Parameters:
val - - value to be set

setID

public void setID(Integer val)
Sets ID field value.

Parameters:
val - value

setLinkedFields

public void setLinkedFields(String val)
This field is ignored on import into MS Project.

Parameters:
val - - value to be set

setObjects

public void setObjects(Integer val)
Set objects.

Parameters:
val - - value to be set

setText1

public void setText1(String val)
Additional text.

Parameters:
val - text to set

setText2

public void setText2(String val)
Additional text.

Parameters:
val - text to set

setText3

public void setText3(String val)
Additional text.

Parameters:
val - text to set

setText4

public void setText4(String val)
Additional text.

Parameters:
val - text to set

setText5

public void setText5(String val)
Additional text.

Parameters:
val - text to set

setUniqueID

public void setUniqueID(Integer val)
Sets Unique ID of this resource.

Parameters:
val - Unique ID

getBaseCalendar

public String getBaseCalendar()
Retrieves Base Calendar name associated with this resource. This field indicates which calendar is the base calendar for a resource calendar.

Returns:
Base calendar name

getBaselineCost

public Number getBaselineCost()
Retrieves the Baseline Cost value. This value is the total planned cost for a resource for all assigned tasks. Baseline cost is also referred to as budget at completion (BAC).

Returns:
Baseline cost value

getBaselineWork

public Duration getBaselineWork()
Retrieves the Baseline Work value.

Returns:
Baseline work value

getID

public Integer getID()
Gets ID field value.

Returns:
value

getLinkedFields

public String getLinkedFields()
Gets Linked Fields field value.

Returns:
value

getObjects

public Integer getObjects()
Gets objects field value.

Returns:
value

getText1

public String getText1()
Gets Text 1 field value.

Returns:
value

getText2

public String getText2()
Gets Text 2 field value.

Returns:
value

getText3

public String getText3()
Gets Text3 field value.

Returns:
value

getText4

public String getText4()
Gets Text 4 field value.

Returns:
value

getText5

public String getText5()
Gets Text 5 field value.

Returns:
value

getUniqueID

public Integer getUniqueID()
Gets Unique ID field value.

Returns:
value

getText6

public String getText6()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText7

public String getText7()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText8

public String getText8()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText9

public String getText9()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText10

public String getText10()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText11

public String getText11()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText12

public String getText12()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText13

public String getText13()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText14

public String getText14()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText15

public String getText15()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText16

public String getText16()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText17

public String getText17()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText18

public String getText18()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText19

public String getText19()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText20

public String getText20()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText21

public String getText21()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText22

public String getText22()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText23

public String getText23()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText24

public String getText24()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText25

public String getText25()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText26

public String getText26()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText27

public String getText27()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText28

public String getText28()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText29

public String getText29()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

getText30

public String getText30()
Retrieves a text value. Note that this value is an extension to the MPX specification.

Returns:
Text value

setText6

public void setText6(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText7

public void setText7(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText8

public void setText8(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText9

public void setText9(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText10

public void setText10(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText11

public void setText11(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText12

public void setText12(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText13

public void setText13(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText14

public void setText14(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText15

public void setText15(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText16

public void setText16(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText17

public void setText17(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText18

public void setText18(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText19

public void setText19(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText20

public void setText20(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText21

public void setText21(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText22

public void setText22(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText23

public void setText23(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText24

public void setText24(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText25

public void setText25(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText26

public void setText26(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText27

public void setText27(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText28

public void setText28(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText29

public void setText29(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

setText30

public void setText30(String string)
Sets a text value. Note that this value is an extension to the MPX specification.

Parameters:
string - Text value

getStart1

public Date getStart1()
Retrieves a start date. Note that this value is an extension to the MPX specification.

Returns:
Date start date

getStart2

public Date getStart2()
Retrieves a start date. Note that this value is an extension to the MPX specification.

Returns:
Date start date

getStart3

public Date getStart3()
Retrieves a start date. Note that this value is an extension to the MPX specification.

Returns:
Date start date

getStart4

public Date getStart4()
Retrieves a start date. Note that this value is an extension to the MPX specification.

Returns:
Date start date

getStart5

public Date getStart5()
Retrieves a start date. Note that this value is an extension to the MPX specification.

Returns:
Date start date

getStart6

public Date getStart6()
Retrieves a start date. Note that this value is an extension to the MPX specification.

Returns:
Date start date

getStart7

public Date getStart7()
Retrieves a start date. Note that this value is an extension to the MPX specification.

Returns:
Date start date

getStart8

public Date getStart8()
Retrieves a start date. Note that this value is an extension to the MPX specification.

Returns:
Date start date

getStart9

public Date getStart9()
Retrieves a start date. Note that this value is an extension to the MPX specification.

Returns:
Date start date

getStart10

public Date getStart10()
Retrieves a start date. Note that this value is an extension to the MPX specification.

Returns:
Date start date

setStart1

public void setStart1(Date date)
Sets a start date. Note that this value is an extension to the MPX specification.

Parameters:
date - Start date

setStart2

public void setStart2(Date date)
Sets a start date. Note that this value is an extension to the MPX specification.

Parameters:
date - Start date

setStart3

public void setStart3(Date date)
Sets a start date. Note that this value is an extension to the MPX specification.

Parameters:
date - Start date

setStart4

public void setStart4(Date date)
Sets a start date. Note that this value is an extension to the MPX specification.

Parameters:
date - Start date

setStart5

public void setStart5(Date date)
Sets a start date. Note that this value is an extension to the MPX specification.

Parameters:
date - Start date

setStart6

public void setStart6(Date date)
Sets a start date. Note that this value is an extension to the MPX specification.

Parameters:
date - Start date

setStart7

public void setStart7(Date date)
Sets a start date. Note that this value is an extension to the MPX specification.

Parameters:
date - Start date

setStart8

public void setStart8(Date date)
Sets a start date. Note that this value is an extension to the MPX specification.

Parameters:
date - Start date

setStart9

public void setStart9(Date date)
Sets a start date. Note that this value is an extension to the MPX specification.

Parameters:
date - Start date

setStart10

public void setStart10(Date date)
Sets a start date. Note that this value is an extension to the MPX specification.

Parameters:
date - Start date

getFinish1

public Date getFinish1()
Retrieves a finish date. Note that this value is an extension to the MPX specification.

Returns:
Date finish date

getFinish2

public Date getFinish2()
Retrieves a finish date. Note that this value is an extension to the MPX specification.

Returns:
Date finish date

getFinish3

public Date getFinish3()
Retrieves a finish date. Note that this value is an extension to the MPX specification.

Returns:
Date finish date

getFinish4

public Date getFinish4()
Retrieves a finish date. Note that this value is an extension to the MPX specification.

Returns:
Date finish date

getFinish5

public Date getFinish5()
Retrieves a finish date. Note that this value is an extension to the MPX specification.

Returns:
Date finish date

getFinish6

public Date getFinish6()
Retrieves a finish date. Note that this value is an extension to the MPX specification.

Returns:
Date finish date

getFinish7

public Date getFinish7()
Retrieves a finish date. Note that this value is an extension to the MPX specification.

Returns:
Date finish date

getFinish8

public Date getFinish8()
Retrieves a finish date. Note that this value is an extension to the MPX specification.

Returns:
Date finish date

getFinish9

public Date getFinish9()
Retrieves a finish date. Note that this value is an extension to the MPX specification.

Returns:
Date finish date

getFinish10

public Date getFinish10()
Retrieves a finish date. Note that this value is an extension to the MPX specification.

Returns:
Date finish date

setFinish1

public void setFinish1(Date date)
Sets a finish date. Note that this value is an extension to the MPX specification.

Parameters:
date - Finish date

setFinish2

public void setFinish2(Date date)
Sets a finish date. Note that this value is an extension to the MPX specification.

Parameters:
date - Finish date

setFinish3

public void setFinish3(Date date)
Sets a finish date. Note that this value is an extension to the MPX specification.

Parameters:
date - Finish date

setFinish4

public void setFinish4(Date date)
Sets a finish date. Note that this value is an extension to the MPX specification.

Parameters:
date - Finish date

setFinish5

public void setFinish5(Date date)
Sets a finish date. Note that this value is an extension to the MPX specification.

Parameters:
date - Finish date

setFinish6

public void setFinish6(Date date)
Sets a finish date. Note that this value is an extension to the MPX specification.

Parameters:
date - Finish date

setFinish7

public void setFinish7(Date date)
Sets a finish date. Note that this value is an extension to the MPX specification.

Parameters:
date - Finish date

setFinish8

public void setFinish8(Date date)
Sets a finish date. Note that this value is an extension to the MPX specification.

Parameters:
date - Finish date

setFinish9

public void setFinish9(Date date)
Sets a finish date. Note that this value is an extension to the MPX specification.

Parameters:
date - Finish date

setFinish10

public void setFinish10(Date date)
Sets a finish date. Note that this value is an extension to the MPX specification.

Parameters:
date - Finish date

setNumber1

public void setNumber1(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber1

public Number getNumber1()
Retrieves a numeric value Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber2

public void setNumber2(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber2

public Number getNumber2()
Retrieves a numeric value Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber3

public void setNumber3(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber3

public Number getNumber3()
Retrieves a numeric value Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber4

public void setNumber4(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber4

public Number getNumber4()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber5

public void setNumber5(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber5

public Number getNumber5()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber6

public void setNumber6(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber6

public Number getNumber6()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber7

public void setNumber7(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber7

public Number getNumber7()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber8

public void setNumber8(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber8

public Number getNumber8()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber9

public void setNumber9(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber9

public Number getNumber9()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber10

public void setNumber10(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber10

public Number getNumber10()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber11

public void setNumber11(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber11

public Number getNumber11()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber12

public void setNumber12(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber12

public Number getNumber12()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber13

public void setNumber13(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber13

public Number getNumber13()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber14

public void setNumber14(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber14

public Number getNumber14()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber15

public void setNumber15(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber15

public Number getNumber15()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber16

public void setNumber16(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber16

public Number getNumber16()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber17

public void setNumber17(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber17

public Number getNumber17()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber18

public void setNumber18(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber18

public Number getNumber18()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber19

public void setNumber19(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber19

public Number getNumber19()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

setNumber20

public void setNumber20(Number val)
Sets a numeric value. Note that this value is an extension to the MPX specification.

Parameters:
val - Numeric value

getNumber20

public Number getNumber20()
Retrieves a numeric value. Note that this value is an extension to the MPX specification.

Returns:
Numeric value

getDuration1

public Duration getDuration1()
Retrieves a duration. Note that this value is an extension to the MPX specification.

Returns:
Duration

getDuration2

public Duration getDuration2()
Retrieves a duration. Note that this value is an extension to the MPX specification.

Returns:
Duration

getDuration3

public Duration getDuration3()
Retrieves a duration. Note that this value is an extension to the MPX specification.

Returns:
Duration

getDuration4

public Duration getDuration4()
Retrieves a duration. Note that this value is an extension to the MPX specification.

Returns:
Duration

getDuration5

public Duration getDuration5()
Retrieves a duration. Note that this value is an extension to the MPX specification.

Returns:
Duration

getDuration6

public Duration getDuration6()
Retrieves a duration. Note that this value is an extension to the MPX specification.

Returns:
Duration

getDuration7

public Duration getDuration7()
Retrieves a duration. Note that this value is an extension to the MPX specification.

Returns:
Duration

getDuration8

public Duration getDuration8()
Retrieves a duration. Note that this value is an extension to the MPX specification.

Returns:
Duration

getDuration9

public Duration getDuration9()
Retrieves a duration. Note that this value is an extension to the MPX specification.

Returns:
Duration

getDuration10

public Duration getDuration10()
Retrieves a duration. Note that this value is an extension to the MPX specification.

Returns:
Duration

setDuration1

public void setDuration1(Duration duration)
Sets a duration value. Note that this value is an extension to the MPX specification.

Parameters:
duration - Duration value

setDuration2

public void setDuration2(Duration duration)
Sets a duration value. Note that this value is an extension to the MPX specification.

Parameters:
duration - Duration value

setDuration3

public void setDuration3(Duration duration)
Sets a duration value. Note that this value is an extension to the MPX specification.

Parameters:
duration - Duration value

setDuration4

public void setDuration4(Duration duration)
Sets a duration value. Note that this value is an extension to the MPX specification.

Parameters:
duration - Duration value

setDuration5

public void setDuration5(Duration duration)
Sets a duration value. Note that this value is an extension to the MPX specification.

Parameters:
duration - Duration value

setDuration6

public void setDuration6(Duration duration)
Sets a duration value. Note that this value is an extension to the MPX specification.

Parameters:
duration - Duration value

setDuration7

public void setDuration7(Duration duration)
Sets a duration value. Note that this value is an extension to the MPX specification.

Parameters:
duration - Duration value

setDuration8

public void setDuration8(Duration duration)
Sets a duration value. Note that this value is an extension to the MPX specification.

Parameters:
duration - Duration value

setDuration9

public void setDuration9(Duration duration)
Sets a duration value. Note that this value is an extension to the MPX specification.

Parameters:
duration - Duration value

setDuration10

public void setDuration10(Duration duration)
Sets a duration value. Note that this value is an extension to the MPX specification.

Parameters:
duration - Duration value

getDate1

public Date getDate1()
Retrieves a date value. Note that this value is an extension to the MPX specification.

Returns:
Date value

getDate10

public Date getDate10()
Retrieves a date value. Note that this value is an extension to the MPX specification.

Returns:
Date value

getDate2

public Date getDate2()
Retrieves a date value. Note that this value is an extension to the MPX specification.

Returns:
Date value

getDate3

public Date getDate3()
Retrieves a date value. Note that this value is an extension to the MPX specification.

Returns:
Date value

getDate4

public Date getDate4()
Retrieves a date value. Note that this value is an extension to the MPX specification.

Returns:
Date value

getDate5

public Date getDate5()
Retrieves a date value. Note that this value is an extension to the MPX specification.

Returns:
Date value

getDate6

public Date getDate6()
Retrieves a date value. Note that this value is an extension to the MPX specification.

Returns:
Date value

getDate7

public Date getDate7()
Retrieves a date value. Note that this value is an extension to the MPX specification.

Returns:
Date value

getDate8

public Date getDate8()
Retrieves a date value. Note that this value is an extension to the MPX specification.

Returns:
Date value

getDate9

public Date getDate9()
Retrieves a date value. Note that this value is an extension to the MPX specification.

Returns:
Date value

setDate1

public void setDate1(Date date)
Sets a date value. Note that this value is an extension to the MPX specification.

Parameters:
date - Date value

setDate10

public void setDate10(Date date)
Sets a date value. Note that this value is an extension to the MPX specification.

Parameters:
date - Date value

setDate2

public void setDate2(Date date)
Sets a date value. Note that this value is an extension to the MPX specification.

Parameters:
date - Date value

setDate3

public void setDate3(Date date)
Sets a date value. Note that this value is an extension to the MPX specification.

Parameters:
date - Date value

setDate4

public void setDate4(Date date)
Sets a date value. Note that this value is an extension to the MPX specification.

Parameters:
date - Date value

setDate5

public void setDate5(Date date)
Sets a date value. Note that this value is an extension to the MPX specification.

Parameters:
date - Date value

setDate6

public void setDate6(Date date)
Sets a date value. Note that this value is an extension to the MPX specification.

Parameters:
date - Date value

setDate7

public void setDate7(Date date)
Sets a date value. Note that this value is an extension to the MPX specification.

Parameters:
date - Date value

setDate8

public void setDate8(Date date)
Sets a date value. Note that this value is an extension to the MPX specification.

Parameters:
date - Date value

setDate9

public void setDate9(Date date)
Sets a date value. Note that this value is an extension to the MPX specification.

Parameters:
date - Date value

getCost1

public Number getCost1()
Retrieves a cost. Note that this value is an extension to the MPX specification.

Returns:
Cost value

getCost2

public Number getCost2()
Retrieves a cost. Note that this value is an extension to the MPX specification.

Returns:
Cost value

getCost3

public Number getCost3()
Retrieves a cost. Note that this value is an extension to the MPX specification.

Returns:
Cost value

getCost4

public Number getCost4()
Retrieves a cost. Note that this value is an extension to the MPX specification.

Returns:
Cost value

getCost5

public Number getCost5()
Retrieves a cost. Note that this value is an extension to the MPX specification.

Returns:
Cost value

getCost6

public Number getCost6()
Retrieves a cost. Note that this value is an extension to the MPX specification.

Returns:
Cost value

getCost7

public Number getCost7()
Retrieves a cost. Note that this value is an extension to the MPX specification.

Returns:
Cost value

getCost8

public Number getCost8()
Retrieves a cost. Note that this value is an extension to the MPX specification.

Returns:
Cost value

getCost9

public Number getCost9()
Retrieves a cost. Note that this value is an extension to the MPX specification.

Returns:
Cost value

getCost10

public Number getCost10()
Retrieves a cost. Note that this value is an extension to the MPX specification.

Returns:
Cost value

setCost1

public void setCost1(Number number)
Sets a cost value. Note that this value is an extension to the MPX specification.

Parameters:
number - Cost value

setCost2

public void setCost2(Number number)
Sets a cost value. Note that this value is an extension to the MPX specification.

Parameters:
number - Cost value

setCost3

public void setCost3(Number number)
Sets a cost value. Note that this value is an extension to the MPX specification.

Parameters:
number - Cost value

setCost4

public void setCost4(Number number)
Sets a cost value. Note that this value is an extension to the MPX specification.

Parameters:
number - Cost value

setCost5

public void setCost5(Number number)
Sets a cost value. Note that this value is an extension to the MPX specification.

Parameters:
number - Cost value

setCost6

public void setCost6(Number number)
Sets a cost value. Note that this value is an extension to the MPX specification.

Parameters:
number - Cost value

setCost7

public void setCost7(Number number)
Sets a cost value. Note that this value is an extension to the MPX specification.

Parameters:
number - Cost value

setCost8

public void setCost8(Number number)
Sets a cost value. Note that this value is an extension to the MPX specification.

Parameters:
number - Cost value

setCost9

public void setCost9(Number number)
Sets a cost value. Note that this value is an extension to the MPX specification.

Parameters:
number - Cost value

setCost10

public void setCost10(Number number)
Sets a cost value. Note that this value is an extension to the MPX specification.

Parameters:
number - Cost value

getFlag1

public boolean getFlag1()
Retrieves the flag value.

Returns:
flag value

getFlag2

public boolean getFlag2()
Retrieves the flag value.

Returns:
flag value

getFlag3

public boolean getFlag3()
Retrieves the flag value.

Returns:
flag value

getFlag4

public boolean getFlag4()
Retrieves the flag value.

Returns:
flag value

getFlag5

public boolean getFlag5()
Retrieves the flag value.

Returns:
flag value

getFlag6

public boolean getFlag6()
Retrieves the flag value.

Returns:
flag value

getFlag7

public boolean getFlag7()
Retrieves the flag value.

Returns:
flag value

getFlag8

public boolean getFlag8()
Retrieves the flag value.

Returns:
flag value

getFlag9

public boolean getFlag9()
Retrieves the flag value.

Returns:
flag value

getFlag10

public boolean getFlag10()
Retrieves the flag value.

Returns:
flag value

getFlag11

public boolean getFlag11()
Retrieves the flag value.

Returns:
flag value

getFlag12

public boolean getFlag12()
Retrieves the flag value.

Returns:
flag value

getFlag13

public boolean getFlag13()
Retrieves the flag value.

Returns:
flag value

getFlag14

public boolean getFlag14()
Retrieves the flag value.

Returns:
flag value

getFlag15

public boolean getFlag15()
Retrieves the flag value.

Returns:
flag value

getFlag16

public boolean getFlag16()
Retrieves the flag value.

Returns:
flag value

getFlag17

public boolean getFlag17()
Retrieves the flag value.

Returns:
flag value

getFlag18

public boolean getFlag18()
Retrieves the flag value.

Returns:
flag value

getFlag19

public boolean getFlag19()
Retrieves the flag value.

Returns:
flag value

getFlag20

public boolean getFlag20()
Retrieves the flag value.

Returns:
flag value

setFlag1

public void setFlag1(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag2

public void setFlag2(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag3

public void setFlag3(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag4

public void setFlag4(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag5

public void setFlag5(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag6

public void setFlag6(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag7

public void setFlag7(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag8

public void setFlag8(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag9

public void setFlag9(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag10

public void setFlag10(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag11

public void setFlag11(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag12

public void setFlag12(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag13

public void setFlag13(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag14

public void setFlag14(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag15

public void setFlag15(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag16

public void setFlag16(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag17

public void setFlag17(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag18

public void setFlag18(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag19

public void setFlag19(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag20

public void setFlag20(boolean b)
Sets the flag value.

Parameters:
b - flag value

setOutlineCode1

public void setOutlineCode1(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode1

public String getOutlineCode1()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode2

public void setOutlineCode2(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode2

public String getOutlineCode2()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode3

public void setOutlineCode3(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode3

public String getOutlineCode3()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode4

public void setOutlineCode4(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode4

public String getOutlineCode4()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode5

public void setOutlineCode5(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode5

public String getOutlineCode5()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode6

public void setOutlineCode6(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode6

public String getOutlineCode6()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode7

public void setOutlineCode7(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode7

public String getOutlineCode7()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode8

public void setOutlineCode8(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode8

public String getOutlineCode8()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode9

public void setOutlineCode9(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode9

public String getOutlineCode9()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode10

public void setOutlineCode10(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode10

public String getOutlineCode10()
Retrieves the value of an outline code field.

Returns:
outline code value

remove

public void remove()
Removes this resource from the project.


getFieldByAlias

public Object getFieldByAlias(String alias)
Retrieve the value of a field using its alias.

Parameters:
alias - field alias
Returns:
field value

setFieldByAlias

public void setFieldByAlias(String alias,
                            Object value)
Set the value of a field using its alias.

Parameters:
alias - field alias
value - field value

addResourceAssignment

public void addResourceAssignment(ResourceAssignment assignment)
This method is used internally within MPXJ to track tasks which are assigned to a particular resource.

Parameters:
assignment - resource assignment instance

getTaskAssignments

public List<ResourceAssignment> getTaskAssignments()
Retrieve a list of tasks assigned to this resource. Note that if this project data has been read from an MPX file which declared some or all of the resources assignments before the tasks and resources to which the assignments relate, then these assignments may not appear in this list. Caveat emptor!

Returns:
list of tasks assigned to this resource

getSubprojectResourceUniqueID

public Integer getSubprojectResourceUniqueID()
Where a resource in an MPP file represents a resource from a subproject, this value will be non-zero. The value itself is the unique ID value shown in the parent project. To retrieve the value of the resource unique ID in the child project, remove the top two bytes: resourceID = (subprojectUniqueID & 0xFFFF)

Returns:
sub project unique resource ID

setSubprojectResourceUniqueID

public void setSubprojectResourceUniqueID(Integer subprojectUniqueResourceID)
Sets the sub project unique resource ID.

Parameters:
subprojectUniqueResourceID - subproject unique resource ID

getEnterpriseCost

public Number getEnterpriseCost(int index)
Retrieve an enterprise field value.

Parameters:
index - field index
Returns:
field value

setEnterpriseCost

public void setEnterpriseCost(int index,
                              Number value)
Set an enterprise field value.

Parameters:
index - field index
value - field value

getEnterpriseDate

public Date getEnterpriseDate(int index)
Retrieve an enterprise field value.

Parameters:
index - field index
Returns:
field value

setEnterpriseDate

public void setEnterpriseDate(int index,
                              Date value)
Set an enterprise field value.

Parameters:
index - field index
value - field value

getEnterpriseDuration

public Duration getEnterpriseDuration(int index)
Retrieve an enterprise field value.

Parameters:
index - field index
Returns:
field value

setEnterpriseDuration

public void setEnterpriseDuration(int index,
                                  Duration value)
Set an enterprise field value.

Parameters:
index - field index
value - field value

getEnterpriseFlag

public boolean getEnterpriseFlag(int index)
Retrieve an enterprise field value.

Parameters:
index - field index
Returns:
field value

setEnterpriseFlag

public void setEnterpriseFlag(int index,
                              boolean value)
Set an enterprise field value.

Parameters:
index - field index
value - field value

getEnterpriseNumber

public Number getEnterpriseNumber(int index)
Retrieve an enterprise field value.

Parameters:
index - field index
Returns:
field value

setEnterpriseNumber

public void setEnterpriseNumber(int index,
                                Number value)
Set an enterprise field value.

Parameters:
index - field index
value - field value

getEnterpriseText

public String getEnterpriseText(int index)
Retrieve an enterprise field value.

Parameters:
index - field index
Returns:
field value

setEnterpriseText

public void setEnterpriseText(int index,
                              String value)
Set an enterprise field value.

Parameters:
index - field index
value - field value

setBaselineCost

public void setBaselineCost(int baselineNumber,
                            Number value)
Set a baseline value.

Parameters:
baselineNumber - baseline index (1-10)
value - baseline value

setBaselineWork

public void setBaselineWork(int baselineNumber,
                            Duration value)
Set a baseline value.

Parameters:
baselineNumber - baseline index (1-10)
value - baseline value

getBaselineCost

public Number getBaselineCost(int baselineNumber)
Retrieve a baseline value.

Parameters:
baselineNumber - baseline index (1-10)
Returns:
baseline value

getBaselineWork

public Duration getBaselineWork(int baselineNumber)
Retrieve a baseline value.

Parameters:
baselineNumber - baseline index (1-10)
Returns:
baseline value

getBudget

public boolean getBudget()
Retrieve the budget flag.

Returns:
budget flag

setBudget

public void setBudget(boolean budget)
Set the budget flag.

Parameters:
budget - budget flag

getGUID

public UUID getGUID()
Retrieves the resource GUID.

Returns:
resource GUID.

setGUID

public void setGUID(UUID value)
Sets the resource GUID.

Parameters:
value - resource GUID

setCostRateTable

public void setCostRateTable(int index,
                             CostRateTable crt)
Associates a complete cost rate table with the current resource. Note that the index corresponds with the letter label used by MS Project to identify each table. For example 0=Table A, 1=Table B, 2=Table C, and so on.

Parameters:
index - table index
crt - table instance

getCostRateTable

public CostRateTable getCostRateTable(int index)
Retrieves a cost rate table associated with a resource. Note that the index corresponds with the letter label used by MS Project to identify each table. For example 0=Table A, 1=Table B, 2=Table C, and so on.

Parameters:
index - table index
Returns:
table instance

getAvailability

public AvailabilityTable getAvailability()
Retrieve the availability table for this resource.

Returns:
availability table

getCachedValue

public Object getCachedValue(FieldType field)
Retrieve a field value. Use the cached value. Do not attempt to calculate a value if the cached value is null.

Specified by:
getCachedValue in interface FieldContainer
Parameters:
field - field identifier
Returns:
field value

getCurrentValue

public Object getCurrentValue(FieldType field)
Retrieve a field value. If the cached value is null, attempt to calculate the current value.

Specified by:
getCurrentValue in interface FieldContainer
Parameters:
field - field identifier
Returns:
field value

set

public void set(FieldType field,
                Object value)
Set a field value.

Specified by:
set in interface FieldContainer
Parameters:
field - field identifier
value - field value

addFieldListener

public void addFieldListener(FieldListener listener)
Add a listener to receive field events.

Specified by:
addFieldListener in interface FieldContainer
Parameters:
listener - target listener

removeFieldListener

public void removeFieldListener(FieldListener listener)
Remove a listener.

Specified by:
removeFieldListener in interface FieldContainer
Parameters:
listener - target listener

disableEvents

public void disableEvents()
Disable events firing when fields are updated.


enableEvents

public void enableEvents()
Enable events firing when fields are updated. This is the default state.


compareTo

public int compareTo(Resource o)
This method implements the only method in the Comparable interface. This allows Resources to be compared and sorted based on their ID value. Note that if the MPX/MPP file has been generated by MSP, the ID value will always be in the correct sequence. The Unique ID value will not necessarily be in the correct sequence as task insertions and deletions will change the order.

Specified by:
compareTo in interface Comparable<Resource>
Parameters:
o - object to compare this instance with
Returns:
result of comparison

equals

public boolean equals(Object o)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object

getParentFile

public final ProjectFile getParentFile()
Accessor method allowing retrieval of ProjectFile reference.

Returns:
reference to this the parent ProjectFile instance


Copyright © 2012. All Rights Reserved.