Class Resource
- java.lang.Object
-
- com.aspose.tasks.Resource
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NullableBool
canLevel()
Gets a value indicating whether CanLevel is set or not.void
delete()
Deletes a resource and its assignments from project.boolean
equals(Resource other)
Returns a value indicating whether this instance is equal to a specified instance of theResource
class.boolean
equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.<T> T
get(Key<T,Integer> key)
Returns the value to which the property is mapped in this container.int
getAccrueAt()
Gets a value of AccrueAt.String
getActiveDirectoryGuid()
Gets a value of ActiveDirectoryGuid.BigDecimal
getActualCost()
Gets a value of ActualCost.BigDecimal
getActualOvertimeCost()
Gets a value of ActualOvertimeCost.Duration
getActualOvertimeWork()
Gets a value of ActualOvertimeWork.Duration
getActualOvertimeWorkProtected()
Gets a value of ActualOvertimeWorkProtected.Duration
getActualWork()
Gets a value of ActualWork.Duration
getActualWorkProtected()
Gets a value of ActualWorkProtected.double
getACWP()
Gets a value of ACWP.String
getAssignmentOwner()
Gets a value of AssignmentOwner.String
getAssignmentOwnerGuid()
Gets a value of AssignmentOwnerGuid.ResourceAssignmentCollection
getAssignments()
Gets a collection of resource assignments for this object.AvailabilityPeriodCollection
getAvailabilityPeriods()
Gets a the instance of theAvailabilityPeriodCollection
class.Date
getAvailableFrom()
Gets a value of AvailableFrom.Date
getAvailableTo()
Gets a value of AvailableTo.BaselineCollection
getBaselines()
Gets a BaselineCollection instance for this object.double
getBCWP()
Gets a value of BCWP.double
getBCWS()
Gets a value of BCWS.int
getBookingType()
Gets a value of BookingType.BigDecimal
getBudgetCost()
Gets a value of BudgetCost.Duration
getBudgetWork()
Gets a value of BudgetWork.Calendar
getCalendar()
Gets a value of Calendar.String
getCode()
Gets a value of Code.BigDecimal
getCost()
Gets a value of Cost.String
getCostCenter()
Gets a value of CostCenter.BigDecimal
getCostPerUse()
Gets a value of CostPerUse.double
getCostVariance()
Gets a value of CostVariance.Date
getCreated()
Gets a value of Created.double
getCV()
Gets a value of CV.String
getEMailAddress()
Gets a value of EMailAddress.ExtendedAttributeCollection
getExtendedAttributes()
Gets the values of an extended attribute.Date
getFinish()
Gets a value of Finish.String
getGroup()
Gets a value of Group.String
getGuid()
Gets a value of Guid.String
getHyperlink()
Gets a value of Hyperlink.String
getHyperlinkAddress()
Gets a value of HyperlinkAddress.String
getHyperlinkSubAddress()
Gets a value of HyperlinkSubAddress.int
getId()
Gets a value of Id.NullableBool
getInactive()
Gets a value indicating whether Inactive is set or not.String
getInitials()
Gets a value of Initials.com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.tasks.IExtendedAttributeParent>
getItems()
Gets child resources.String
getMaterialLabel()
Gets a value of MaterialLabel.double
getMaxUnits()
Gets a value of MaxUnits.String
getName()
Gets a value of Name.String
getNotes()
Gets a value of Notes.String
getNotesRTF()
Gets a value of NotesRTF.String
getNotesText()
Gets a value of NotesText.OutlineCodeCollection
getOutlineCode()
Gets an OutlineCodeCollection object.NullableBool
getOverallocated()
Gets a value indicating whether Overallocated is set or not.BigDecimal
getOvertimeCost()
Gets a value of OvertimeCost.BigDecimal
getOvertimeRate()
Gets a value of OvertimeRate.int
getOvertimeRateFormat()
Gets a value of OvertimeRateFormat.Duration
getOvertimeWork()
Gets a value of OvertimeWork.Project
getParentProject()
Gets parent project for this container.double
getPeakUnits()
Gets a value of PeakUnits.int
getPercentWorkComplete()
Gets a value of PercentWorkComplete.String
getPhonetics()
Gets a value of Phonetics.RateCollection
getRates()
Gets a the instance of theRateCollection
class for this object.Duration
getRegularWork()
Gets a value of RegularWork.BigDecimal
getRemainingCost()
Gets a value of RemainingCost.BigDecimal
getRemainingOvertimeCost()
Gets a value of RemainingOvertimeCost.Duration
getRemainingOvertimeWork()
Gets a value of RemainingOvertimeWork.Duration
getRemainingWork()
Gets a value of RemainingWork.BigDecimal
getStandardRate()
Gets a value of StandardRate.int
getStandardRateFormat()
Gets a value of StandardRateFormat.Date
getStart()
Gets a value of Start.double
getSV()
Gets a value of SV.TimephasedDataCollection
getTimephasedData()
Gets an instance ofTimephasedDataCollection
class for this object.TimephasedDataCollection
getTimephasedData(Date start, Date end)
ReturnsTimephasedDataCollection
for this object withTimephasedData
(getTimephasedData()
/setTimephasedData(TimephasedDataCollection)
)values within given start and end dates.TimephasedDataCollection
getTimephasedData(Date start, Date end, int timephasedType)
Returns an instance of theTimephasedDataCollection
class for this object with theTimephasedData
(getTimephasedData()
/setTimephasedData(TimephasedDataCollection)
) values within given start and end dates of specifiedTimephasedDataType
.int
getType()
Gets a value of Type.int
getUid()
Gets a value of Uid.String
getWindowsUserAccount()
Gets a value of WindowsUserAccount.Duration
getWork()
Gets a value of Work.int
getWorkgroup()
Gets a value of Workgroup.double
getWorkVariance()
Gets a value of WorkVariance.boolean
hasChildren()
int
hashCode()
Returns a hash code value for the instance of theResource
class.NullableBool
isBudget()
Gets a value indicating whether IsBudget is set or not.NullableBool
isCostResource()
Gets a value indicating whether IsCostResource is set or not.NullableBool
isEnterprise()
Gets a value indicating whether IsEnterprise is set or not.NullableBool
isGeneric()
Gets a value indicating whether IsGeneric is set or not.NullableBool
isNull()
Gets a value indicating whether IsNull is set or not.boolean
isRoot()
Gets the flag indicating whether resource is a root resource.boolean
isTeamAssignmentPool()
Gets a value indicating whether IsTeamAssignmentPool is set or not.void
set(Key<Date,Integer> key, Date val)
Maps the specified property to the specified value in this container.<T> void
set(Key<T,Integer> key, T val)
Maps the specified property to the specified value in this container.void
setAccrueAt(int value)
Sets a value of AccrueAt.void
setActiveDirectoryGuid(String value)
Sets a value of ActiveDirectoryGuid.void
setActualCost(BigDecimal value)
Sets a value of ActualCost.void
setActualOvertimeCost(BigDecimal value)
Sets a value of ActualOvertimeCost.void
setActualOvertimeWork(Duration value)
Sets a value of ActualOvertimeWork.void
setActualOvertimeWorkProtected(Duration value)
Sets a value of ActualOvertimeWorkProtected.void
setActualWork(Duration value)
Sets a value of ActualWork.void
setActualWorkProtected(Duration value)
Sets a value of ActualWorkProtected.void
setACWP(double value)
Sets a value of ACWP.void
setAssignmentOwner(String value)
Sets a value of AssignmentOwner.void
setAssignmentOwnerGuid(String value)
Sets a value of AssignmentOwnerGuid.void
setAvailableFrom(Date value)
Sets a value of AvailableFrom.void
setAvailableTo(Date value)
Sets a value of AvailableTo.void
setBCWP(double value)
Sets a value of BCWP.void
setBCWS(double value)
Sets a value of BCWS.void
setBookingType(int value)
Sets a value of BookingType.void
setBudget(NullableBool value)
Sets a value indicating whether IsBudget is set or not.void
setBudgetCost(BigDecimal value)
Sets a value of BudgetCost.void
setBudgetWork(Duration value)
Sets a value of BudgetWork.void
setCalendar(Calendar value)
Sets a value of Calendar.void
setCanLevel(NullableBool value)
Sets a value indicating whether CanLevel is set or not.void
setCode(String value)
Sets a value of Code.void
setCost(BigDecimal value)
Sets a value of Cost.void
setCostCenter(String value)
Sets a value of CostCenter.void
setCostPerUse(BigDecimal value)
Sets a value of CostPerUse.void
setCostResource(NullableBool value)
Sets a value indicating whether IsCostResource is set or not.void
setCostVariance(double value)
Sets a value of CostVariance.void
setCreated(Date value)
Sets a value of Created.void
setCV(double value)
Sets a value of CV.void
setEMailAddress(String value)
Sets a value of EMailAddress.void
setEnterprise(NullableBool value)
Sets a value indicating whether IsEnterprise is set or not.void
setFinish(Date value)
Sets a value of Finish.void
setGeneric(NullableBool value)
Sets a value indicating whether IsGeneric is set or not.void
setGroup(String value)
Sets a value of Group.void
setGuid(String value)
Sets a value of Guid.void
setHyperlink(String value)
Sets a value of Hyperlink.void
setHyperlinkAddress(String value)
Sets a value of HyperlinkAddress.void
setHyperlinkSubAddress(String value)
Sets a value of HyperlinkSubAddress.void
setId(int value)
Sets a value of Id.void
setInactive(NullableBool value)
Sets a value indicating whether Inactive is set or not.void
setInitials(String value)
Sets a value of Initials.void
setMaterialLabel(String value)
Sets a value of MaterialLabel.void
setMaxUnits(double value)
Sets a value of MaxUnits.void
setName(String value)
Sets a value of Name.void
setNotes(String value)
Sets a value of Notes.void
setNotesRTF(String value)
Sets a value of NotesRTF.void
setNotesText(String value)
Sets a value of NotesText.void
setNull(NullableBool value)
Sets a value indicating whether IsNull is set or not.void
setOverallocated(NullableBool value)
Sets a value indicating whether Overallocated is set or not.void
setOvertimeCost(BigDecimal value)
Sets a value of OvertimeCost.void
setOvertimeRate(BigDecimal value)
Sets a value of OvertimeRate.void
setOvertimeRateFormat(int value)
Sets a value of OvertimeRateFormat.void
setOvertimeWork(Duration value)
Sets a value of OvertimeWork.void
setPeakUnits(double value)
Sets a value of PeakUnits.void
setPercentWorkComplete(int value)
Sets a value of PercentWorkComplete.void
setPhonetics(String value)
Sets a value of Phonetics.void
setRegularWork(Duration value)
Sets a value of RegularWork.void
setRemainingCost(BigDecimal value)
Sets a value of RemainingCost.void
setRemainingOvertimeCost(BigDecimal value)
Sets a value of RemainingOvertimeCost.void
setRemainingOvertimeWork(Duration value)
Sets a value of RemainingOvertimeWork.void
setRemainingWork(Duration value)
Sets a value of RemainingWork.void
setStandardRate(BigDecimal value)
Sets a value of StandardRate.void
setStandardRateFormat(int value)
Sets a value of StandardRateFormat.void
setStart(Date value)
Sets a value of Start.void
setSV(double value)
Sets a value of SV.void
setTeamAssignmentPool(boolean value)
Sets a value indicating whether IsTeamAssignmentPool is set or not.void
setTimephasedData(TimephasedDataCollection value)
Sets an instance ofTimephasedDataCollection
class for this object.void
setType(int value)
Sets a value of Type.void
setUid(int value)
Sets a value of Uid.void
setWindowsUserAccount(String value)
Sets a value of WindowsUserAccount.void
setWork(Duration value)
Sets a value of Work.void
setWorkgroup(int value)
Sets a value of Workgroup.void
setWorkVariance(double value)
Sets a value of WorkVariance.String
toString()
Returns short string representation of the instance of theResource
class.
-
-
-
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.
-
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.
-
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
Resource
class.
-
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,Integer> key)
Returns the value to which the property is mapped in this container.
- Parameters:
key
- the specified property key.Rsc
for 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
AvailabilityPeriodCollection
class. The collection of periods during which a resource is available.- Returns:
- a the instance of the
AvailabilityPeriodCollection
class.
-
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 a value of Hyperlink.
- Returns:
- a value of Hyperlink.
-
setHyperlink
public final void setHyperlink(String value)
Sets a value of Hyperlink.
- Parameters:
value
- a value of Hyperlink.
-
getHyperlinkAddress
public final String getHyperlinkAddress()
Gets a value of HyperlinkAddress.
- Returns:
- a value of HyperlinkAddress.
-
setHyperlinkAddress
public final void setHyperlinkAddress(String value)
Sets a value of HyperlinkAddress.
- Parameters:
value
- a value of HyperlinkAddress.
-
getHyperlinkSubAddress
public final String getHyperlinkSubAddress()
Gets a value of HyperlinkSubAddress.
- Returns:
- a value of HyperlinkSubAddress.
-
setHyperlinkSubAddress
public final void setHyperlinkSubAddress(String value)
Sets a value of HyperlinkSubAddress.
- Parameters:
value
- a value of HyperlinkSubAddress.
-
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 com.aspose.ms.System.Collections.Generic.IGenericEnumerable<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.
-
getNotes
public final String getNotes()
Gets a value of Notes.
- Returns:
- a value of Notes.
-
setNotes
public final void setNotes(String value)
Sets a value of Notes.
- Parameters:
value
- a value of Notes.
-
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
RateCollection
class for this object. The collection of periods and rates associated with each one.- Returns:
- a the instance of the
RateCollection
class 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
TimephasedDataCollection
class for this object.
Reading supported for XML format only.- Returns:
- an instance of
TimephasedDataCollection
class for this object.
-
setTimephasedData
public final void setTimephasedData(TimephasedDataCollection value)
Sets an instance of
TimephasedDataCollection
class for this object.
Reading supported for XML format only.- Parameters:
value
- an instance ofTimephasedDataCollection
class for this object.
-
getTimephasedData
public final TimephasedDataCollection getTimephasedData(Date start, Date end, int timephasedType)
Returns an instance of the
TimephasedDataCollection
class 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
TimephasedDataCollection
for 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
Resource
class.
-
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,Integer> key, T val)
Maps the specified property to the specified value in this container.
- Parameters:
key
- the specified property key.Rsc
for getting the property key.val
- the value.
-
set
public final void set(Key<Date,Integer> key, Date val)
Maps the specified property to the specified value in this container.
- Parameters:
key
- the specified property key.Rsc
for 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.
-
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.
-
-