AssignmentBaselineCollection

Inheritance: java.lang.Object, java.util.AbstractCollection, java.util.AbstractList, com.aspose.tasks.AbstractList

public class AssignmentBaselineCollection extends AbstractList<AssignmentBaseline>

Represents a collection of AssignmentBaseline objects.

Methods

MethodDescription
add(AssignmentBaseline item)This is the stub implementation of ICollection’s Add method, that only throws NotSupportedException
clear(){@inheritDoc}
contains(Object item)
copyTo(AssignmentBaseline[] array, int arrayIndex){@inheritDoc}
get(int index)(@inheritDoc}
getParentAssignment()Gets the parent ResourceAssignment for this collection.
remove(int index)Removes the element at the specified position in this list.
remove(Object item)Removes baseline from this collection.
size()Gets the number of objects contained in this AssignmentBaselineCollection object.
toList()Converts the AssignmentBaselineCollection object to a list of AssignmentBaseline objects.

add(AssignmentBaseline item)

public final boolean add(AssignmentBaseline item)

This is the stub implementation of ICollection’s Add method, that only throws NotSupportedException

Parameters:

ParameterTypeDescription
itemAssignmentBaselineThe item to add.

Returns: boolean - {@inheritDoc}

clear()

public final void clear()

contains(Object item)

public final boolean contains(Object item)

Parameters:

ParameterTypeDescription
itemjava.lang.Object

Returns: boolean

copyTo(AssignmentBaseline[] array, int arrayIndex)

public final void copyTo(AssignmentBaseline[] array, int arrayIndex)

Parameters:

ParameterTypeDescription
arrayAssignmentBaseline[]{@inheritDoc}
arrayIndexint{@inheritDoc}

get(int index)

public AssignmentBaseline get(int index)

(@inheritDoc}

Parameters:

ParameterTypeDescription
indexint{@inheritDoc}

Returns: AssignmentBaseline - {@inheritDoc}

getParentAssignment()

public final ResourceAssignment getParentAssignment()

Gets the parent ResourceAssignment for this collection.

Returns: ResourceAssignment - the parent ResourceAssignment for this collection.

remove(int index)

public AssignmentBaseline remove(int index)

Removes the element at the specified position in this list.

Parameters:

ParameterTypeDescription
indexint{@inheritDoc}

Returns: AssignmentBaseline - {@inheritDoc}

remove(Object item)

public boolean remove(Object item)

Removes baseline from this collection.

Parameters:

ParameterTypeDescription
itemjava.lang.ObjectThe item to remove.

Returns: boolean - true if AssignmentBaseline instance has been removed successfully; otherwise, false

size()

public final int size()

Gets the number of objects contained in this AssignmentBaselineCollection object.

Returns: int - the number of objects contained in this AssignmentBaselineCollection object.

toList()

public final List<AssignmentBaseline> toList()

Converts the AssignmentBaselineCollection object to a list of AssignmentBaseline objects.

Returns: java.util.List<com.aspose.tasks.AssignmentBaseline> - List of AssignmentBaseline objects.