Class ResourceAssignment

java.lang.Object
com.aspose.tasks.cloud.model.ResourceAssignment

public class ResourceAssignment extends Object
Represents a resource assignment in a project.
  • Constructor Details

    • ResourceAssignment

      public ResourceAssignment()
  • Method Details

    • taskUid

      public ResourceAssignment taskUid(Integer taskUid)
    • getTaskUid

      public Integer getTaskUid()
      Returns or sets a task unique id to which a resource is assigned.
      Returns:
      taskUid
    • setTaskUid

      public void setTaskUid(Integer taskUid)
    • resourceUid

      public ResourceAssignment resourceUid(Integer resourceUid)
    • getResourceUid

      public Integer getResourceUid()
      Returns or sets a resource unique id assigned to a task.
      Returns:
      resourceUid
    • setResourceUid

      public void setResourceUid(Integer resourceUid)
    • guid

      public ResourceAssignment guid(String guid)
    • getGuid

      public String getGuid()
      Returns or sets the global unique identifier of an assignment.
      Returns:
      guid
    • setGuid

      public void setGuid(String guid)
    • uid

      public ResourceAssignment uid(Integer uid)
    • getUid

      public Integer getUid()
      Returns or sets the unique identifier of an assignment.
      Returns:
      uid
    • setUid

      public void setUid(Integer uid)
    • percentWorkComplete

      public ResourceAssignment percentWorkComplete(Integer percentWorkComplete)
    • getPercentWorkComplete

      public Integer getPercentWorkComplete()
      Returns or sets the amount of a work completed on an assignment.
      Returns:
      percentWorkComplete
    • setPercentWorkComplete

      public void setPercentWorkComplete(Integer percentWorkComplete)
    • actualCost

      public ResourceAssignment actualCost(BigDecimal actualCost)
    • getActualCost

      public BigDecimal getActualCost()
      Returns or sets the actual cost incurred on an assignment.
      Returns:
      actualCost
    • setActualCost

      public void setActualCost(BigDecimal actualCost)
    • actualFinish

      public ResourceAssignment actualFinish(org.threeten.bp.OffsetDateTime actualFinish)
    • getActualFinish

      public org.threeten.bp.OffsetDateTime getActualFinish()
      Returns or sets the actual finish date of an assignment.
      Returns:
      actualFinish
    • setActualFinish

      public void setActualFinish(org.threeten.bp.OffsetDateTime actualFinish)
    • actualOvertimeCost

      public ResourceAssignment actualOvertimeCost(BigDecimal actualOvertimeCost)
    • getActualOvertimeCost

      public BigDecimal getActualOvertimeCost()
      Returns or sets the actual overtime cost incurred on an assignment.
      Returns:
      actualOvertimeCost
    • setActualOvertimeCost

      public void setActualOvertimeCost(BigDecimal actualOvertimeCost)
    • actualOvertimeWork

      public ResourceAssignment actualOvertimeWork(String actualOvertimeWork)
    • getActualOvertimeWork

      public String getActualOvertimeWork()
      Returns or sets the actual amount of an overtime work incurred on an assignment.
      Returns:
      actualOvertimeWork
    • setActualOvertimeWork

      public void setActualOvertimeWork(String actualOvertimeWork)
    • actualStart

      public ResourceAssignment actualStart(org.threeten.bp.OffsetDateTime actualStart)
    • getActualStart

      public org.threeten.bp.OffsetDateTime getActualStart()
      Returns or sets the actual start date of an assignment.
      Returns:
      actualStart
    • setActualStart

      public void setActualStart(org.threeten.bp.OffsetDateTime actualStart)
    • actualWork

      public ResourceAssignment actualWork(String actualWork)
    • getActualWork

      public String getActualWork()
      Returns or sets the actual amount of a work incurred on an assignment.
      Returns:
      actualWork
    • setActualWork

      public void setActualWork(String actualWork)
    • acwp

      public ResourceAssignment acwp(Double acwp)
    • getAcwp

      public Double getAcwp()
      Returns or sets the actual cost of a work performed on an assignment to-date.
      Returns:
      acwp
    • setAcwp

      public void setAcwp(Double acwp)
    • confirmed

      public ResourceAssignment confirmed(Boolean confirmed)
    • isConfirmed

      public Boolean isConfirmed()
      Determines whether a resource has accepted all of its assignments.
      Returns:
      confirmed
    • setConfirmed

      public void setConfirmed(Boolean confirmed)
    • cost

      public ResourceAssignment cost(BigDecimal cost)
    • getCost

      public BigDecimal getCost()
      Returns or sets the projected or scheduled cost of an assignment.
      Returns:
      cost
    • setCost

      public void setCost(BigDecimal cost)
    • costRateTableType

      public ResourceAssignment costRateTableType(RateType costRateTableType)
    • getCostRateTableType

      public RateType getCostRateTableType()
      Returns or sets the cost rate table used for this assignment.
      Returns:
      costRateTableType
    • setCostRateTableType

      public void setCostRateTableType(RateType costRateTableType)
    • costVariance

      public ResourceAssignment costVariance(Double costVariance)
    • getCostVariance

      public Double getCostVariance()
      Returns or sets the difference between the cost and baseline cost of a resource.
      Returns:
      costVariance
    • setCostVariance

      public void setCostVariance(Double costVariance)
    • cv

      public ResourceAssignment cv(Double cv)
    • getCv

      public Double getCv()
      Returns or sets the earned value cost variance.
      Returns:
      cv
    • setCv

      public void setCv(Double cv)
    • delay

      public ResourceAssignment delay(Integer delay)
    • getDelay

      public Integer getDelay()
      Returns or sets the delay of an assignment.
      Returns:
      delay
    • setDelay

      public void setDelay(Integer delay)
    • finish

      public ResourceAssignment finish(org.threeten.bp.OffsetDateTime finish)
    • getFinish

      public org.threeten.bp.OffsetDateTime getFinish()
      Returns or sets the scheduled finish date of an assignment.
      Returns:
      finish
    • setFinish

      public void setFinish(org.threeten.bp.OffsetDateTime finish)
    • finishVariance

      public ResourceAssignment finishVariance(Integer finishVariance)
    • getFinishVariance

      public Integer getFinishVariance()
      Returns or sets the variance of an assignment finish date from a baseline finish date.
      Returns:
      finishVariance
    • setFinishVariance

      public void setFinishVariance(Integer finishVariance)
    • hyperlink

      public ResourceAssignment hyperlink(String hyperlink)
    • getHyperlink

      public String getHyperlink()
      Returns or sets the title of the hyperlink associated with an assignment.
      Returns:
      hyperlink
    • setHyperlink

      public void setHyperlink(String hyperlink)
    • hyperlinkAddress

      public ResourceAssignment hyperlinkAddress(String hyperlinkAddress)
    • getHyperlinkAddress

      public String getHyperlinkAddress()
      Returns or sets the hyperlink associated with an assignment.
      Returns:
      hyperlinkAddress
    • setHyperlinkAddress

      public void setHyperlinkAddress(String hyperlinkAddress)
    • hyperlinkSubAddress

      public ResourceAssignment hyperlinkSubAddress(String hyperlinkSubAddress)
    • getHyperlinkSubAddress

      public String getHyperlinkSubAddress()
      Returns or sets the document bookmark of the hyperlink associated with an assignment.
      Returns:
      hyperlinkSubAddress
    • setHyperlinkSubAddress

      public void setHyperlinkSubAddress(String hyperlinkSubAddress)
    • workVariance

      public ResourceAssignment workVariance(Double workVariance)
    • getWorkVariance

      public Double getWorkVariance()
      Returns or sets the variance of an assignment work from the baseline work as minutes.
      Returns:
      workVariance
    • setWorkVariance

      public void setWorkVariance(Double workVariance)
    • hasFixedRateUnits

      public ResourceAssignment hasFixedRateUnits(Boolean hasFixedRateUnits)
    • isHasFixedRateUnits

      public Boolean isHasFixedRateUnits()
      Determines whether the Units have Fixed Rate.
      Returns:
      hasFixedRateUnits
    • setHasFixedRateUnits

      public void setHasFixedRateUnits(Boolean hasFixedRateUnits)
    • fixedMaterial

      public ResourceAssignment fixedMaterial(Boolean fixedMaterial)
    • isFixedMaterial

      public Boolean isFixedMaterial()
      Determines whether the consumption of an assigned material resource occurs in a single, fixed amount.
      Returns:
      fixedMaterial
    • setFixedMaterial

      public void setFixedMaterial(Boolean fixedMaterial)
    • levelingDelay

      public ResourceAssignment levelingDelay(Integer levelingDelay)
    • getLevelingDelay

      public Integer getLevelingDelay()
      Returns or sets the delay caused by leveling.
      Returns:
      levelingDelay
    • setLevelingDelay

      public void setLevelingDelay(Integer levelingDelay)
    • levelingDelayFormat

      public ResourceAssignment levelingDelayFormat(TimeUnitType levelingDelayFormat)
    • getLevelingDelayFormat

      public TimeUnitType getLevelingDelayFormat()
      Returns or sets the duration format of a delay.
      Returns:
      levelingDelayFormat
    • setLevelingDelayFormat

      public void setLevelingDelayFormat(TimeUnitType levelingDelayFormat)
    • linkedFields

      public ResourceAssignment linkedFields(Boolean linkedFields)
    • isLinkedFields

      public Boolean isLinkedFields()
      Determines whether the Project is linked to another OLE object.
      Returns:
      linkedFields
    • setLinkedFields

      public void setLinkedFields(Boolean linkedFields)
    • milestone

      public ResourceAssignment milestone(Boolean milestone)
    • isMilestone

      public Boolean isMilestone()
      Determines whether the assignment is a milestone.
      Returns:
      milestone
    • setMilestone

      public void setMilestone(Boolean milestone)
    • notes

      public ResourceAssignment notes(String notes)
    • getNotes

      public String getNotes()
      Returns or sets the text notes associated with an assignment.
      Returns:
      notes
    • setNotes

      public void setNotes(String notes)
    • overallocated

      public ResourceAssignment overallocated(Boolean overallocated)
    • isOverallocated

      public Boolean isOverallocated()
      Determines whether the assignment is overallocated.
      Returns:
      overallocated
    • setOverallocated

      public void setOverallocated(Boolean overallocated)
    • overtimeCost

      public ResourceAssignment overtimeCost(BigDecimal overtimeCost)
    • getOvertimeCost

      public BigDecimal getOvertimeCost()
      Returns or sets the sum of the actual and remaining overtime cost of an assignment.
      Returns:
      overtimeCost
    • setOvertimeCost

      public void setOvertimeCost(BigDecimal overtimeCost)
    • overtimeWork

      public ResourceAssignment overtimeWork(String overtimeWork)
    • getOvertimeWork

      public String getOvertimeWork()
      Returns or sets the scheduled overtime work of an assignment.
      Returns:
      overtimeWork
    • setOvertimeWork

      public void setOvertimeWork(String overtimeWork)
    • peakUnits

      public ResourceAssignment peakUnits(Double peakUnits)
    • getPeakUnits

      public Double getPeakUnits()
      Returns or sets the largest number of a resource's units assigned to a task.
      Returns:
      peakUnits
    • setPeakUnits

      public void setPeakUnits(Double peakUnits)
    • regularWork

      public ResourceAssignment regularWork(String regularWork)
    • getRegularWork

      public String getRegularWork()
      Returns or sets the amount of a non-overtime work scheduled for an assignment.
      Returns:
      regularWork
    • setRegularWork

      public void setRegularWork(String regularWork)
    • remainingCost

      public ResourceAssignment remainingCost(BigDecimal remainingCost)
    • getRemainingCost

      public BigDecimal getRemainingCost()
      Returns or sets the remaining projected cost of completing an assignment.
      Returns:
      remainingCost
    • setRemainingCost

      public void setRemainingCost(BigDecimal remainingCost)
    • remainingOvertimeCost

      public ResourceAssignment remainingOvertimeCost(BigDecimal remainingOvertimeCost)
    • getRemainingOvertimeCost

      public BigDecimal getRemainingOvertimeCost()
      Returns or sets the remaining projected overtime cost of completing an assignment.
      Returns:
      remainingOvertimeCost
    • setRemainingOvertimeCost

      public void setRemainingOvertimeCost(BigDecimal remainingOvertimeCost)
    • remainingOvertimeWork

      public ResourceAssignment remainingOvertimeWork(String remainingOvertimeWork)
    • getRemainingOvertimeWork

      public String getRemainingOvertimeWork()
      Returns or sets the remaining overtime work scheduled to complete an assignment.
      Returns:
      remainingOvertimeWork
    • setRemainingOvertimeWork

      public void setRemainingOvertimeWork(String remainingOvertimeWork)
    • remainingWork

      public ResourceAssignment remainingWork(String remainingWork)
    • getRemainingWork

      public String getRemainingWork()
      Returns or sets the remaining work scheduled to complete an assignment.
      Returns:
      remainingWork
    • setRemainingWork

      public void setRemainingWork(String remainingWork)
    • responsePending

      public ResourceAssignment responsePending(Boolean responsePending)
    • isResponsePending

      public Boolean isResponsePending()
      Determines whether the response has been received for a TeamAssign message.
      Returns:
      responsePending
    • setResponsePending

      public void setResponsePending(Boolean responsePending)
    • start

      public ResourceAssignment start(org.threeten.bp.OffsetDateTime start)
    • getStart

      public org.threeten.bp.OffsetDateTime getStart()
      Returns or sets the scheduled start date of an assignment.
      Returns:
      start
    • setStart

      public void setStart(org.threeten.bp.OffsetDateTime start)
    • stop

      public ResourceAssignment stop(org.threeten.bp.OffsetDateTime stop)
    • getStop

      public org.threeten.bp.OffsetDateTime getStop()
      Returns or sets the date when assignment is stopped.
      Returns:
      stop
    • setStop

      public void setStop(org.threeten.bp.OffsetDateTime stop)
    • resume

      public ResourceAssignment resume(org.threeten.bp.OffsetDateTime resume)
    • getResume

      public org.threeten.bp.OffsetDateTime getResume()
      Returns or sets the date when assignment is resumed.
      Returns:
      resume
    • setResume

      public void setResume(org.threeten.bp.OffsetDateTime resume)
    • startVariance

      public ResourceAssignment startVariance(Integer startVariance)
    • getStartVariance

      public Integer getStartVariance()
      Returns or sets the variance of an assignment start date from a baseline start date.
      Returns:
      startVariance
    • setStartVariance

      public void setStartVariance(Integer startVariance)
    • summary

      public ResourceAssignment summary(Boolean summary)
    • isSummary

      public Boolean isSummary()
      Determines whether the task is a summary task.
      Returns:
      summary
    • setSummary

      public void setSummary(Boolean summary)
    • sv

      public ResourceAssignment sv(Double sv)
    • getSv

      public Double getSv()
      Returns or sets the earned value schedule variance, through the project status date.
      Returns:
      sv
    • setSv

      public void setSv(Double sv)
    • units

      public ResourceAssignment units(Double units)
    • getUnits

      public Double getUnits()
      Returns or sets the number of units for an assignment.
      Returns:
      units
    • setUnits

      public void setUnits(Double units)
    • updateNeeded

      public ResourceAssignment updateNeeded(Boolean updateNeeded)
    • isUpdateNeeded

      public Boolean isUpdateNeeded()
      Determines whether the resource assigned to a task needs to be updated as to the status of the task.
      Returns:
      updateNeeded
    • setUpdateNeeded

      public void setUpdateNeeded(Boolean updateNeeded)
    • vac

      public ResourceAssignment vac(Double vac)
    • getVac

      public Double getVac()
      Returns or sets the difference between basline cost and total cost. Read/write Double.
      Returns:
      vac
    • setVac

      public void setVac(Double vac)
    • work

      public ResourceAssignment work(String work)
    • getWork

      public String getWork()
      Returns or sets the amount of scheduled work for an assignment. Read/write TimeSpan.
      Returns:
      work
    • setWork

      public void setWork(String work)
    • workContour

      public ResourceAssignment workContour(WorkContourType workContour)
    • getWorkContour

      public WorkContourType getWorkContour()
      Returns or sets the work contour of an assignment.
      Returns:
      workContour
    • setWorkContour

      public void setWorkContour(WorkContourType workContour)
    • bcws

      public ResourceAssignment bcws(Double bcws)
    • getBcws

      public Double getBcws()
      Returns or sets the budgeted cost of a work on assignment.
      Returns:
      bcws
    • setBcws

      public void setBcws(Double bcws)
    • bcwp

      public ResourceAssignment bcwp(Double bcwp)
    • getBcwp

      public Double getBcwp()
      Returns or sets the budgeted cost of a work performed on assignment to-date.
      Returns:
      bcwp
    • setBcwp

      public void setBcwp(Double bcwp)
    • bookingType

      public ResourceAssignment bookingType(BookingType bookingType)
    • getBookingType

      public BookingType getBookingType()
      Returns or sets the booking type of an assignment.
      Returns:
      bookingType
    • setBookingType

      public void setBookingType(BookingType bookingType)
    • actualWorkProtected

      public ResourceAssignment actualWorkProtected(String actualWorkProtected)
    • getActualWorkProtected

      public String getActualWorkProtected()
      Returns or sets the duration through which actual work is protected.
      Returns:
      actualWorkProtected
    • setActualWorkProtected

      public void setActualWorkProtected(String actualWorkProtected)
    • actualOvertimeWorkProtected

      public ResourceAssignment actualOvertimeWorkProtected(String actualOvertimeWorkProtected)
    • getActualOvertimeWorkProtected

      public String getActualOvertimeWorkProtected()
      Returns or sets the duration through which actual overtime work is protected.
      Returns:
      actualOvertimeWorkProtected
    • setActualOvertimeWorkProtected

      public void setActualOvertimeWorkProtected(String actualOvertimeWorkProtected)
    • creationDate

      public ResourceAssignment creationDate(org.threeten.bp.OffsetDateTime creationDate)
    • getCreationDate

      public org.threeten.bp.OffsetDateTime getCreationDate()
      Returns or sets the date that the assignment was created.
      Returns:
      creationDate
    • setCreationDate

      public void setCreationDate(org.threeten.bp.OffsetDateTime creationDate)
    • assnOwner

      public ResourceAssignment assnOwner(String assnOwner)
    • getAssnOwner

      public String getAssnOwner()
      Returns or sets the name of an assignment owner.
      Returns:
      assnOwner
    • setAssnOwner

      public void setAssnOwner(String assnOwner)
    • assnOwnerGuid

      public ResourceAssignment assnOwnerGuid(String assnOwnerGuid)
    • getAssnOwnerGuid

      public String getAssnOwnerGuid()
      Returns or sets the Guid of an assignment owner.
      Returns:
      assnOwnerGuid
    • setAssnOwnerGuid

      public void setAssnOwnerGuid(String assnOwnerGuid)
    • budgetCost

      public ResourceAssignment budgetCost(BigDecimal budgetCost)
    • getBudgetCost

      public BigDecimal getBudgetCost()
      Returns or sets the budgeted cost of resources on an assignment.
      Returns:
      budgetCost
    • setBudgetCost

      public void setBudgetCost(BigDecimal budgetCost)
    • budgetWork

      public ResourceAssignment budgetWork(String budgetWork)
    • getBudgetWork

      public String getBudgetWork()
      Returns or sets the budgeted work amount for a work or material resources on an assignment.
      Returns:
      budgetWork
    • setBudgetWork

      public void setBudgetWork(String budgetWork)
    • rateScale

      public ResourceAssignment rateScale(RateScaleType rateScale)
    • getRateScale

      public RateScaleType getRateScale()
      Returns the time unit for the usage rate of the material resource assignment.
      Returns:
      rateScale
    • setRateScale

      public void setRateScale(RateScaleType rateScale)
    • baselines

      public ResourceAssignment baselines(List<AssignmentBaseline> baselines)
    • addBaselinesItem

      public ResourceAssignment addBaselinesItem(AssignmentBaseline baselinesItem)
    • getBaselines

      public List<AssignmentBaseline> getBaselines()
      List of ResourceAssignment's Baseline values.
      Returns:
      baselines
    • setBaselines

      public void setBaselines(List<AssignmentBaseline> baselines)
    • extendedAttributes

      public ResourceAssignment extendedAttributes(List<ExtendedAttribute> extendedAttributes)
    • addExtendedAttributesItem

      public ResourceAssignment addExtendedAttributesItem(ExtendedAttribute extendedAttributesItem)
    • getExtendedAttributes

      public List<ExtendedAttribute> getExtendedAttributes()
      ResourceAssignment extended attributes.
      Returns:
      extendedAttributes
    • setExtendedAttributes

      public void setExtendedAttributes(List<ExtendedAttribute> extendedAttributes)
    • timephasedData

      public ResourceAssignment timephasedData(List<TimephasedData> timephasedData)
    • addTimephasedDataItem

      public ResourceAssignment addTimephasedDataItem(TimephasedData timephasedDataItem)
    • getTimephasedData

      public List<TimephasedData> getTimephasedData()
      Represents a collection of TimephasedData objects.
      Returns:
      timephasedData
    • setTimephasedData

      public void setTimephasedData(List<TimephasedData> timephasedData)
    • 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