com.microsoft.tfs.core.clients.workitem.category
Interface CategoryCollection

All Superinterfaces:
java.lang.Iterable<Category>

public interface CategoryCollection
extends java.lang.Iterable<Category>

A collection of Categorys.

Since:
TEE-SDK-10.1

Method Summary
 boolean contains(java.lang.String categoryReferenceName)
          Checks whether this collection contains a Category that has the specified name.
 Category get(int index)
          Gets the Category object at the specified index in this collection.
 Category get(java.lang.String categoryReferenceName)
          Gets the Category in this collection with the specified reference name.
 java.util.Iterator<Category> iterator()
           
 int size()
           
 

Method Detail

iterator

java.util.Iterator<Category> iterator()
Specified by:
iterator in interface java.lang.Iterable<Category>
Returns:
an iterator for this collection

size

int size()
Returns:
the number of Categorys in the collection.

get

Category get(int index)
Gets the Category object at the specified index in this collection.

Parameters:
index - The index of the desired Category
Returns:
The Category at the specified index in this collection.

get

Category get(java.lang.String categoryReferenceName)
Gets the Category in this collection with the specified reference name.

Parameters:
categoryReferenceName - The reference name of the Category to get.
Returns:
The Category that has the specified name.

contains

boolean contains(java.lang.String categoryReferenceName)
Checks whether this collection contains a Category that has the specified name.

Parameters:
categoryReferenceName - The reference name of the Category of interest.
Returns:
True if a Category that has the reference specified name exists in this collection; otherwise, false.


© 2015 Microsoft. All rights reserved.