|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mpxj.Resource
public final class Resource
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 |
|---|
public void setName(String val)
val - valuepublic String getName()
public void setType(ResourceType type)
type - resource typepublic ResourceType getType()
public void setIsNull(boolean isNull)
isNull - null resource flagpublic boolean getNull()
public void setInitials(String val)
val - valuepublic String getInitials()
public void setPhonetics(String phonetics)
phonetics - Japanese phonetic informationpublic String getPhonetics()
public void setNtAccount(String ntAccount)
ntAccount - windows account namepublic String getNtAccount()
public void setMaterialLabel(String materialLabel)
materialLabel - material resource units labelpublic String getMaterialLabel()
public void setCode(String val)
val - valuepublic String getCode()
public void setGroup(String val)
val - valuepublic String getGroup()
public void setWorkGroup(WorkGroup workGroup)
workGroup - messaging methodpublic WorkGroup getWorkGroup()
public void setEmailAddress(String emailAddress)
emailAddress - email addresspublic String getEmailAddress()
public void setHyperlink(String hyperlink)
hyperlink - hyperlink textpublic String getHyperlink()
public void setHyperlinkAddress(String hyperlinkAddress)
hyperlinkAddress - hyperlink addresspublic String getHyperlinkAddress()
public void setHyperlinkSubAddress(String hyperlinkSubAddress)
hyperlinkSubAddress - hyperlink sub-addresspublic String getHyperlinkSubAddress()
public void setMaxUnits(Number maxUnits)
maxUnits - maximum availabilitypublic Number getMaxUnits()
public void setPeakUnits(Number peakUnits)
peakUnits - peak resource utilisationpublic Number getPeakUnits()
public void setOverAllocated(boolean overallocated)
overallocated - overallocated flagpublic boolean getOverAllocated()
public Date getAvailableFrom()
public void setAvailableFrom(Date date)
date - available from datepublic Date getAvailableTo()
public void setAvailableTo(Date date)
date - available to datepublic Date getStart()
public Date getFinish()
public void setCanLevel(boolean canLevel)
canLevel - boolean flagpublic boolean getCanLevel()
public void setAccrueAt(AccrueType type)
type - accrue typepublic AccrueType getAccrueAt()
public void setWork(Duration val)
val - - value to be setpublic Duration getWork()
public Duration getRegularWork()
public void setRegularWork(Duration duration)
duration - Regular work valuepublic void setActualWork(Duration val)
val - duration valuepublic Duration getActualWork()
public void setOvertimeWork(Duration overtimeWork)
overtimeWork - overtime workpublic Duration getOvertimeWork()
public void setRemainingWork(Duration val)
val - - value to be setpublic Duration getRemainingWork()
public Duration getActualOvertimeWork()
public void setActualOvertimeWork(Duration duration)
duration - actual overtime work valuepublic Duration getRemainingOvertimeWork()
public void setRemainingOvertimeWork(Duration duration)
duration - remaining overtime work valuepublic void setPercentWorkComplete(Number percentWorkComplete)
percentWorkComplete - percent work completepublic Number getPercentWorkComplete()
public void setStandardRate(Rate val)
val - valuepublic Rate getStandardRate()
public void setStandardRateUnits(TimeUnit units)
units - standard rate formatpublic TimeUnit getStandardRateUnits()
public void setCost(Number cost)
cost - cost field valuepublic Number getCost()
public void setOvertimeRate(Rate overtimeRate)
overtimeRate - overtime rate valuepublic Rate getOvertimeRate()
public void setOvertimeRateUnits(TimeUnit units)
units - overtime rate formatpublic TimeUnit getOvertimeRateUnits()
public Number getOvertimeCost()
public void setOvertimeCost(Number currency)
currency - Overtime costpublic void setCostPerUse(Number costPerUse)
costPerUse - cost per usepublic Number getCostPerUse()
public void setActualCost(Number actualCost)
actualCost - actual costpublic Number getActualCost()
public Number getActualOvertimeCost()
public void setActualOvertimeCost(Number actualOvertimeCost)
actualOvertimeCost - actual overtime costpublic void setRemainingCost(Number remainingCost)
remainingCost - remaining costpublic Number getRemainingCost()
public Number getRemainingOvertimeCost()
public void setRemainingOvertimeCost(Number remainingOvertimeCost)
remainingOvertimeCost - remaining overtime costpublic void setWorkVariance(Duration workVariance)
workVariance - work variancepublic Duration getWorkVariance()
public void setCostVariance(Number costVariance)
costVariance - cost variancepublic Number getCostVariance()
public void setSV(Number sv)
sv - schedule variancepublic Number getSV()
public void setCV(Number cv)
cv - cost variancepublic Number getCV()
public void setACWP(Number acwp)
acwp - actual cost of work performedpublic Number getACWP()
public void setNotes(String notes)
notes - notes to be addedpublic String getNotes()
public void setBCWS(Number bcws)
bcws - budgeted cost of work scheduledpublic Number getBCWS()
public void setBCWP(Number bcwp)
bcwp - budgeted cost of work performedpublic Number getBCWP()
public void setIsGeneric(boolean isGeneric)
isGeneric - generic flagpublic boolean getGeneric()
public void setIsInactive(boolean isInactive)
isInactive - inactive flagpublic boolean getInactive()
public void setActveDirectoryGUID(String guid)
guid - active directory GUIDpublic String getActiveDirectoryGUID()
public void setActualOvertimeWorkProtected(Duration duration)
duration - actual overtime work protectedpublic Duration getActualOvertimeWorkProtected()
public void setActualWorkProtected(Duration duration)
duration - actual work protectedpublic Duration getActualWorkProtected()
public void setBookingType(BookingType bookingType)
bookingType - booking typepublic BookingType getBookingType()
public void setCreationDate(Date creationDate)
creationDate - creation datepublic Date getCreationDate()
public void setIsEnterprise(boolean enterprise)
enterprise - boolean flagpublic boolean getEnterprise()
public ProjectCalendar getResourceCalendar()
public void setResourceCalendar(ProjectCalendar calendar)
calendar - resource calendar
public ProjectCalendar addResourceCalendar()
throws MPXJException
MPXJException - if more than one calendar is addedpublic void setBaseCalendar(String val)
val - calendar namepublic void setBaselineCost(Number val)
val - - value to be setpublic void setBaselineWork(Duration val)
val - - value to be setpublic void setID(Integer val)
val - valuepublic void setLinkedFields(String val)
val - - value to be setpublic void setObjects(Integer val)
val - - value to be setpublic void setText1(String val)
val - text to setpublic void setText2(String val)
val - text to setpublic void setText3(String val)
val - text to setpublic void setText4(String val)
val - text to setpublic void setText5(String val)
val - text to setpublic void setUniqueID(Integer val)
val - Unique IDpublic String getBaseCalendar()
public Number getBaselineCost()
public Duration getBaselineWork()
public Integer getID()
public String getLinkedFields()
public Integer getObjects()
public String getText1()
public String getText2()
public String getText3()
public String getText4()
public String getText5()
public Integer getUniqueID()
public String getText6()
public String getText7()
public String getText8()
public String getText9()
public String getText10()
public String getText11()
public String getText12()
public String getText13()
public String getText14()
public String getText15()
public String getText16()
public String getText17()
public String getText18()
public String getText19()
public String getText20()
public String getText21()
public String getText22()
public String getText23()
public String getText24()
public String getText25()
public String getText26()
public String getText27()
public String getText28()
public String getText29()
public String getText30()
public void setText6(String string)
string - Text valuepublic void setText7(String string)
string - Text valuepublic void setText8(String string)
string - Text valuepublic void setText9(String string)
string - Text valuepublic void setText10(String string)
string - Text valuepublic void setText11(String string)
string - Text valuepublic void setText12(String string)
string - Text valuepublic void setText13(String string)
string - Text valuepublic void setText14(String string)
string - Text valuepublic void setText15(String string)
string - Text valuepublic void setText16(String string)
string - Text valuepublic void setText17(String string)
string - Text valuepublic void setText18(String string)
string - Text valuepublic void setText19(String string)
string - Text valuepublic void setText20(String string)
string - Text valuepublic void setText21(String string)
string - Text valuepublic void setText22(String string)
string - Text valuepublic void setText23(String string)
string - Text valuepublic void setText24(String string)
string - Text valuepublic void setText25(String string)
string - Text valuepublic void setText26(String string)
string - Text valuepublic void setText27(String string)
string - Text valuepublic void setText28(String string)
string - Text valuepublic void setText29(String string)
string - Text valuepublic void setText30(String string)
string - Text valuepublic Date getStart1()
public Date getStart2()
public Date getStart3()
public Date getStart4()
public Date getStart5()
public Date getStart6()
public Date getStart7()
public Date getStart8()
public Date getStart9()
public Date getStart10()
public void setStart1(Date date)
date - Start datepublic void setStart2(Date date)
date - Start datepublic void setStart3(Date date)
date - Start datepublic void setStart4(Date date)
date - Start datepublic void setStart5(Date date)
date - Start datepublic void setStart6(Date date)
date - Start datepublic void setStart7(Date date)
date - Start datepublic void setStart8(Date date)
date - Start datepublic void setStart9(Date date)
date - Start datepublic void setStart10(Date date)
date - Start datepublic Date getFinish1()
public Date getFinish2()
public Date getFinish3()
public Date getFinish4()
public Date getFinish5()
public Date getFinish6()
public Date getFinish7()
public Date getFinish8()
public Date getFinish9()
public Date getFinish10()
public void setFinish1(Date date)
date - Finish datepublic void setFinish2(Date date)
date - Finish datepublic void setFinish3(Date date)
date - Finish datepublic void setFinish4(Date date)
date - Finish datepublic void setFinish5(Date date)
date - Finish datepublic void setFinish6(Date date)
date - Finish datepublic void setFinish7(Date date)
date - Finish datepublic void setFinish8(Date date)
date - Finish datepublic void setFinish9(Date date)
date - Finish datepublic void setFinish10(Date date)
date - Finish datepublic void setNumber1(Number val)
val - Numeric valuepublic Number getNumber1()
public void setNumber2(Number val)
val - Numeric valuepublic Number getNumber2()
public void setNumber3(Number val)
val - Numeric valuepublic Number getNumber3()
public void setNumber4(Number val)
val - Numeric valuepublic Number getNumber4()
public void setNumber5(Number val)
val - Numeric valuepublic Number getNumber5()
public void setNumber6(Number val)
val - Numeric valuepublic Number getNumber6()
public void setNumber7(Number val)
val - Numeric valuepublic Number getNumber7()
public void setNumber8(Number val)
val - Numeric valuepublic Number getNumber8()
public void setNumber9(Number val)
val - Numeric valuepublic Number getNumber9()
public void setNumber10(Number val)
val - Numeric valuepublic Number getNumber10()
public void setNumber11(Number val)
val - Numeric valuepublic Number getNumber11()
public void setNumber12(Number val)
val - Numeric valuepublic Number getNumber12()
public void setNumber13(Number val)
val - Numeric valuepublic Number getNumber13()
public void setNumber14(Number val)
val - Numeric valuepublic Number getNumber14()
public void setNumber15(Number val)
val - Numeric valuepublic Number getNumber15()
public void setNumber16(Number val)
val - Numeric valuepublic Number getNumber16()
public void setNumber17(Number val)
val - Numeric valuepublic Number getNumber17()
public void setNumber18(Number val)
val - Numeric valuepublic Number getNumber18()
public void setNumber19(Number val)
val - Numeric valuepublic Number getNumber19()
public void setNumber20(Number val)
val - Numeric valuepublic Number getNumber20()
public Duration getDuration1()
public Duration getDuration2()
public Duration getDuration3()
public Duration getDuration4()
public Duration getDuration5()
public Duration getDuration6()
public Duration getDuration7()
public Duration getDuration8()
public Duration getDuration9()
public Duration getDuration10()
public void setDuration1(Duration duration)
duration - Duration valuepublic void setDuration2(Duration duration)
duration - Duration valuepublic void setDuration3(Duration duration)
duration - Duration valuepublic void setDuration4(Duration duration)
duration - Duration valuepublic void setDuration5(Duration duration)
duration - Duration valuepublic void setDuration6(Duration duration)
duration - Duration valuepublic void setDuration7(Duration duration)
duration - Duration valuepublic void setDuration8(Duration duration)
duration - Duration valuepublic void setDuration9(Duration duration)
duration - Duration valuepublic void setDuration10(Duration duration)
duration - Duration valuepublic Date getDate1()
public Date getDate10()
public Date getDate2()
public Date getDate3()
public Date getDate4()
public Date getDate5()
public Date getDate6()
public Date getDate7()
public Date getDate8()
public Date getDate9()
public void setDate1(Date date)
date - Date valuepublic void setDate10(Date date)
date - Date valuepublic void setDate2(Date date)
date - Date valuepublic void setDate3(Date date)
date - Date valuepublic void setDate4(Date date)
date - Date valuepublic void setDate5(Date date)
date - Date valuepublic void setDate6(Date date)
date - Date valuepublic void setDate7(Date date)
date - Date valuepublic void setDate8(Date date)
date - Date valuepublic void setDate9(Date date)
date - Date valuepublic Number getCost1()
public Number getCost2()
public Number getCost3()
public Number getCost4()
public Number getCost5()
public Number getCost6()
public Number getCost7()
public Number getCost8()
public Number getCost9()
public Number getCost10()
public void setCost1(Number number)
number - Cost valuepublic void setCost2(Number number)
number - Cost valuepublic void setCost3(Number number)
number - Cost valuepublic void setCost4(Number number)
number - Cost valuepublic void setCost5(Number number)
number - Cost valuepublic void setCost6(Number number)
number - Cost valuepublic void setCost7(Number number)
number - Cost valuepublic void setCost8(Number number)
number - Cost valuepublic void setCost9(Number number)
number - Cost valuepublic void setCost10(Number number)
number - Cost valuepublic boolean getFlag1()
public boolean getFlag2()
public boolean getFlag3()
public boolean getFlag4()
public boolean getFlag5()
public boolean getFlag6()
public boolean getFlag7()
public boolean getFlag8()
public boolean getFlag9()
public boolean getFlag10()
public boolean getFlag11()
public boolean getFlag12()
public boolean getFlag13()
public boolean getFlag14()
public boolean getFlag15()
public boolean getFlag16()
public boolean getFlag17()
public boolean getFlag18()
public boolean getFlag19()
public boolean getFlag20()
public void setFlag1(boolean b)
b - flag valuepublic void setFlag2(boolean b)
b - flag valuepublic void setFlag3(boolean b)
b - flag valuepublic void setFlag4(boolean b)
b - flag valuepublic void setFlag5(boolean b)
b - flag valuepublic void setFlag6(boolean b)
b - flag valuepublic void setFlag7(boolean b)
b - flag valuepublic void setFlag8(boolean b)
b - flag valuepublic void setFlag9(boolean b)
b - flag valuepublic void setFlag10(boolean b)
b - flag valuepublic void setFlag11(boolean b)
b - flag valuepublic void setFlag12(boolean b)
b - flag valuepublic void setFlag13(boolean b)
b - flag valuepublic void setFlag14(boolean b)
b - flag valuepublic void setFlag15(boolean b)
b - flag valuepublic void setFlag16(boolean b)
b - flag valuepublic void setFlag17(boolean b)
b - flag valuepublic void setFlag18(boolean b)
b - flag valuepublic void setFlag19(boolean b)
b - flag valuepublic void setFlag20(boolean b)
b - flag valuepublic void setOutlineCode1(String value)
value - outline code valuepublic String getOutlineCode1()
public void setOutlineCode2(String value)
value - outline code valuepublic String getOutlineCode2()
public void setOutlineCode3(String value)
value - outline code valuepublic String getOutlineCode3()
public void setOutlineCode4(String value)
value - outline code valuepublic String getOutlineCode4()
public void setOutlineCode5(String value)
value - outline code valuepublic String getOutlineCode5()
public void setOutlineCode6(String value)
value - outline code valuepublic String getOutlineCode6()
public void setOutlineCode7(String value)
value - outline code valuepublic String getOutlineCode7()
public void setOutlineCode8(String value)
value - outline code valuepublic String getOutlineCode8()
public void setOutlineCode9(String value)
value - outline code valuepublic String getOutlineCode9()
public void setOutlineCode10(String value)
value - outline code valuepublic String getOutlineCode10()
public void remove()
public Object getFieldByAlias(String alias)
alias - field alias
public void setFieldByAlias(String alias,
Object value)
alias - field aliasvalue - field valuepublic void addResourceAssignment(ResourceAssignment assignment)
assignment - resource assignment instancepublic List<ResourceAssignment> getTaskAssignments()
public Integer getSubprojectResourceUniqueID()
public void setSubprojectResourceUniqueID(Integer subprojectUniqueResourceID)
subprojectUniqueResourceID - subproject unique resource IDpublic Number getEnterpriseCost(int index)
index - field index
public void setEnterpriseCost(int index,
Number value)
index - field indexvalue - field valuepublic Date getEnterpriseDate(int index)
index - field index
public void setEnterpriseDate(int index,
Date value)
index - field indexvalue - field valuepublic Duration getEnterpriseDuration(int index)
index - field index
public void setEnterpriseDuration(int index,
Duration value)
index - field indexvalue - field valuepublic boolean getEnterpriseFlag(int index)
index - field index
public void setEnterpriseFlag(int index,
boolean value)
index - field indexvalue - field valuepublic Number getEnterpriseNumber(int index)
index - field index
public void setEnterpriseNumber(int index,
Number value)
index - field indexvalue - field valuepublic String getEnterpriseText(int index)
index - field index
public void setEnterpriseText(int index,
String value)
index - field indexvalue - field value
public void setBaselineCost(int baselineNumber,
Number value)
baselineNumber - baseline index (1-10)value - baseline value
public void setBaselineWork(int baselineNumber,
Duration value)
baselineNumber - baseline index (1-10)value - baseline valuepublic Number getBaselineCost(int baselineNumber)
baselineNumber - baseline index (1-10)
public Duration getBaselineWork(int baselineNumber)
baselineNumber - baseline index (1-10)
public boolean getBudget()
public void setBudget(boolean budget)
budget - budget flagpublic UUID getGUID()
public void setGUID(UUID value)
value - resource GUID
public void setCostRateTable(int index,
CostRateTable crt)
index - table indexcrt - table instancepublic CostRateTable getCostRateTable(int index)
index - table index
public AvailabilityTable getAvailability()
public Object getCachedValue(FieldType field)
getCachedValue in interface FieldContainerfield - field identifier
public Object getCurrentValue(FieldType field)
getCurrentValue in interface FieldContainerfield - field identifier
public void set(FieldType field,
Object value)
set in interface FieldContainerfield - field identifiervalue - field valuepublic void addFieldListener(FieldListener listener)
addFieldListener in interface FieldContainerlistener - target listenerpublic void removeFieldListener(FieldListener listener)
removeFieldListener in interface FieldContainerlistener - target listenerpublic void disableEvents()
public void enableEvents()
public int compareTo(Resource o)
compareTo in interface Comparable<Resource>o - object to compare this instance with
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic final ProjectFile getParentFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||