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
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
item | AssignmentBaseline | The item to add. |
Returns: boolean - {@inheritDoc}
clear()
public final void clear()
contains(Object item)
public final boolean contains(Object item)
Parameters:
Parameter | Type | Description |
---|---|---|
item | java.lang.Object |
Returns: boolean
copyTo(AssignmentBaseline[] array, int arrayIndex)
public final void copyTo(AssignmentBaseline[] array, int arrayIndex)
Parameters:
Parameter | Type | Description |
---|---|---|
array | AssignmentBaseline[] | {@inheritDoc} |
arrayIndex | int | {@inheritDoc} |
get(int index)
public AssignmentBaseline get(int index)
(@inheritDoc}
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | {@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:
Parameter | Type | Description |
---|---|---|
index | int | {@inheritDoc} |
Returns: AssignmentBaseline - {@inheritDoc}
remove(Object item)
public boolean remove(Object item)
Removes baseline from this collection.
Parameters:
Parameter | Type | Description |
---|---|---|
item | java.lang.Object | The 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.