org.troublescope.knowledgebase
Class  Category
java.lang.Object
  |
  +--org.troublescope.knowledgebase.Category
- public class Category
- extends java.lang.Object
  
A category of questions in the knowledge base.
- Author: 
 - Calvin Yu
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Category
public Category()
getQuestion
public Question getQuestion(int index)
- Returns a question.
 
addQuestion
public void addQuestion(Question question)
- Add a question.
 
getQuestionCount
public int getQuestionCount()
- Returns the number of questions under this category.
 
getSubCategory
public Category getSubCategory(int index)
- Returns a sub-category.
 
addSubCategory
public void addSubCategory(Category category)
- Add a sub-category.
 
getSubCategoryCount
public int getSubCategoryCount()
- Returns the number of sub-categories.
 
Copyright © 2002-2002 TroubleScope. All Rights Reserved.