Class TaskBaseline
- java.lang.Object
-
- com.aspose.tasks.Baseline
-
- com.aspose.tasks.TaskBaseline
-
- All Implemented Interfaces:
com.aspose.ms.System.IEquatable<Baseline>,Comparable<Baseline>
public class TaskBaseline extends Baseline implements Comparable<Baseline>
Represents Baseline of a Task.
-
-
Constructor Summary
Constructors Constructor Description TaskBaseline(Task task)Initializes a new instance of theTaskBaselineclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(TaskBaseline other)IComparable interface implementation.booleanequals(TaskBaseline other)Returns a value indicating whether this instance is equal to the specified TaskBaseline object.booleanequals(Object obj)Returns a value indicating whether this instance is equal to a specified object.DurationgetDuration()Gets the scheduled duration of the task when the baseline was saved.booleangetEstimatedDuration()Gets a value indicating whether the baseline duration of the task was estimated.DategetFinish()Gets the scheduled finish date of the task when the baseline was saved.doublegetFixedCost()Gets a fixed cost of the task when the baseline was saved.booleangetInterim()Gets a value indicating whether this is an Interim Baseline.DategetStart()Gets the scheduled start date of the task when the baseline was saved.TimephasedDataCollectiongetTimephasedData()Gets a TimephasedDataCollection instance for this object.inthashCode()Returns a hash code value for the instance of theTaskBaselineclass.voidsetDuration(Duration value)Sets the scheduled duration of the task when the baseline was saved.voidsetEstimatedDuration(boolean value)Sets a value indicating whether the baseline duration of the task was estimated.voidsetFinish(Date value)Sets the scheduled finish date of the task when the baseline was saved.voidsetFixedCost(double value)Sets a fixed cost of the task when the baseline was saved.voidsetInterim(boolean value)Sets a value indicating whether this is an Interim Baseline.voidsetStart(Date value)Sets the scheduled start date of the task when the baseline was saved.voidsetTimephasedData(TimephasedDataCollection value)Sets a TimephasedDataCollection instance for this object.-
Methods inherited from class com.aspose.tasks.Baseline
compareTo, equals, getBaselineNumber, getBcwp, getBcws, getCost, getWork, op_Equality, op_GreaterThan, op_GreaterThanOrEqual, op_Inequality, op_LessThan, op_LessThanOrEqual, setBaselineNumber, setBcwp, setBcws, setCost, setWork
-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Constructor Detail
-
TaskBaseline
public TaskBaseline(Task task)
Initializes a new instance of the
TaskBaselineclass.- Parameters:
task- Baseline's parent task.
-
-
Method Detail
-
compareTo
public final int compareTo(TaskBaseline other)
IComparable interface implementation. Compares this instance to the specified Baseline object.
- Parameters:
other- the specified Baseline object to compare this instance to.- Returns:
- returns -1 if this instance is less than the specified object, 1 if this instance is greater than the specified object; otherwise returns 0
-
equals
public final boolean equals(TaskBaseline other)
Returns a value indicating whether this instance is equal to the specified TaskBaseline object.
- Parameters:
other- the specified AssignmentBaseline object to compare with this instance.- Returns:
- returns true if this instance is equal to the specified TaskBaseline object; otherwise, false.
-
equals
public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.
-
getDuration
public final Duration getDuration()
Gets the scheduled duration of the task when the baseline was saved.
- Returns:
- the scheduled duration of the task when the baseline was saved.
-
setDuration
public final void setDuration(Duration value)
Sets the scheduled duration of the task when the baseline was saved.
- Parameters:
value- the scheduled duration of the task when the baseline was saved.
-
getEstimatedDuration
public final boolean getEstimatedDuration()
Gets a value indicating whether the baseline duration of the task was estimated.
- Returns:
- a value indicating whether the baseline duration of the task was estimated.
-
setEstimatedDuration
public final void setEstimatedDuration(boolean value)
Sets a value indicating whether the baseline duration of the task was estimated.
- Parameters:
value- a value indicating whether the baseline duration of the task was estimated.
-
getFinish
public final Date getFinish()
Gets the scheduled finish date of the task when the baseline was saved.
- Returns:
- the scheduled finish date of the task when the baseline was saved.
-
setFinish
public final void setFinish(Date value)
Sets the scheduled finish date of the task when the baseline was saved.
- Parameters:
value- the scheduled finish date of the task when the baseline was saved.
-
getFixedCost
public final double getFixedCost()
Gets a fixed cost of the task when the baseline was saved.
- Returns:
- a fixed cost of the task when the baseline was saved.
-
setFixedCost
public final void setFixedCost(double value)
Sets a fixed cost of the task when the baseline was saved.
- Parameters:
value- a fixed cost of the task when the baseline was saved.
-
getInterim
public final boolean getInterim()
Gets a value indicating whether this is an Interim Baseline.
- Returns:
- a value indicating whether this is an Interim Baseline.
-
setInterim
public final void setInterim(boolean value)
Sets a value indicating whether this is an Interim Baseline.
- Parameters:
value- a value indicating whether this is an Interim Baseline.
-
getStart
public final Date getStart()
Gets the scheduled start date of the task when the baseline was saved.
- Returns:
- the scheduled start date of the task when the baseline was saved.
-
setStart
public final void setStart(Date value)
Sets the scheduled start date of the task when the baseline was saved.
- Parameters:
value- the scheduled start date of the task when the baseline was saved.
-
getTimephasedData
public final TimephasedDataCollection getTimephasedData()
Gets a TimephasedDataCollection instance for this object. The time phased data associated with the task baseline.
- Returns:
- a TimephasedDataCollection instance for this object.
-
setTimephasedData
public final void setTimephasedData(TimephasedDataCollection value)
Sets a TimephasedDataCollection instance for this object. The time phased data associated with the task baseline.
- Parameters:
value- a TimephasedDataCollection instance for this object.
-
hashCode
public int hashCode()
Returns a hash code value for the instance of the
TaskBaselineclass.
-
-