Class Baseline
- java.lang.Object
-
- com.aspose.tasks.Baseline
-
- All Implemented Interfaces:
com.aspose.ms.System.IEquatable<Baseline>,Comparable<Baseline>
- Direct Known Subclasses:
AssignmentBaseline,TaskBaseline
public class Baseline extends Object implements Comparable<Baseline>, com.aspose.ms.System.IEquatable<Baseline>
Represents baseline values of a resource.
-
-
Constructor Summary
Constructors Constructor Description Baseline()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Baseline other)IComparable interface implementation.booleanequals(Baseline other)Returns a value indicating whether this instance is equal to a specified object.booleanequals(Object obj)Returns a value indicating whether this instance is equal to a specified object.intgetBaselineNumber()Gets the unique number of a baseline data record.doublegetBcwp()Gets the budgeted cost of a work performed by a resource for a project to-date.doublegetBcws()Gets the budget cost of a work scheduled for a resource.BigDecimalgetCost()Gets the projected cost of a resource when the baseline is saved.DurationgetWork()Gets the work assigned to a resource when the baseline is saved.inthashCode()Returns a hash code value for the baseline.static booleanop_Equality(Baseline a, Baseline b)Returns a value indicating whether this instance is equal to a specified object.static booleanop_GreaterThan(Baseline a, Baseline b)Returns a value indicating whether this instance is greater than a specified object.static booleanop_GreaterThanOrEqual(Baseline a, Baseline b)Returns a value indicating whether this instance is greater than or equal to a specified object.static booleanop_Inequality(Baseline a, Baseline b)Returns a value indicating whether this instance is not equal to a specified object.static booleanop_LessThan(Baseline a, Baseline b)Returns a value indicating whether this instance is less than a specified object.static booleanop_LessThanOrEqual(Baseline a, Baseline b)Returns a value indicating whether this instance is less than or equal to a specified object.voidsetBaselineNumber(int value)Sets the unique number of a baseline data record.voidsetBcwp(double value)Sets the budgeted cost of a work performed by a resource for a project to-date.voidsetBcws(double value)Sets the budget cost of a work scheduled for a resource.voidsetCost(BigDecimal value)Sets the projected cost of a resource when the baseline is saved.voidsetWork(Duration value)Sets the work assigned to a resource when the baseline is saved.
-
-
-
Method Detail
-
compareTo
public final int compareTo(Baseline other)
IComparable interface implementation. Compares this instance to the specified Baseline object.
- Specified by:
compareToin interfaceComparable<Baseline>- 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(Baseline other)
Returns a value indicating whether this instance is equal to a specified object.
- Parameters:
other- the specified object to compare with this instance.- Returns:
- returns true if this instance is equal to the specified object; otherwise, false.
-
equals
public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.
-
getBaselineNumber
public final int getBaselineNumber()
Gets the unique number of a baseline data record.
- Returns:
- the unique number of a baseline data record.
-
setBaselineNumber
public final void setBaselineNumber(int value)
Sets the unique number of a baseline data record.
- Parameters:
value- the unique number of a baseline data record.
-
getBcwp
public final double getBcwp()
Gets the budgeted cost of a work performed by a resource for a project to-date.
- Returns:
- the budgeted cost of a work performed by a resource for a project to-date.
-
setBcwp
public final void setBcwp(double value)
Sets the budgeted cost of a work performed by a resource for a project to-date.
- Parameters:
value- the budgeted cost of a work performed by a resource for a project to-date.
-
getBcws
public final double getBcws()
Gets the budget cost of a work scheduled for a resource.
- Returns:
- the budget cost of a work scheduled for a resource.
-
setBcws
public final void setBcws(double value)
Sets the budget cost of a work scheduled for a resource.
- Parameters:
value- the budget cost of a work scheduled for a resource.
-
getCost
public final BigDecimal getCost()
Gets the projected cost of a resource when the baseline is saved.
- Returns:
- the projected cost of a resource when the baseline is saved.
-
setCost
public final void setCost(BigDecimal value)
Sets the projected cost of a resource when the baseline is saved.
- Parameters:
value- the projected cost of a resource when the baseline is saved.
-
getWork
public final Duration getWork()
Gets the work assigned to a resource when the baseline is saved.
Value: The amount of assigned work to a resource when the baseline was saved.- Returns:
- the work assigned to a resource when the baseline is saved.
-
setWork
public final void setWork(Duration value)
Sets the work assigned to a resource when the baseline is saved.
Value: The amount of assigned work to a resource when the baseline was saved.- Parameters:
value- the work assigned to a resource when the baseline is saved.
-
hashCode
public int hashCode()
Returns a hash code value for the baseline.
-
op_Equality
public static boolean op_Equality(Baseline a, Baseline b)
Returns a value indicating whether this instance is equal to a specified object.
- Parameters:
a- The first baseline.b- The second baseline.- Returns:
- a value indicating whether this instance is equal to a specified object
-
op_GreaterThan
public static boolean op_GreaterThan(Baseline a, Baseline b)
Returns a value indicating whether this instance is greater than a specified object.
- Parameters:
a- The first baseline.b- The second baseline.- Returns:
- a value indicating whether this instance is greater than a specified object
-
op_GreaterThanOrEqual
public static boolean op_GreaterThanOrEqual(Baseline a, Baseline b)
Returns a value indicating whether this instance is greater than or equal to a specified object.
- Parameters:
a- The first baseline.b- The second baseline.- Returns:
- a value indicating whether this instance is greater than or equal to a specified object
-
op_Inequality
public static boolean op_Inequality(Baseline a, Baseline b)
Returns a value indicating whether this instance is not equal to a specified object.
- Parameters:
a- The first baseline.b- The second baseline.- Returns:
- a value indicating whether this instance is not equal to a specified object
-
op_LessThan
public static boolean op_LessThan(Baseline a, Baseline b)
Returns a value indicating whether this instance is less than a specified object.
- Parameters:
a- The first baseline.b- The second baseline.- Returns:
- a value indicating whether this instance is less than a specified object
-
op_LessThanOrEqual
public static boolean op_LessThanOrEqual(Baseline a, Baseline b)
Returns a value indicating whether this instance is less than or equal to a specified object.
- Parameters:
a- The first baseline.b- The second baseline.- Returns:
- a value indicating whether this instance is less than or equal to a specified object
-
-