Class Resource
- java.lang.Object
-
- com.aspose.tasks.Resource
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NullableBoolcanLevel()Gets a value indicating whether CanLevel is set or not.voiddelete()Deletes a resource and its assignments from project.booleanequals(Resource other)Returns a value indicating whether this instance is equal to a specified instance of theResourceclass.booleanequals(Object obj)Returns a value indicating whether this instance is equal to a specified object.<T> Tget(Key<T,Byte> key)Returns the value to which the property is mapped in this container.intgetAccrueAt()Gets a value of AccrueAt.StringgetActiveDirectoryGuid()Gets a value of ActiveDirectoryGuid.BigDecimalgetActualCost()Gets a value of ActualCost.BigDecimalgetActualOvertimeCost()Gets a value of ActualOvertimeCost.DurationgetActualOvertimeWork()Gets a value of ActualOvertimeWork.DurationgetActualOvertimeWorkProtected()Gets a value of ActualOvertimeWorkProtected.DurationgetActualWork()Gets a value of ActualWork.DurationgetActualWorkProtected()Gets a value of ActualWorkProtected.doublegetACWP()Gets a value of ACWP.StringgetAssignmentOwner()Gets a value of AssignmentOwner.StringgetAssignmentOwnerGuid()Gets a value of AssignmentOwnerGuid.ResourceAssignmentCollectiongetAssignments()Gets a collection of resource assignments for this object.AvailabilityPeriodCollectiongetAvailabilityPeriods()Gets a the instance of theAvailabilityPeriodCollectionclass.DategetAvailableFrom()Gets a value of AvailableFrom.DategetAvailableTo()Gets a value of AvailableTo.BaselineCollectiongetBaselines()Gets a BaselineCollection instance for this object.doublegetBCWP()Gets a value of BCWP.doublegetBCWS()Gets a value of BCWS.intgetBookingType()Gets a value of BookingType.BigDecimalgetBudgetCost()Gets a value of BudgetCost.DurationgetBudgetWork()Gets a value of BudgetWork.CalendargetCalendar()Gets a value of Calendar.StringgetCode()Gets a value of Code.BigDecimalgetCost()Gets a value of Cost.StringgetCostCenter()Gets a value of CostCenter.BigDecimalgetCostPerUse()Gets a value of CostPerUse.doublegetCostVariance()Gets a value of CostVariance.DategetCreated()Gets a value of Created.doublegetCV()Gets a value of CV.StringgetEMailAddress()Gets a value of EMailAddress.ExtendedAttributeCollectiongetExtendedAttributes()Gets the values of an extended attribute.DategetFinish()Gets a value of Finish.StringgetGroup()Gets a value of Group.StringgetGuid()Gets a value of Guid.StringgetHyperlink()Gets the title or explanatory text of a hyperlink associated with a resource.StringgetHyperlinkAddress()Gets the address for a hyperlink associated with a resource.StringgetHyperlinkSubAddress()Gets the specific location in a document in a hyperlink associated with a resource.intgetId()Gets a value of Id.NullableBoolgetInactive()Gets a value indicating whether Inactive is set or not.StringgetInitials()Gets a value of Initials.Iterable<com.aspose.tasks.IExtendedAttributeParent>getItems()Gets child resources.StringgetMaterialLabel()Gets a value of MaterialLabel.doublegetMaxUnits()Gets a value of MaxUnits.StringgetName()Gets a value of Name.StringgetNotesRTF()Gets a value of NotesRTF.StringgetNotesText()Gets a value of NotesText.OutlineCodeCollectiongetOutlineCode()Gets an OutlineCodeCollection object.NullableBoolgetOverallocated()Gets a value indicating whether Overallocated is set or not.BigDecimalgetOvertimeCost()Gets a value of OvertimeCost.BigDecimalgetOvertimeRate()Gets a value of OvertimeRate.intgetOvertimeRateFormat()Gets a value of OvertimeRateFormat.DurationgetOvertimeWork()Gets a value of OvertimeWork.ProjectgetParentProject()Gets parent project for this container.doublegetPeakUnits()Gets a value of PeakUnits.intgetPercentWorkComplete()Gets a value of PercentWorkComplete.StringgetPhonetics()Gets a value of Phonetics.RateCollectiongetRates()Gets a the instance of theRateCollectionclass for this object.DurationgetRegularWork()Gets a value of RegularWork.BigDecimalgetRemainingCost()Gets a value of RemainingCost.BigDecimalgetRemainingOvertimeCost()Gets a value of RemainingOvertimeCost.DurationgetRemainingOvertimeWork()Gets a value of RemainingOvertimeWork.DurationgetRemainingWork()Gets a value of RemainingWork.BigDecimalgetStandardRate()Gets a value of StandardRate.intgetStandardRateFormat()Gets a value of StandardRateFormat.DategetStart()Gets a value of Start.doublegetSV()Gets a value of SV.TimephasedDataCollectiongetTimephasedData()Gets an instance ofTimephasedDataCollectionclass for this object.TimephasedDataCollectiongetTimephasedData(Date start, Date end)ReturnsTimephasedDataCollectionfor this object withTimephasedData(getTimephasedData()/setTimephasedData(TimephasedDataCollection)) values within given start and end dates.TimephasedDataCollectiongetTimephasedData(Date start, Date end, byte timephasedType)Returns an instance of theTimephasedDataCollectionclass for this object with theTimephasedData(getTimephasedData()/setTimephasedData(TimephasedDataCollection)) values within given start and end dates of specifiedTimephasedDataType.intgetType()Gets a value of Type.intgetUid()Gets a value of Uid.StringgetWindowsUserAccount()Gets a value of WindowsUserAccount.DurationgetWork()Gets a value of Work.intgetWorkgroup()Gets a value of Workgroup.doublegetWorkVariance()Gets a value of WorkVariance.booleanhasChildren()inthashCode()Returns a hash code value for the instance of theResourceclass.NullableBoolisBudget()Gets a value indicating whether IsBudget is set or not.NullableBoolisCostResource()Gets a value indicating whether IsCostResource is set or not.NullableBoolisEnterprise()Gets a value indicating whether IsEnterprise is set or not.NullableBoolisGeneric()Gets a value indicating whether IsGeneric is set or not.NullableBoolisNull()Gets a value indicating whether IsNull is set or not.booleanisRoot()Gets the flag indicating whether resource is a root resource.booleanisTeamAssignmentPool()Gets a value indicating whether IsTeamAssignmentPool is set or not.voidset(Key<Date,Byte> key, Date val)Maps the specified property to the specified value in this container.<T> voidset(Key<T,Byte> key, T val)Maps the specified property to the specified value in this container.voidsetAccrueAt(int value)Sets a value of AccrueAt.voidsetActiveDirectoryGuid(String value)Sets a value of ActiveDirectoryGuid.voidsetActualCost(BigDecimal value)Sets a value of ActualCost.voidsetActualOvertimeCost(BigDecimal value)Sets a value of ActualOvertimeCost.voidsetActualOvertimeWork(Duration value)Sets a value of ActualOvertimeWork.voidsetActualOvertimeWorkProtected(Duration value)Sets a value of ActualOvertimeWorkProtected.voidsetActualWork(Duration value)Sets a value of ActualWork.voidsetActualWorkProtected(Duration value)Sets a value of ActualWorkProtected.voidsetACWP(double value)Sets a value of ACWP.voidsetAssignmentOwner(String value)Sets a value of AssignmentOwner.voidsetAssignmentOwnerGuid(String value)Sets a value of AssignmentOwnerGuid.voidsetAvailableFrom(Date value)Sets a value of AvailableFrom.voidsetAvailableTo(Date value)Sets a value of AvailableTo.voidsetBCWP(double value)Sets a value of BCWP.voidsetBCWS(double value)Sets a value of BCWS.voidsetBookingType(int value)Sets a value of BookingType.voidsetBudget(NullableBool value)Sets a value indicating whether IsBudget is set or not.voidsetBudgetCost(BigDecimal value)Sets a value of BudgetCost.voidsetBudgetWork(Duration value)Sets a value of BudgetWork.voidsetCalendar(Calendar value)Sets a value of Calendar.voidsetCanLevel(NullableBool value)Sets a value indicating whether CanLevel is set or not.voidsetCode(String value)Sets a value of Code.voidsetCost(BigDecimal value)Sets a value of Cost.voidsetCostCenter(String value)Sets a value of CostCenter.voidsetCostPerUse(BigDecimal value)Sets a value of CostPerUse.voidsetCostResource(NullableBool value)Sets a value indicating whether IsCostResource is set or not.voidsetCostVariance(double value)Sets a value of CostVariance.voidsetCreated(Date value)Sets a value of Created.voidsetCV(double value)Sets a value of CV.voidsetEMailAddress(String value)Sets a value of EMailAddress.voidsetEnterprise(NullableBool value)Sets a value indicating whether IsEnterprise is set or not.voidsetFinish(Date value)Sets a value of Finish.voidsetGeneric(NullableBool value)Sets a value indicating whether IsGeneric is set or not.voidsetGroup(String value)Sets a value of Group.voidsetGuid(String value)Sets a value of Guid.voidsetHyperlink(String value)Sets the title or explanatory text of a hyperlink associated with a resource.voidsetHyperlinkAddress(String value)Sets the address for a hyperlink associated with a resource.voidsetHyperlinkSubAddress(String value)Sets the specific location in a document in a hyperlink associated with a resource.voidsetId(int value)Sets a value of Id.voidsetInactive(NullableBool value)Sets a value indicating whether Inactive is set or not.voidsetInitials(String value)Sets a value of Initials.voidsetMaterialLabel(String value)Sets a value of MaterialLabel.voidsetMaxUnits(double value)Sets a value of MaxUnits.voidsetName(String value)Sets a value of Name.voidsetNotesRTF(String value)Sets a value of NotesRTF.voidsetNotesText(String value)Sets a value of NotesText.voidsetNull(NullableBool value)Sets a value indicating whether IsNull is set or not.voidsetOverallocated(NullableBool value)Sets a value indicating whether Overallocated is set or not.voidsetOvertimeCost(BigDecimal value)Sets a value of OvertimeCost.voidsetOvertimeRate(BigDecimal value)Sets a value of OvertimeRate.voidsetOvertimeRateFormat(int value)Sets a value of OvertimeRateFormat.voidsetOvertimeWork(Duration value)Sets a value of OvertimeWork.voidsetPeakUnits(double value)Sets a value of PeakUnits.voidsetPercentWorkComplete(int value)Sets a value of PercentWorkComplete.voidsetPhonetics(String value)Sets a value of Phonetics.voidsetRegularWork(Duration value)Sets a value of RegularWork.voidsetRemainingCost(BigDecimal value)Sets a value of RemainingCost.voidsetRemainingOvertimeCost(BigDecimal value)Sets a value of RemainingOvertimeCost.voidsetRemainingOvertimeWork(Duration value)Sets a value of RemainingOvertimeWork.voidsetRemainingWork(Duration value)Sets a value of RemainingWork.voidsetStandardRate(BigDecimal value)Sets a value of StandardRate.voidsetStandardRateFormat(int value)Sets a value of StandardRateFormat.voidsetStart(Date value)Sets a value of Start.voidsetSV(double value)Sets a value of SV.voidsetTeamAssignmentPool(boolean value)Sets a value indicating whether IsTeamAssignmentPool is set or not.voidsetTimephasedData(TimephasedDataCollection value)Sets an instance ofTimephasedDataCollectionclass for this object.voidsetType(int value)Sets a value of Type.voidsetUid(int value)Sets a value of Uid.voidsetWindowsUserAccount(String value)Sets a value of WindowsUserAccount.voidsetWork(Duration value)Sets a value of Work.voidsetWorkgroup(int value)Sets a value of Workgroup.voidsetWorkVariance(double value)Sets a value of WorkVariance.StringtoString()Returns short string representation of the instance of theResourceclass.
-
-
-
Method Detail
-
canLevel
public final NullableBool canLevel()
Gets a value indicating whether CanLevel is set or not.
- Returns:
- a value indicating whether CanLevel is set or not.
-
delete
public final void delete()
Deletes a resource and its assignments from project.
-
equals
public final boolean equals(Resource other)
Returns a value indicating whether this instance is equal to a specified instance of the
Resourceclass.
-
equals
public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.
-
get
public final <T> T get(Key<T,Byte> key)
Returns the value to which the property is mapped in this container.
- Parameters:
key- the specified property key.Rscfor getting the property key.- Returns:
- the value to which the property is mapped in this container.
-
getACWP
public final double getACWP()
Gets a value of ACWP.
- Returns:
- a value of ACWP.
-
setACWP
public final void setACWP(double value)
Sets a value of ACWP.
- Parameters:
value- a value of ACWP.
-
getAccrueAt
public final int getAccrueAt()
Gets a value of AccrueAt.
- Returns:
- a value of AccrueAt.
-
setAccrueAt
public final void setAccrueAt(int value)
Sets a value of AccrueAt.
- Parameters:
value- a value of AccrueAt.
-
getActiveDirectoryGuid
public final String getActiveDirectoryGuid()
Gets a value of ActiveDirectoryGuid.
- Returns:
- a value of ActiveDirectoryGuid.
-
setActiveDirectoryGuid
public final void setActiveDirectoryGuid(String value)
Sets a value of ActiveDirectoryGuid.
- Parameters:
value- a value of ActiveDirectoryGuid.
-
getActualCost
public final BigDecimal getActualCost()
Gets a value of ActualCost.
- Returns:
- a value of ActualCost.
-
setActualCost
public final void setActualCost(BigDecimal value)
Sets a value of ActualCost.
- Parameters:
value- a value of ActualCost.
-
getActualOvertimeCost
public final BigDecimal getActualOvertimeCost()
Gets a value of ActualOvertimeCost.
- Returns:
- a value of ActualOvertimeCost.
-
setActualOvertimeCost
public final void setActualOvertimeCost(BigDecimal value)
Sets a value of ActualOvertimeCost.
- Parameters:
value- a value of ActualOvertimeCost.
-
getActualOvertimeWork
public final Duration getActualOvertimeWork()
Gets a value of ActualOvertimeWork.
- Returns:
- a value of ActualOvertimeWork.
-
setActualOvertimeWork
public final void setActualOvertimeWork(Duration value)
Sets a value of ActualOvertimeWork.
- Parameters:
value- a value of ActualOvertimeWork.
-
getActualOvertimeWorkProtected
public final Duration getActualOvertimeWorkProtected()
Gets a value of ActualOvertimeWorkProtected.
- Returns:
- a value of ActualOvertimeWorkProtected.
-
setActualOvertimeWorkProtected
public final void setActualOvertimeWorkProtected(Duration value)
Sets a value of ActualOvertimeWorkProtected.
- Parameters:
value- a value of ActualOvertimeWorkProtected.
-
getActualWork
public final Duration getActualWork()
Gets a value of ActualWork.
- Returns:
- a value of ActualWork.
-
setActualWork
public final void setActualWork(Duration value)
Sets a value of ActualWork.
- Parameters:
value- a value of ActualWork.
-
getActualWorkProtected
public final Duration getActualWorkProtected()
Gets a value of ActualWorkProtected.
- Returns:
- a value of ActualWorkProtected.
-
setActualWorkProtected
public final void setActualWorkProtected(Duration value)
Sets a value of ActualWorkProtected.
- Parameters:
value- a value of ActualWorkProtected.
-
getAssignmentOwner
public final String getAssignmentOwner()
Gets a value of AssignmentOwner.
- Returns:
- a value of AssignmentOwner.
-
setAssignmentOwner
public final void setAssignmentOwner(String value)
Sets a value of AssignmentOwner.
- Parameters:
value- a value of AssignmentOwner.
-
getAssignmentOwnerGuid
public final String getAssignmentOwnerGuid()
Gets a value of AssignmentOwnerGuid.
- Returns:
- a value of AssignmentOwnerGuid.
-
setAssignmentOwnerGuid
public final void setAssignmentOwnerGuid(String value)
Sets a value of AssignmentOwnerGuid.
- Parameters:
value- a value of AssignmentOwnerGuid.
-
getAssignments
public final ResourceAssignmentCollection getAssignments()
Gets a collection of resource assignments for this object.
- Returns:
- a collection of resource assignments for this object.
-
getAvailabilityPeriods
public final AvailabilityPeriodCollection getAvailabilityPeriods()
Gets a the instance of the
AvailabilityPeriodCollectionclass. The collection of periods during which a resource is available.- Returns:
- a the instance of the
AvailabilityPeriodCollectionclass.
-
getAvailableFrom
public final Date getAvailableFrom()
Gets a value of AvailableFrom.
- Returns:
- a value of AvailableFrom.
-
setAvailableFrom
public final void setAvailableFrom(Date value)
Sets a value of AvailableFrom.
- Parameters:
value- a value of AvailableFrom.
-
getAvailableTo
public final Date getAvailableTo()
Gets a value of AvailableTo.
- Returns:
- a value of AvailableTo.
-
setAvailableTo
public final void setAvailableTo(Date value)
Sets a value of AvailableTo.
- Parameters:
value- a value of AvailableTo.
-
getBCWP
public final double getBCWP()
Gets a value of BCWP.
- Returns:
- a value of BCWP.
-
setBCWP
public final void setBCWP(double value)
Sets a value of BCWP.
- Parameters:
value- a value of BCWP.
-
getBCWS
public final double getBCWS()
Gets a value of BCWS.
- Returns:
- a value of BCWS.
-
setBCWS
public final void setBCWS(double value)
Sets a value of BCWS.
- Parameters:
value- a value of BCWS.
-
getBaselines
public final BaselineCollection getBaselines()
Gets a BaselineCollection instance for this object. The baseline values for a resource.
- Returns:
- a BaselineCollection instance for this object.
-
getBookingType
public final int getBookingType()
Gets a value of BookingType.
- Returns:
- a value of BookingType.
-
setBookingType
public final void setBookingType(int value)
Sets a value of BookingType.
- Parameters:
value- a value of BookingType.
-
getBudgetCost
public final BigDecimal getBudgetCost()
Gets a value of BudgetCost.
- Returns:
- a value of BudgetCost.
-
setBudgetCost
public final void setBudgetCost(BigDecimal value)
Sets a value of BudgetCost.
- Parameters:
value- a value of BudgetCost.
-
getBudgetWork
public final Duration getBudgetWork()
Gets a value of BudgetWork.
- Returns:
- a value of BudgetWork.
-
setBudgetWork
public final void setBudgetWork(Duration value)
Sets a value of BudgetWork.
- Parameters:
value- a value of BudgetWork.
-
getCV
public final double getCV()
Gets a value of CV.
- Returns:
- a value of CV.
-
setCV
public final void setCV(double value)
Sets a value of CV.
- Parameters:
value- a value of CV.
-
getCalendar
public final Calendar getCalendar()
Gets a value of Calendar.
- Returns:
- a value of Calendar.
-
setCalendar
public final void setCalendar(Calendar value)
Sets a value of Calendar.
- Parameters:
value- a value of Calendar.
-
getCode
public final String getCode()
Gets a value of Code.
- Returns:
- a value of Code.
-
setCode
public final void setCode(String value)
Sets a value of Code.
- Parameters:
value- a value of Code.
-
getCost
public final BigDecimal getCost()
Gets a value of Cost.
- Returns:
- a value of Cost.
-
setCost
public final void setCost(BigDecimal value)
Sets a value of Cost.
- Parameters:
value- a value of Cost.
-
getCostCenter
public final String getCostCenter()
Gets a value of CostCenter.
- Returns:
- a value of CostCenter.
-
setCostCenter
public final void setCostCenter(String value)
Sets a value of CostCenter.
- Parameters:
value- a value of CostCenter.
-
getCostPerUse
public final BigDecimal getCostPerUse()
Gets a value of CostPerUse.
- Returns:
- a value of CostPerUse.
-
setCostPerUse
public final void setCostPerUse(BigDecimal value)
Sets a value of CostPerUse.
- Parameters:
value- a value of CostPerUse.
-
getCostVariance
public final double getCostVariance()
Gets a value of CostVariance.
- Returns:
- a value of CostVariance.
-
setCostVariance
public final void setCostVariance(double value)
Sets a value of CostVariance.
- Parameters:
value- a value of CostVariance.
-
getCreated
public final Date getCreated()
Gets a value of Created.
- Returns:
- a value of Created.
-
setCreated
public final void setCreated(Date value)
Sets a value of Created.
- Parameters:
value- a value of Created.
-
getEMailAddress
public final String getEMailAddress()
Gets a value of EMailAddress.
- Returns:
- a value of EMailAddress.
-
setEMailAddress
public final void setEMailAddress(String value)
Sets a value of EMailAddress.
- Parameters:
value- a value of EMailAddress.
-
getExtendedAttributes
public final ExtendedAttributeCollection getExtendedAttributes()
Gets the values of an extended attribute.
Two pieces of data are necessary - a pointer back to the extended attribute table which is specified either by the unique ID or the Field ID, and the value which is specified either with the value, or a pointer back to the value list.- Returns:
- the values of an extended attribute.
-
getFinish
public final Date getFinish()
Gets a value of Finish.
- Returns:
- a value of Finish.
-
setFinish
public final void setFinish(Date value)
Sets a value of Finish.
- Parameters:
value- a value of Finish.
-
getGroup
public final String getGroup()
Gets a value of Group.
- Returns:
- a value of Group.
-
setGroup
public final void setGroup(String value)
Sets a value of Group.
- Parameters:
value- a value of Group.
-
getGuid
public final String getGuid()
Gets a value of Guid.
- Returns:
- a value of Guid.
-
setGuid
public final void setGuid(String value)
Sets a value of Guid.
- Parameters:
value- a value of Guid.
-
getHyperlink
public final String getHyperlink()
Gets the title or explanatory text of a hyperlink associated with a resource.
- Returns:
- the title or explanatory text of a hyperlink associated with a resource.
-
setHyperlink
public final void setHyperlink(String value)
Sets the title or explanatory text of a hyperlink associated with a resource.
- Parameters:
value- the title or explanatory text of a hyperlink associated with a resource.
-
getHyperlinkAddress
public final String getHyperlinkAddress()
Gets the address for a hyperlink associated with a resource.
The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.- Returns:
- the address for a hyperlink associated with a resource.
-
setHyperlinkAddress
public final void setHyperlinkAddress(String value)
Sets the address for a hyperlink associated with a resource.
The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.- Parameters:
value- the address for a hyperlink associated with a resource.
-
getHyperlinkSubAddress
public final String getHyperlinkSubAddress()
Gets the specific location in a document in a hyperlink associated with a resource.
The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.- Returns:
- the specific location in a document in a hyperlink associated with a resource.
-
setHyperlinkSubAddress
public final void setHyperlinkSubAddress(String value)
Sets the specific location in a document in a hyperlink associated with a resource.
The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.- Parameters:
value- the specific location in a document in a hyperlink associated with a resource.
-
getId
public final int getId()
Gets a value of Id.
- Returns:
- a value of Id.
-
setId
public final void setId(int value)
Sets a value of Id.
- Parameters:
value- a value of Id.
-
getInactive
public final NullableBool getInactive()
Gets a value indicating whether Inactive is set or not.
- Returns:
- a value indicating whether Inactive is set or not.
-
setInactive
public final void setInactive(NullableBool value)
Sets a value indicating whether Inactive is set or not.
- Parameters:
value- a value indicating whether Inactive is set or not.
-
getInitials
public final String getInitials()
Gets a value of Initials.
- Returns:
- a value of Initials.
-
setInitials
public final void setInitials(String value)
Sets a value of Initials.
- Parameters:
value- a value of Initials.
-
getItems
public final Iterable<com.aspose.tasks.IExtendedAttributeParent> getItems()
Gets child resources.- Returns:
- child resources.
-
getMaterialLabel
public final String getMaterialLabel()
Gets a value of MaterialLabel.
- Returns:
- a value of MaterialLabel.
-
setMaterialLabel
public final void setMaterialLabel(String value)
Sets a value of MaterialLabel.
- Parameters:
value- a value of MaterialLabel.
-
getMaxUnits
public final double getMaxUnits()
Gets a value of MaxUnits.
- Returns:
- a value of MaxUnits.
-
setMaxUnits
public final void setMaxUnits(double value)
Sets a value of MaxUnits.
- Parameters:
value- a value of MaxUnits.
-
getName
public final String getName()
Gets a value of Name.
- Returns:
- a value of Name.
-
setName
public final void setName(String value)
Sets a value of Name.
- Parameters:
value- a value of Name.
-
getNotesRTF
public final String getNotesRTF()
Gets a value of NotesRTF.
- Returns:
- a value of NotesRTF.
-
setNotesRTF
public final void setNotesRTF(String value)
Sets a value of NotesRTF.
- Parameters:
value- a value of NotesRTF.
-
getNotesText
public final String getNotesText()
Gets a value of NotesText.
- Returns:
- a value of NotesText.
-
setNotesText
public final void setNotesText(String value)
Sets a value of NotesText.
- Parameters:
value- a value of NotesText.
-
getOutlineCode
public final OutlineCodeCollection getOutlineCode()
Gets an OutlineCodeCollection object. The value of an outline code.
Two pieces of data are necessary - a pointer to the outline code table that is specified by the FieldID, and the value that is specified either by the ValueID or ValueGUID pointer to the value list.- Returns:
- an OutlineCodeCollection object.
-
getOverallocated
public final NullableBool getOverallocated()
Gets a value indicating whether Overallocated is set or not.
- Returns:
- a value indicating whether Overallocated is set or not.
-
setOverallocated
public final void setOverallocated(NullableBool value)
Sets a value indicating whether Overallocated is set or not.
- Parameters:
value- a value indicating whether Overallocated is set or not.
-
getOvertimeCost
public final BigDecimal getOvertimeCost()
Gets a value of OvertimeCost.
- Returns:
- a value of OvertimeCost.
-
setOvertimeCost
public final void setOvertimeCost(BigDecimal value)
Sets a value of OvertimeCost.
- Parameters:
value- a value of OvertimeCost.
-
getOvertimeRate
public final BigDecimal getOvertimeRate()
Gets a value of OvertimeRate.
- Returns:
- a value of OvertimeRate.
-
setOvertimeRate
public final void setOvertimeRate(BigDecimal value)
Sets a value of OvertimeRate.
- Parameters:
value- a value of OvertimeRate.
-
getOvertimeRateFormat
public final int getOvertimeRateFormat()
Gets a value of OvertimeRateFormat.
- Returns:
- a value of OvertimeRateFormat.
-
setOvertimeRateFormat
public final void setOvertimeRateFormat(int value)
Sets a value of OvertimeRateFormat.
- Parameters:
value- a value of OvertimeRateFormat.
-
getOvertimeWork
public final Duration getOvertimeWork()
Gets a value of OvertimeWork.
- Returns:
- a value of OvertimeWork.
-
setOvertimeWork
public final void setOvertimeWork(Duration value)
Sets a value of OvertimeWork.
- Parameters:
value- a value of OvertimeWork.
-
getParentProject
public final Project getParentProject()
Gets parent project for this container.
- Returns:
- parent project for this container.
-
getPeakUnits
public final double getPeakUnits()
Gets a value of PeakUnits.
- Returns:
- a value of PeakUnits.
-
setPeakUnits
public final void setPeakUnits(double value)
Sets a value of PeakUnits.
- Parameters:
value- a value of PeakUnits.
-
getPercentWorkComplete
public final int getPercentWorkComplete()
Gets a value of PercentWorkComplete.
- Returns:
- a value of PercentWorkComplete.
-
setPercentWorkComplete
public final void setPercentWorkComplete(int value)
Sets a value of PercentWorkComplete.
- Parameters:
value- a value of PercentWorkComplete.
-
getPhonetics
public final String getPhonetics()
Gets a value of Phonetics.
- Returns:
- a value of Phonetics.
-
setPhonetics
public final void setPhonetics(String value)
Sets a value of Phonetics.
- Parameters:
value- a value of Phonetics.
-
getRates
public final RateCollection getRates()
Gets a the instance of the
RateCollectionclass for this object. The collection of periods and rates associated with each one.- Returns:
- a the instance of the
RateCollectionclass for this object.
-
getRegularWork
public final Duration getRegularWork()
Gets a value of RegularWork.
- Returns:
- a value of RegularWork.
-
setRegularWork
public final void setRegularWork(Duration value)
Sets a value of RegularWork.
- Parameters:
value- a value of RegularWork.
-
getRemainingCost
public final BigDecimal getRemainingCost()
Gets a value of RemainingCost.
- Returns:
- a value of RemainingCost.
-
setRemainingCost
public final void setRemainingCost(BigDecimal value)
Sets a value of RemainingCost.
- Parameters:
value- a value of RemainingCost.
-
getRemainingOvertimeCost
public final BigDecimal getRemainingOvertimeCost()
Gets a value of RemainingOvertimeCost.
- Returns:
- a value of RemainingOvertimeCost.
-
setRemainingOvertimeCost
public final void setRemainingOvertimeCost(BigDecimal value)
Sets a value of RemainingOvertimeCost.
- Parameters:
value- a value of RemainingOvertimeCost.
-
getRemainingOvertimeWork
public final Duration getRemainingOvertimeWork()
Gets a value of RemainingOvertimeWork.
- Returns:
- a value of RemainingOvertimeWork.
-
setRemainingOvertimeWork
public final void setRemainingOvertimeWork(Duration value)
Sets a value of RemainingOvertimeWork.
- Parameters:
value- a value of RemainingOvertimeWork.
-
getRemainingWork
public final Duration getRemainingWork()
Gets a value of RemainingWork.
- Returns:
- a value of RemainingWork.
-
setRemainingWork
public final void setRemainingWork(Duration value)
Sets a value of RemainingWork.
- Parameters:
value- a value of RemainingWork.
-
getSV
public final double getSV()
Gets a value of SV.
- Returns:
- a value of SV.
-
setSV
public final void setSV(double value)
Sets a value of SV.
- Parameters:
value- a value of SV.
-
getStandardRate
public final BigDecimal getStandardRate()
Gets a value of StandardRate.
- Returns:
- a value of StandardRate.
-
setStandardRate
public final void setStandardRate(BigDecimal value)
Sets a value of StandardRate.
- Parameters:
value- a value of StandardRate.
-
getStandardRateFormat
public final int getStandardRateFormat()
Gets a value of StandardRateFormat.
- Returns:
- a value of StandardRateFormat.
-
setStandardRateFormat
public final void setStandardRateFormat(int value)
Sets a value of StandardRateFormat.
- Parameters:
value- a value of StandardRateFormat.
-
getStart
public final Date getStart()
Gets a value of Start.
- Returns:
- a value of Start.
-
setStart
public final void setStart(Date value)
Sets a value of Start.
- Parameters:
value- a value of Start.
-
getTimephasedData
public final TimephasedDataCollection getTimephasedData()
Gets an instance of
TimephasedDataCollectionclass for this object.
Reading supported for XML format only.- Returns:
- an instance of
TimephasedDataCollectionclass for this object.
-
setTimephasedData
public final void setTimephasedData(TimephasedDataCollection value)
Sets an instance of
TimephasedDataCollectionclass for this object.
Reading supported for XML format only.- Parameters:
value- an instance ofTimephasedDataCollectionclass for this object.
-
getTimephasedData
public final TimephasedDataCollection getTimephasedData(Date start, Date end, byte timephasedType)
Returns an instance of the
TimephasedDataCollectionclass for this object with theTimephasedData(getTimephasedData()/setTimephasedData(TimephasedDataCollection)) values within given start and end dates of specifiedTimephasedDataType.- Parameters:
start- The start date for the time phased data.end- The end date for the time phased data.timephasedType- The type of time phased data (TimephasedDataType).- Returns:
- List of
TimephasedData(getTimephasedData()/setTimephasedData(TimephasedDataCollection)).
-
getTimephasedData
public final TimephasedDataCollection getTimephasedData(Date start, Date end)
Returns
TimephasedDataCollectionfor this object withTimephasedData(getTimephasedData()/setTimephasedData(TimephasedDataCollection)) values within given start and end dates.- Parameters:
start- The start date for the timephased data.end- The end date for the timephased data.- Returns:
- List of
TimephasedData.
-
getType
public final int getType()
Gets a value of Type.
- Returns:
- a value of Type.
-
setType
public final void setType(int value)
Sets a value of Type.
- Parameters:
value- a value of Type.
-
getUid
public final int getUid()
Gets a value of Uid.
- Returns:
- a value of Uid.
-
setUid
public final void setUid(int value)
Sets a value of Uid.
- Parameters:
value- a value of Uid.
-
getWindowsUserAccount
public final String getWindowsUserAccount()
Gets a value of WindowsUserAccount.
- Returns:
- a value of WindowsUserAccount.
-
setWindowsUserAccount
public final void setWindowsUserAccount(String value)
Sets a value of WindowsUserAccount.
- Parameters:
value- a value of WindowsUserAccount.
-
getWork
public final Duration getWork()
Gets a value of Work.
- Returns:
- a value of Work.
-
setWork
public final void setWork(Duration value)
Sets a value of Work.
- Parameters:
value- a value of Work.
-
getWorkVariance
public final double getWorkVariance()
Gets a value of WorkVariance.
- Returns:
- a value of WorkVariance.
-
setWorkVariance
public final void setWorkVariance(double value)
Sets a value of WorkVariance.
- Parameters:
value- a value of WorkVariance.
-
getWorkgroup
public final int getWorkgroup()
Gets a value of Workgroup.
- Returns:
- a value of Workgroup.
-
setWorkgroup
public final void setWorkgroup(int value)
Sets a value of Workgroup.
- Parameters:
value- a value of Workgroup.
-
hasChildren
public final boolean hasChildren()
- Returns:
-
hashCode
public int hashCode()
Returns a hash code value for the instance of the
Resourceclass.
-
isBudget
public final NullableBool isBudget()
Gets a value indicating whether IsBudget is set or not.
- Returns:
- a value indicating whether IsBudget is set or not.
-
isCostResource
public final NullableBool isCostResource()
Gets a value indicating whether IsCostResource is set or not.
- Returns:
- a value indicating whether IsCostResource is set or not.
-
isEnterprise
public final NullableBool isEnterprise()
Gets a value indicating whether IsEnterprise is set or not.
- Returns:
- a value indicating whether IsEnterprise is set or not.
-
isGeneric
public final NullableBool isGeneric()
Gets a value indicating whether IsGeneric is set or not.
- Returns:
- a value indicating whether IsGeneric is set or not.
-
isNull
public final NullableBool isNull()
Gets a value indicating whether IsNull is set or not.
- Returns:
- a value indicating whether IsNull is set or not.
-
isRoot
public boolean isRoot()
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:
- the flag indicating whether resource is a root resource.
-
isTeamAssignmentPool
public final boolean isTeamAssignmentPool()
Gets a value indicating whether IsTeamAssignmentPool is set or not.
- Returns:
- a value indicating whether IsTeamAssignmentPool is set or not.
-
setTeamAssignmentPool
public final void setTeamAssignmentPool(boolean value)
Sets a value indicating whether IsTeamAssignmentPool is set or not.
- Parameters:
value- a value indicating whether IsTeamAssignmentPool is set or not.
-
set
public <T> void set(Key<T,Byte> key, T val)
Maps the specified property to the specified value in this container.
- Parameters:
key- the specified property key.Rscfor getting the property key.val- the value.
-
set
public final void set(Key<Date,Byte> key, Date val)
Maps the specified property to the specified value in this container.
- Parameters:
key- the specified property key.Rscfor getting the property key.val- the value.
-
setBudget
public final void setBudget(NullableBool value)
Sets a value indicating whether IsBudget is set or not.
- Parameters:
value- a value indicating whether IsBudget is set or not.
-
setCanLevel
public final void setCanLevel(NullableBool value)
Sets a value indicating whether CanLevel is set or not.
- Parameters:
value- a value indicating whether CanLevel is set or not.
-
setCostResource
public final void setCostResource(NullableBool value)
Sets a value indicating whether IsCostResource is set or not.
- Parameters:
value- a value indicating whether IsCostResource is set or not.
-
setEnterprise
public final void setEnterprise(NullableBool value)
Sets a value indicating whether IsEnterprise is set or not.
- Parameters:
value- a value indicating whether IsEnterprise is set or not.
-
setGeneric
public final void setGeneric(NullableBool value)
Sets a value indicating whether IsGeneric is set or not.
- Parameters:
value- a value indicating whether IsGeneric is set or not.
-
setNull
public final void setNull(NullableBool value)
Sets a value indicating whether IsNull is set or not.
- Parameters:
value- a value indicating whether IsNull is set or not.
-
-