com.ibm.ccd.ui.dataobjects.workflow
Class CategoryInfo

java.lang.Object
  extended by com.ibm.ccd.ui.dataobjects.workflow.CategoryInfo

public class CategoryInfo
extends java.lang.Object

holds name and item count of a category


Field Summary
static java.lang.String UNASSIGNED
           
 
Constructor Summary
CategoryInfo(java.lang.String name, java.lang.String label, int count)
           
 
Method Summary
 java.lang.String getCategoryId()
          Returns category Id or last digit of category path
 java.lang.String getCategoryLabelPath()
           
 java.lang.String getCategoryPath()
           
 int getCount()
           
 java.lang.String getName()
           
 void incCount()
           
 void setCategoryLabelPath(java.lang.String categoryLabelPath)
           
 void setCategoryPath(java.lang.String categoryPath)
           
 void setCount(int count)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNASSIGNED

public static final java.lang.String UNASSIGNED
See Also:
Constant Field Values
Constructor Detail

CategoryInfo

public CategoryInfo(java.lang.String name,
                    java.lang.String label,
                    int count)
Method Detail

getCount

public int getCount()
Returns:
Returns the count.

setCount

public void setCount(int count)
Parameters:
count - The count to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

incCount

public void incCount()

getCategoryLabelPath

public java.lang.String getCategoryLabelPath()
Returns:
Returns the categoryLabelPath.

setCategoryLabelPath

public void setCategoryLabelPath(java.lang.String categoryLabelPath)
Parameters:
categoryLabelPath - The categoryLabelPath to set.

getCategoryPath

public java.lang.String getCategoryPath()
Returns:
Returns the categoryPath.

setCategoryPath

public void setCategoryPath(java.lang.String categoryPath)
Parameters:
categoryPath - The categoryPath to set.

getCategoryId

public java.lang.String getCategoryId()
Returns category Id or last digit of category path