Baseline

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Comparable, com.aspose.ms.System.IEquatable

public class Baseline implements Comparable<Baseline>, System.IEquatable<Baseline>

Represents baseline values of a resource.

Constructors

ConstructorDescription
Baseline()

Methods

MethodDescription
compareTo(Baseline other)IComparable interface implementation.
equals(Baseline other)Returns a value indicating whether this instance is equal to a specified object.
equals(Object obj)Returns a value indicating whether this instance is equal to a specified object.
getBaselineNumber()Gets the unique number of a baseline data record.
getBcwp()Gets the budgeted cost of a work performed by a resource for a project to-date.
getBcws()Gets the budget cost of a work scheduled for a resource.
getCost()Gets the projected cost of a resource when the baseline is saved.
getWork()Gets the work assigned to a resource when the baseline is saved.
hashCode()Returns a hash code value for the baseline.
op_Equality(Baseline a, Baseline b)Returns a value indicating whether this instance is equal to a specified object.
op_GreaterThan(Baseline a, Baseline b)Returns a value indicating whether this instance is greater than a specified object.
op_GreaterThanOrEqual(Baseline a, Baseline b)Returns a value indicating whether this instance is greater than or equal to a specified object.
op_Inequality(Baseline a, Baseline b)Returns a value indicating whether this instance is not equal to a specified object.
op_LessThan(Baseline a, Baseline b)Returns a value indicating whether this instance is less than a specified object.
op_LessThanOrEqual(Baseline a, Baseline b)Returns a value indicating whether this instance is less than or equal to a specified object.
setBaselineNumber(int value)Sets the unique number of a baseline data record.
setBcwp(double value)Sets the budgeted cost of a work performed by a resource for a project to-date.
setBcws(double value)Sets the budget cost of a work scheduled for a resource.
setCost(BigDecimal value)Sets the projected cost of a resource when the baseline is saved.
setWork(Duration value)Sets the work assigned to a resource when the baseline is saved.

Baseline()

public Baseline()

compareTo(Baseline other)

public final int compareTo(Baseline other)

IComparable interface implementation. Compares this instance to the specified Baseline object.

Parameters:

ParameterTypeDescription
otherBaselinethe specified Baseline object to compare this instance to.

Returns: int - 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(Baseline other)

public final boolean equals(Baseline other)

Returns a value indicating whether this instance is equal to a specified object.

Parameters:

ParameterTypeDescription
otherBaselinethe specified object to compare with this instance.

Returns: boolean - returns true if this instance is equal to the specified object; otherwise, false.

equals(Object obj)

public boolean equals(Object obj)

Returns a value indicating whether this instance is equal to a specified object.

Parameters:

ParameterTypeDescription
objjava.lang.Objectthe specified object to compare with this instance.

Returns: boolean - returns true if this instance is equal to the specified object; otherwise, false.

getBaselineNumber()

public final int getBaselineNumber()

Gets the unique number of a baseline data record.

Returns: int - 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: double - 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: double - 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: java.math.BigDecimal - 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: Duration - the work assigned to a resource when the baseline is saved.

hashCode()

public int hashCode()

Returns a hash code value for the baseline.

Returns: int - returns a hash code value for this object.

op_Equality(Baseline a, Baseline b)

public static boolean op_Equality(Baseline a, Baseline b)

Returns a value indicating whether this instance is equal to a specified object.

Parameters:

ParameterTypeDescription
aBaselineThe first baseline.
bBaselineThe second baseline.

Returns: boolean - a value indicating whether this instance is equal to a specified object

op_GreaterThan(Baseline a, Baseline b)

public static boolean op_GreaterThan(Baseline a, Baseline b)

Returns a value indicating whether this instance is greater than a specified object.

Parameters:

ParameterTypeDescription
aBaselineThe first baseline.
bBaselineThe second baseline.

Returns: boolean - a value indicating whether this instance is greater than a specified object

op_GreaterThanOrEqual(Baseline a, Baseline b)

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:

ParameterTypeDescription
aBaselineThe first baseline.
bBaselineThe second baseline.

Returns: boolean - a value indicating whether this instance is greater than or equal to a specified object

op_Inequality(Baseline a, Baseline b)

public static boolean op_Inequality(Baseline a, Baseline b)

Returns a value indicating whether this instance is not equal to a specified object.

Parameters:

ParameterTypeDescription
aBaselineThe first baseline.
bBaselineThe second baseline.

Returns: boolean - a value indicating whether this instance is not equal to a specified object

op_LessThan(Baseline a, Baseline b)

public static boolean op_LessThan(Baseline a, Baseline b)

Returns a value indicating whether this instance is less than a specified object.

Parameters:

ParameterTypeDescription
aBaselineThe first baseline.
bBaselineThe second baseline.

Returns: boolean - a value indicating whether this instance is less than a specified object

op_LessThanOrEqual(Baseline a, Baseline b)

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:

ParameterTypeDescription
aBaselineThe first baseline.
bBaselineThe second baseline.

Returns: boolean - a value indicating whether this instance is less than or equal to a specified object

setBaselineNumber(int value)

public final void setBaselineNumber(int value)

Sets the unique number of a baseline data record.

Parameters:

ParameterTypeDescription
valueintthe unique number of a baseline data record.

setBcwp(double value)

public final void setBcwp(double value)

Sets the budgeted cost of a work performed by a resource for a project to-date.

Parameters:

ParameterTypeDescription
valuedoublethe budgeted cost of a work performed by a resource for a project to-date.

setBcws(double value)

public final void setBcws(double value)

Sets the budget cost of a work scheduled for a resource.

Parameters:

ParameterTypeDescription
valuedoublethe budget cost of a work scheduled for a resource.

setCost(BigDecimal value)

public final void setCost(BigDecimal value)

Sets the projected cost of a resource when the baseline is saved.

Parameters:

ParameterTypeDescription
valuejava.math.BigDecimalthe projected cost of a resource when the baseline is saved.

setWork(Duration value)

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:

ParameterTypeDescription
valueDurationthe work assigned to a resource when the baseline is saved.