Class Resource

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

public class Resource extends Object
Represents a project resource.
  • Constructor Details

    • Resource

      public Resource()
  • Method Details

    • isRoot

      public Resource isRoot(Boolean isRoot)
    • isIsRoot

      public Boolean isIsRoot()
      Gets the flag indicating whether resource is a root resource. Root resource is a special resource which is intended to support internals of MS Project's formats and is not intended to be used directly from the user's code.
      Returns:
      isRoot
    • setIsRoot

      public void setIsRoot(Boolean isRoot)
    • name

      public Resource name(String name)
    • getName

      public String getName()
      The name of a resource.
      Returns:
      name
    • setName

      public void setName(String name)
    • uid

      public Resource uid(Integer uid)
    • getUid

      public Integer getUid()
      The unique identifier of a resource.
      Returns:
      uid
    • setUid

      public void setUid(Integer uid)
    • id

      public Resource id(Integer id)
    • getId

      public Integer getId()
      The position identifier of a resource within the list of resources.
      Returns:
      id
    • setId

      public void setId(Integer id)
    • guid

      public Resource guid(String guid)
    • getGuid

      public String getGuid()
      Contains the generated unique identification code for the resource.
      Returns:
      guid
    • setGuid

      public void setGuid(String guid)
    • type

      public Resource type(ResourceType type)
    • getType

      public ResourceType getType()
      The type of a resource.
      Returns:
      type
    • setType

      public void setType(ResourceType type)
    • isNull

      public Resource isNull(Boolean isNull)
    • isIsNull

      public Boolean isIsNull()
      Determines whether a resource is null.
      Returns:
      isNull
    • setIsNull

      public void setIsNull(Boolean isNull)
    • initials

      public Resource initials(String initials)
    • getInitials

      public String getInitials()
      The initials of a resource.
      Returns:
      initials
    • setInitials

      public void setInitials(String initials)
    • phonetics

      public Resource phonetics(String phonetics)
    • getPhonetics

      public String getPhonetics()
      The phonetic spelling of the resource name. For use with Japanese only.
      Returns:
      phonetics
    • setPhonetics

      public void setPhonetics(String phonetics)
    • ntAccount

      public Resource ntAccount(String ntAccount)
    • getNtAccount

      public String getNtAccount()
      The NT account associated with a resource.
      Returns:
      ntAccount
    • setNtAccount

      public void setNtAccount(String ntAccount)
    • windowsUserAccount

      public Resource windowsUserAccount(String windowsUserAccount)
    • getWindowsUserAccount

      public String getWindowsUserAccount()
      The NT account associated with a resource.
      Returns:
      windowsUserAccount
    • setWindowsUserAccount

      public void setWindowsUserAccount(String windowsUserAccount)
    • workgroup

      public Resource workgroup(WorkGroupType workgroup)
    • getWorkgroup

      public WorkGroupType getWorkgroup()
      The type of a workgroup to which a resource belongs. type.
      Returns:
      workgroup
    • setWorkgroup

      public void setWorkgroup(WorkGroupType workgroup)
    • materialLabel

      public Resource materialLabel(String materialLabel)
    • getMaterialLabel

      public String getMaterialLabel()
      The unit of measure for the material resource. Read/write String.
      Returns:
      materialLabel
    • setMaterialLabel

      public void setMaterialLabel(String materialLabel)
    • code

      public Resource code(String code)
    • getCode

      public String getCode()
      The code or other information about a resource.
      Returns:
      code
    • setCode

      public void setCode(String code)
    • group

      public Resource group(String group)
    • getGroup

      public String getGroup()
      The group to which a resource belongs.
      Returns:
      group
    • setGroup

      public void setGroup(String group)
    • emailAddress

      public Resource emailAddress(String emailAddress)
    • getEmailAddress

      public String getEmailAddress()
      Get emailAddress
      Returns:
      emailAddress
    • setEmailAddress

      public void setEmailAddress(String emailAddress)
    • hyperlink

      public Resource hyperlink(String hyperlink)
    • getHyperlink

      public String getHyperlink()
      The title of a hyperlink associated with a resource.
      Returns:
      hyperlink
    • setHyperlink

      public void setHyperlink(String hyperlink)
    • hyperlinkAddress

      public Resource hyperlinkAddress(String hyperlinkAddress)
    • getHyperlinkAddress

      public String getHyperlinkAddress()
      The hyperlink associated with a resource.
      Returns:
      hyperlinkAddress
    • setHyperlinkAddress

      public void setHyperlinkAddress(String hyperlinkAddress)
    • hyperlinkSubAddress

      public Resource hyperlinkSubAddress(String hyperlinkSubAddress)
    • getHyperlinkSubAddress

      public String getHyperlinkSubAddress()
      The document bookmark of a hyperlink associated with a resource. Read/write String.
      Returns:
      hyperlinkSubAddress
    • setHyperlinkSubAddress

      public void setHyperlinkSubAddress(String hyperlinkSubAddress)
    • maxUnits

      public Resource maxUnits(Double maxUnits)
    • getMaxUnits

      public Double getMaxUnits()
      The maximum number of units of a resource is available.
      Returns:
      maxUnits
    • setMaxUnits

      public void setMaxUnits(Double maxUnits)
    • peakUnits

      public Resource peakUnits(Double peakUnits)
    • getPeakUnits

      public Double getPeakUnits()
      The largest number of units assigned to a resource at any time.
      Returns:
      peakUnits
    • setPeakUnits

      public void setPeakUnits(Double peakUnits)
    • overAllocated

      public Resource overAllocated(Boolean overAllocated)
    • isOverAllocated

      public Boolean isOverAllocated()
      Get overAllocated
      Returns:
      overAllocated
    • setOverAllocated

      public void setOverAllocated(Boolean overAllocated)
    • availableFrom

      public Resource availableFrom(org.threeten.bp.OffsetDateTime availableFrom)
    • getAvailableFrom

      public org.threeten.bp.OffsetDateTime getAvailableFrom()
      The first date when a resource is available.
      Returns:
      availableFrom
    • setAvailableFrom

      public void setAvailableFrom(org.threeten.bp.OffsetDateTime availableFrom)
    • availableTo

      public Resource availableTo(org.threeten.bp.OffsetDateTime availableTo)
    • getAvailableTo

      public org.threeten.bp.OffsetDateTime getAvailableTo()
      The last date when a resource is available.
      Returns:
      availableTo
    • setAvailableTo

      public void setAvailableTo(org.threeten.bp.OffsetDateTime availableTo)
    • start

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

      public org.threeten.bp.OffsetDateTime getStart()
      The scheduled start date of a resource.
      Returns:
      start
    • setStart

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

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

      public org.threeten.bp.OffsetDateTime getFinish()
      The scheduled finish date of a resource.
      Returns:
      finish
    • setFinish

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

      public Resource canLevel(Boolean canLevel)
    • isCanLevel

      public Boolean isCanLevel()
      Determines whether a resource can be leveled.
      Returns:
      canLevel
    • setCanLevel

      public void setCanLevel(Boolean canLevel)
    • accrueAt

      public Resource accrueAt(CostAccrualType accrueAt)
    • getAccrueAt

      public CostAccrualType getAccrueAt()
      Determines how cost is accrued against the resource.
      Returns:
      accrueAt
    • setAccrueAt

      public void setAccrueAt(CostAccrualType accrueAt)
    • work

      public Resource work(String work)
    • getWork

      public String getWork()
      The total work assigned to a resource across all assigned tasks.
      Returns:
      work
    • setWork

      public void setWork(String work)
    • regularWork

      public Resource regularWork(String regularWork)
    • getRegularWork

      public String getRegularWork()
      The amount of non-overtime work assigned to a resource.
      Returns:
      regularWork
    • setRegularWork

      public void setRegularWork(String regularWork)
    • overtimeWork

      public Resource overtimeWork(String overtimeWork)
    • getOvertimeWork

      public String getOvertimeWork()
      The amount of overtime work assigned to a resource.
      Returns:
      overtimeWork
    • setOvertimeWork

      public void setOvertimeWork(String overtimeWork)
    • actualWork

      public Resource actualWork(String actualWork)
    • getActualWork

      public String getActualWork()
      The amount of actual work performed by a resource.
      Returns:
      actualWork
    • setActualWork

      public void setActualWork(String actualWork)
    • remainingWork

      public Resource remainingWork(String remainingWork)
    • getRemainingWork

      public String getRemainingWork()
      The amount of remaining work required to complete all assigned tasks.
      Returns:
      remainingWork
    • setRemainingWork

      public void setRemainingWork(String remainingWork)
    • actualOvertimeWork

      public Resource actualOvertimeWork(String actualOvertimeWork)
    • getActualOvertimeWork

      public String getActualOvertimeWork()
      The amount of actual overtime work performed by a resource.
      Returns:
      actualOvertimeWork
    • setActualOvertimeWork

      public void setActualOvertimeWork(String actualOvertimeWork)
    • remainingOvertimeWork

      public Resource remainingOvertimeWork(String remainingOvertimeWork)
    • getRemainingOvertimeWork

      public String getRemainingOvertimeWork()
      The amount of remaining overtime work required to complete all tasks.
      Returns:
      remainingOvertimeWork
    • setRemainingOvertimeWork

      public void setRemainingOvertimeWork(String remainingOvertimeWork)
    • percentWorkComplete

      public Resource percentWorkComplete(Integer percentWorkComplete)
    • getPercentWorkComplete

      public Integer getPercentWorkComplete()
      The percentage of work completed across all tasks.
      Returns:
      percentWorkComplete
    • setPercentWorkComplete

      public void setPercentWorkComplete(Integer percentWorkComplete)
    • standardRate

      public Resource standardRate(BigDecimal standardRate)
    • getStandardRate

      public BigDecimal getStandardRate()
      The standard rate of a resource. This value retrieved from the current date if a rate table exists for a resource.
      Returns:
      standardRate
    • setStandardRate

      public void setStandardRate(BigDecimal standardRate)
    • standardRateFormat

      public Resource standardRateFormat(RateFormatType standardRateFormat)
    • getStandardRateFormat

      public RateFormatType getStandardRateFormat()
      The units used by Microsoft Project to display the standard rate.
      Returns:
      standardRateFormat
    • setStandardRateFormat

      public void setStandardRateFormat(RateFormatType standardRateFormat)
    • cost

      public Resource cost(BigDecimal cost)
    • getCost

      public BigDecimal getCost()
      The total project cost for a resource across all assigned tasks.
      Returns:
      cost
    • setCost

      public void setCost(BigDecimal cost)
    • overtimeRateFormat

      public Resource overtimeRateFormat(RateFormatType overtimeRateFormat)
    • getOvertimeRateFormat

      public RateFormatType getOvertimeRateFormat()
      The units used by Microsoft Project to display the overtime rate.
      Returns:
      overtimeRateFormat
    • setOvertimeRateFormat

      public void setOvertimeRateFormat(RateFormatType overtimeRateFormat)
    • overtimeCost

      public Resource overtimeCost(BigDecimal overtimeCost)
    • getOvertimeCost

      public BigDecimal getOvertimeCost()
      The total overtime cost of a resource including actual and remaining overtime costs.
      Returns:
      overtimeCost
    • setOvertimeCost

      public void setOvertimeCost(BigDecimal overtimeCost)
    • costPerUse

      public Resource costPerUse(BigDecimal costPerUse)
    • getCostPerUse

      public BigDecimal getCostPerUse()
      The cost per use of a resource. This value retrieved from the current date if a rate table exists for the resource.
      Returns:
      costPerUse
    • setCostPerUse

      public void setCostPerUse(BigDecimal costPerUse)
    • actualCost

      public Resource actualCost(BigDecimal actualCost)
    • getActualCost

      public BigDecimal getActualCost()
      The actual cost incurred by the resource across all assigned tasks.
      Returns:
      actualCost
    • setActualCost

      public void setActualCost(BigDecimal actualCost)
    • actualOvertimeCost

      public Resource actualOvertimeCost(BigDecimal actualOvertimeCost)
    • getActualOvertimeCost

      public BigDecimal getActualOvertimeCost()
      The actual overtime cost incurred by the resource across all assigned tasks.
      Returns:
      actualOvertimeCost
    • setActualOvertimeCost

      public void setActualOvertimeCost(BigDecimal actualOvertimeCost)
    • remainingCost

      public Resource remainingCost(BigDecimal remainingCost)
    • getRemainingCost

      public BigDecimal getRemainingCost()
      The remaining projected cost of a resource to complete all assigned tasks.
      Returns:
      remainingCost
    • setRemainingCost

      public void setRemainingCost(BigDecimal remainingCost)
    • remainingOvertimeCost

      public Resource remainingOvertimeCost(BigDecimal remainingOvertimeCost)
    • getRemainingOvertimeCost

      public BigDecimal getRemainingOvertimeCost()
      The remaining projected overtime cost of a resource to complete all assigned tasks.
      Returns:
      remainingOvertimeCost
    • setRemainingOvertimeCost

      public void setRemainingOvertimeCost(BigDecimal remainingOvertimeCost)
    • workVariance

      public Resource workVariance(Double workVariance)
    • getWorkVariance

      public Double getWorkVariance()
      The difference between a baseline work and a work
      Returns:
      workVariance
    • setWorkVariance

      public void setWorkVariance(Double workVariance)
    • costVariance

      public Resource costVariance(Double costVariance)
    • getCostVariance

      public Double getCostVariance()
      The difference between a baseline cost and a cost.
      Returns:
      costVariance
    • setCostVariance

      public void setCostVariance(Double costVariance)
    • sv

      public Resource sv(Double sv)
    • getSv

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

      public void setSv(Double sv)
    • cv

      public Resource cv(Double cv)
    • getCv

      public Double getCv()
      The earned value cost variance, through the project status date.
      Returns:
      cv
    • setCv

      public void setCv(Double cv)
    • acwp

      public Resource acwp(Double acwp)
    • getAcwp

      public Double getAcwp()
      The actual cost of a work performed by a resource for the project to-date.
      Returns:
      acwp
    • setAcwp

      public void setAcwp(Double acwp)
    • calendarUid

      public Resource calendarUid(Integer calendarUid)
    • getCalendarUid

      public Integer getCalendarUid()
      The calendar of a resource.
      Returns:
      calendarUid
    • setCalendarUid

      public void setCalendarUid(Integer calendarUid)
    • notesText

      public Resource notesText(String notesText)
    • getNotesText

      public String getNotesText()
      Notes' plain text extracted from RTF data.
      Returns:
      notesText
    • setNotesText

      public void setNotesText(String notesText)
    • notes

      public Resource notes(String notes)
    • getNotes

      public String getNotes()
      The text notes associated with a resource.
      Returns:
      notes
    • setNotes

      public void setNotes(String notes)
    • notesRTF

      public Resource notesRTF(String notesRTF)
    • getNotesRTF

      public String getNotesRTF()
      The text notes in RTF format. Supported for MPP formats only.
      Returns:
      notesRTF
    • setNotesRTF

      public void setNotesRTF(String notesRTF)
    • bcws

      public Resource bcws(Double bcws)
    • getBcws

      public Double getBcws()
      The budget cost of a work scheduled for a resource.
      Returns:
      bcws
    • setBcws

      public void setBcws(Double bcws)
    • bcwp

      public Resource bcwp(Double bcwp)
    • getBcwp

      public Double getBcwp()
      The budgeted cost of a work performed by a resource for the project to-date.
      Returns:
      bcwp
    • setBcwp

      public void setBcwp(Double bcwp)
    • isGeneric

      public Resource isGeneric(Boolean isGeneric)
    • isIsGeneric

      public Boolean isIsGeneric()
      Determines whether a resource is generic.
      Returns:
      isGeneric
    • setIsGeneric

      public void setIsGeneric(Boolean isGeneric)
    • isInactive

      public Resource isInactive(Boolean isInactive)
    • isIsInactive

      public Boolean isIsInactive()
      Determines whether a resource is inactive.
      Returns:
      isInactive
    • setIsInactive

      public void setIsInactive(Boolean isInactive)
    • isEnterprise

      public Resource isEnterprise(Boolean isEnterprise)
    • isIsEnterprise

      public Boolean isIsEnterprise()
      Determines whether a resource is an Enterprise resource.
      Returns:
      isEnterprise
    • setIsEnterprise

      public void setIsEnterprise(Boolean isEnterprise)
    • bookingType

      public Resource bookingType(BookingType bookingType)
    • getBookingType

      public BookingType getBookingType()
      The booking type of a resource.
      Returns:
      bookingType
    • setBookingType

      public void setBookingType(BookingType bookingType)
    • actualWorkProtected

      public Resource actualWorkProtected(String actualWorkProtected)
    • getActualWorkProtected

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

      public void setActualWorkProtected(String actualWorkProtected)
    • actualOvertimeWorkProtected

      public Resource actualOvertimeWorkProtected(String actualOvertimeWorkProtected)
    • getActualOvertimeWorkProtected

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

      public void setActualOvertimeWorkProtected(String actualOvertimeWorkProtected)
    • activeDirectoryGuid

      public Resource activeDirectoryGuid(String activeDirectoryGuid)
    • getActiveDirectoryGuid

      public String getActiveDirectoryGuid()
      The Active Directory Guid for a resource.
      Returns:
      activeDirectoryGuid
    • setActiveDirectoryGuid

      public void setActiveDirectoryGuid(String activeDirectoryGuid)
    • creationDate

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

      public org.threeten.bp.OffsetDateTime getCreationDate()
      The date when a resource was created.
      Returns:
      creationDate
    • setCreationDate

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

      public Resource costCenter(String costCenter)
    • getCostCenter

      public String getCostCenter()
      Indicates which cost center the costs accrued by the resource should be charged to.
      Returns:
      costCenter
    • setCostCenter

      public void setCostCenter(String costCenter)
    • isCostResource

      public Resource isCostResource(Boolean isCostResource)
    • isIsCostResource

      public Boolean isIsCostResource()
      Determines whether a resource is a cost resource.
      Returns:
      isCostResource
    • setIsCostResource

      public void setIsCostResource(Boolean isCostResource)
    • teamAssignmentPool

      public Resource teamAssignmentPool(Boolean teamAssignmentPool)
    • isTeamAssignmentPool

      public Boolean isTeamAssignmentPool()
      Determines whether the current resource is a team resource.
      Returns:
      teamAssignmentPool
    • setTeamAssignmentPool

      public void setTeamAssignmentPool(Boolean teamAssignmentPool)
    • assignmentOwner

      public Resource assignmentOwner(String assignmentOwner)
    • getAssignmentOwner

      public String getAssignmentOwner()
      The name of an assignment owner.
      Returns:
      assignmentOwner
    • setAssignmentOwner

      public void setAssignmentOwner(String assignmentOwner)
    • assignmentOwnerGuid

      public Resource assignmentOwnerGuid(String assignmentOwnerGuid)
    • getAssignmentOwnerGuid

      public String getAssignmentOwnerGuid()
      The GUID of an assignment owner.
      Returns:
      assignmentOwnerGuid
    • setAssignmentOwnerGuid

      public void setAssignmentOwnerGuid(String assignmentOwnerGuid)
    • isBudget

      public Resource isBudget(Boolean isBudget)
    • isIsBudget

      public Boolean isIsBudget()
      Determines whether a resource is a budget resource.
      Returns:
      isBudget
    • setIsBudget

      public void setIsBudget(Boolean isBudget)
    • budgetWork

      public Resource budgetWork(String budgetWork)
    • getBudgetWork

      public String getBudgetWork()
      The budget work for a budget work or material resource.
      Returns:
      budgetWork
    • setBudgetWork

      public void setBudgetWork(String budgetWork)
    • budgetCost

      public Resource budgetCost(BigDecimal budgetCost)
    • getBudgetCost

      public BigDecimal getBudgetCost()
      The budget cost for a budget cost resource.
      Returns:
      budgetCost
    • setBudgetCost

      public void setBudgetCost(BigDecimal budgetCost)
    • overtimeRate

      public Resource overtimeRate(BigDecimal overtimeRate)
    • getOvertimeRate

      public BigDecimal getOvertimeRate()
      The overtime rate of a resource. This value retrieved from the current date if a rate table exists for a resource.
      Returns:
      overtimeRate
    • setOvertimeRate

      public void setOvertimeRate(BigDecimal overtimeRate)
    • baselines

      public Resource baselines(List<Baseline> baselines)
    • addBaselinesItem

      public Resource addBaselinesItem(Baseline baselinesItem)
    • getBaselines

      public List<Baseline> getBaselines()
      Gets or sets the collection of baseline values of the resource.
      Returns:
      baselines
    • setBaselines

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

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

      public Resource addExtendedAttributesItem(ExtendedAttribute extendedAttributesItem)
    • getExtendedAttributes

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

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

      public Resource outlineCodes(List<OutlineCode> outlineCodes)
    • addOutlineCodesItem

      public Resource addOutlineCodesItem(OutlineCode outlineCodesItem)
    • getOutlineCodes

      public List<OutlineCode> getOutlineCodes()
      Resource outline codes.
      Returns:
      outlineCodes
    • setOutlineCodes

      public void setOutlineCodes(List<OutlineCode> outlineCodes)
    • 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